Johnathan Gurley
johnathan.gurley at gmail.com
Thu Jul 15 08:07:02 EDT 2004
You might try to build it from source using Apple's source package. That will let you not use the right compiler flags. > On Jul 15, 2004, at 1:14 AM, Dylan Kohler wrote: > > > If it were only that simple. The makefile just runs apxs, which > > apparently kicks off these libtool commands -- no hint of i386 flags > > in any of mod_python. This apxs is part of the standard release of > > apache2 in /opt on Mac OS X Server. (I'd like to use this released > > apache2, since I got it working easily with php5 and alternatives were > > a pain to compile.) > > > > Has nobody compiled mod_python to work with the apache2 of the Mac OS > > X 10.3.4 release? > > > > > > On Jul 14, 2004, at 10:53 PM, pascal barbedor wrote: > > > >> 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 > >>> > >> _______________________________________________ > >> 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 > > >
|