[mod_python] Mac OS X compile issue (selecting python2.5)

Patrick May patrick at mammalfish.com
Fri Jun 11 19:04:30 EDT 2010


I have a python web application which requires python2.5.  I am attempting
to compile mod_python on Snow Leopard against the OS apache and the OS
python2.5.  The steps I have taken are as follows:

1. checked out mod_python from svn

  $ svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunkmod_python-svn

2. configured mod_python to use the Snow Leopard Apache and the Snow Leopard

  $ cd mod_python-svn
  $ ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/python2.5

3. built mod_python

  $ make

The resulting mod_python.so is linked against the 2.6 framework:

  $ otool -L src/mod_python.so
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
(compatibility version 2.6.0, current version 2.6.1)

This is essentially broken for my purposes.  If I continue the process and
install, it becomes apparent that mod_python is indeed running the 2.6
interpreter and my application does not run.  I have seen some conversation
about this issue, but those conversations did not appear productive.

Is 2.5 simply not supported?  Is this a known bug on mac os x?  Are there
any suggestions for remedying the situation?



Patrick May
+1 (347) 232-5208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20100611/b5d7644a/attachment.html

More information about the Mod_python mailing list