[Pythonmac-SIG] building 4-way framework build with readline?
David Warde-Farley
dwf at cs.toronto.edu
Wed May 20 23:30:43 CEST 2009
I've had success building the 4-way framework build using Ron's
instructions, but I can't seem to get it building with readline linked
in.
I built a static readline 6.0 so that libreadline.a and libhistory.a
are both 4-architecture fat binaries, and configured python with
./configure --with-framework-name=Python64 --with-universal-archs=all
--enable-framework --enable-universalsdk=/ --with-libs='-lexpat -
lreadline -lncurses' --with-readline=$HOME/readline
MACOSX_DEPLOYMENT_TARGET=10.5 LD_LIBRARY_PATH=/Users/dwf/readline/lib
but alas it still doesn't seem to build with readline. Any hints on
how to get this working?
The relevant info seems to be
checking how to link readline libs... -lreadline
checking for rl_callback_handler_install in -lreadline... yes
rm: conftest.dSYM: is a directory
checking for rl_pre_input_hook in -lreadline... yes
checking for rl_completion_display_matches_hook in -lreadline... yes
checking for rl_completion_matches in -lreadline... no
rm: conftest.dSYM: is a directory
checking for broken nice()... no
and during make:
Failed to find the necessary bits to build these modules:
_bsddb dl gdbm
imageop linuxaudiodev ossaudiodev
readline spwd sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for
the module's name.
Thanks,
David
More information about the Pythonmac-SIG
mailing list