[mod_python] mod_python and apache2 in Mac OS X 10.3.4

pascal barbedor pascalbarbedor at free.fr
Thu Jul 15 08:53:37 EDT 2004


that should be an option to comment out in the makefile


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


> That's exactly what I'd like to know.  This is what happens when I 
> simply run make, as below.
> 
> Note that I can manually run the failing command without the i386 flag, 
> and it completes successfully.  But there are more targets to compile 
> and I do not see how to make this a full workaround.
> 
> 
> On Jul 14, 2004, at 8:57 PM, pascal barbedor wrote:
> 
> > 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
> >>
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> >
> 
> _______________________________________________
> 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