[mod_python] mod_python and apache2 in Mac OS X 10.3.4

pascal barbedor pascalbarbedor at free.fr
Thu Jul 15 06:57:23 EDT 2004


why arch i386 if you are on mac os x ?
i386 is pentium

----- Original Message ----- 
From: "Dylan Kohler" <dylan at mobopro.com>
To: <mod_python at modpython.org>
Sent: Thursday, July 15, 2004 3:12 AM
Subject: [mod_python] mod_python and apache2 in Mac OS X 10.3.4


> 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
> make
> 
> 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  
> -I/System/Library/Frameworks/Python.framework/Versions/2.3/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?
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 


More information about the Mod_python mailing list