[mod_python] 3.0.0 beta 4 - compile on Mac OS X

Laurence Tratt laurie at tratt.net
Tue Nov 12 23:56:52 EST 2002


On Tue, Nov 12, 2002 at 12:00:53PM -0500, Gregory (Grisha) Trubetskoy wrote:

> This may be a problem with Apache 2.0.43 which has a slightly screwed up
> distribution file which comes with an outdated libtool.
>
> I don't know if it will help or not, but try running ./buildconf in Apache
> source tree before running ./configure.

I haven't had a chance to interpret this yet but doing this gives me a
different error, which does at look least a little more likely to be
resolveable:

"""
/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_python.la
-I/usr/local/src/mod_python-3.0.0-BETA4/src/include
-I/usr/local/apache2/include -I/usr/local/include/python2.2  -rpath
/usr/local/apache2/modules -module -avoid-version  hlistobject.lo hlist.lo
filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo
requestobject.lo _apachemodule.lo mod_python.lo
-L/usr/ports/lang/python/2.2/w-python-2.2.1/Python-2.2.1 -lm
/usr/local/lib/python2.2/config/libpython2.2.a -pthread -lutil -lm
libtool: link: cannot build libtool library `mod_python.la' from non-libtool
objects: /usr/local/lib/python2.2/config/libpython2.2.a
apxs:Error: Command failed with rc=65536
"""

Now whether that's a MacOS X|OpenBSD thing that Python didn't use libtool
to build I don't currently know, but I'll try and look into it over the
next couple of days. If anyone has any clues, of course they'd be more than
welcome!

Best wishes,


Laurie



More information about the Mod_python mailing list