[Distutils] mac osx support?
Pete Shinners
pete@shinners.org
Thu Sep 13 18:16:18 2001
i've been trying to walk one of my users through compiling
on max osx. it seems many things are wrong (or at least
unframiliar) on osx.
our first problem was needing a bunch of customish compile
flags like "-framework". but we've got that all worked out.
we've realized that distutils is adding no linking flags
for the python libraries. no -L for its location, and no
-l to actually link it. well that is strange, so we thought
we'd force some flags to the link command, but that brought
us to our next problem..
where are the shared libraries? we found something at
/usr/local/lib/python2.1/python.so, but that won't exactly
work with the compile, since "-lpython" looks for "libpython.so"
(or is that not the case?)
the user also found some files in /usr/local/lib/config
like another "python.so" and a " libpython2.1.a".
somethings funny. this osx user has compiled and installed
his own version of python. these were his configure options...
"--with-dyld --with-suffix=.x"
any sort of help on this would be much appreciated, we're
both entirely stumped. we have seen some problems like this
on some mailing lists, but the only solutions we've been able
to find are to link the extensions statically into python.
i don't think that's really an option for us. :[