#18879: mod_wsgi-1.1_0 compiles against Python 2.4 but links against system Python 2.5 -------------------------------+-------------------------------------------- Reporter: francis@… | Owner: ys@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mod_wsgi -------------------------------+-------------------------------------------- Comment(by francis@…): I have python24 2.4.6_1 installed. I have tried rebuilding mod_wsgi to make sure it has been built against that version of python24, but it still links against the wrong python: {{{ spaceman ~ # port clean mod_wsgi ---> Cleaning mod_wsgi spaceman ~ # port location python24 Port python24 2.4.6_1+darwin_9+macosx is installed as an image in: /opt/local/var/macports/software/python24/2.4.6_1+darwin_9+macosx spaceman ~ # port install mod_wsgi ---> Fetching mod_wsgi ---> Verifying checksum(s) for mod_wsgi ---> Extracting mod_wsgi ---> Configuring mod_wsgi ---> Building mod_wsgi ---> Staging mod_wsgi into destroot Warning: mod_wsgi requests to install files outside the common directory structure! ---> Installing mod_wsgi @1.1_0 ######################################################## # To enable mod_wsgi add # LoadModule python_module modules/mod_wsgi.so # to your apache2 config file: # /opt/local/apache2/conf/httpd.conf ######################################################## ---> Activating mod_wsgi @1.1_0 ---> Cleaning mod_wsgi spaceman ~ # otool -L /opt/local/apache2/modules/mod_wsgi.so /opt/local/apache2/modules/mod_wsgi.so: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) /System/Library/Frameworks/Python.framework/Versions/2.5/Python (compatibility version 2.5.0, current version 2.5.1) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) spaceman ~ # }}} -- Ticket URL: <http://trac.macports.org/ticket/18879#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS