[MacPorts] #18878: mod_python 3.3.1_1 "Target org.macports.activate returned: Not a directory"
#18878: mod_python 3.3.1_1 "Target org.macports.activate returned: Not a directory" -------------------------------+-------------------------------------------- Reporter: francis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mod_python -------------------------------+-------------------------------------------- When I try to install mod_python I get the following error: {{{ ---> Fetching mod_python ---> Verifying checksum(s) for mod_python ---> Extracting mod_python ---> Applying patches to mod_python ---> Configuring mod_python ---> Building mod_python ---> Staging mod_python into destroot Warning: mod_python requests to install files outside the common directory structure! ---> Installing mod_python @3.3.1_1 ######################################################## # to enable mod_python add # LoadModule python_module modules/mod_python.so # to your apache2 config file: # /opt/local/apache2/conf/httpd.conf ######################################################## ---> Activating mod_python @3.3.1_1 Error: Target org.macports.activate returned: Not a directory Error: Status 1 encountered during processing. }}} After the error, some of the files (e.g. /opt/local/apache2/modules/mod_python.so) seem to have been created, but mod_python does not work - after adding "LoadModule python_module modules/mod_python.so" to http.conf and restarting apache2 I see the following error repeated in /opt/local/apache2/logs/error_log: {{{ Tue Mar 17 12:39:32 2009] [notice] child pid 2288 exit signal Bus error (10) [Tue Mar 17 12:39:32 2009] [notice] child pid 2287 exit signal Bus error (10) [Tue Mar 17 12:39:34 2009] [notice] child pid 2286 exit signal Bus error (10) [Tue Mar 17 12:39:34 2009] [notice] child pid 2285 exit signal Bus error (10) [Tue Mar 17 12:39:34 2009] [notice] child pid 2284 exit signal Bus error (10) [Tue Mar 17 12:39:34 2009] [notice] child pid 2283 exit signal Bus error (10) [Tue Mar 17 12:39:34 2009] [notice] child pid 2282 exit signal Bus error (10) }}} -- Ticket URL: <http://trac.macports.org/ticket/18878> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18878: mod_python 3.3.1_1 "Target org.macports.activate returned: Not a directory" -------------------------------+-------------------------------------------- Reporter: francis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mod_python -------------------------------+-------------------------------------------- Comment(by francis@…): Replying to [ticket:18878 francis@…]:
After the error, some of the files (e.g. /opt/local/apache2/modules/mod_python.so) seem to have been created, but mod_python does not work - after adding "LoadModule python_module modules/mod_python.so" to http.conf and restarting apache2 I see the following error repeated in /opt/local/apache2/logs/error_log:
I have just discovered that the apache crashes were being caused by mod_python.so being linked against the system Python 2.5 instead of the MacPorts python 2.4 because I hadn't done "sudo python_select python24" so the symlinks in /opt/local/Library/Frameworks/Python.framework weren't set up. However, doing python_select did not fix the original "Not a directory" error and I have also encountered the "Not a directory" error on another machine. -- Ticket URL: <http://trac.macports.org/ticket/18878#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18878: mod_python 3.3.1_1 "Target org.macports.activate returned: Not a directory" -------------------------------+-------------------------------------------- Reporter: francis@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mod_python -------------------------------+-------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => mww@… -- Ticket URL: <http://trac.macports.org/ticket/18878#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18878: mod_python 3.3.1_1 "Target org.macports.activate returned: Not a directory" --------------------------------+------------------------------------------- Reporter: francis@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: duplicate | Keywords: Port: mod_python | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #19049 -- Ticket URL: <http://trac.macports.org/ticket/18878#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts