[mod_python] mod_python and apache2 in Mac OS X 10.3.4

Dylan Kohler dylan at mobopro.com
Wed Jul 14 19:12:25 EDT 2004

I'm trying to compile mod_python 3.1.3 to work with the latest apache2  
in Mac OS X 10.3.4.  With this:

./configure --with-apxs=/opt/apache2/bin/apxs

It ends up failing here:

/opt/apache2/build/libtool --silent --mode=compile gcc -prefer-pic  
-arch i386 -arch ppc -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -DDARWIN  
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -I/opt/apache2/include   
-I/opt/apache2/include   -I/opt/apache2/include   
-I/Users/psgadmin/mod_python-3.1.3/src/include -I/opt/apache2/include  
python2.3  -c -o mod_python.lo mod_python.c && touch mod_python.slo
gcc: cannot read specs file for arch `i386'
apxs:Error: Command failed with rc=65536

 From what I saw in the README, it seems libtool had to be patched to  
work before, but the instructions are for 10.2.x.

Anybody have any luck with this in 10.3.4?

More information about the Mod_python mailing list