This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rzigweid
Recipients
Date 2005-10-20.00:26:10
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Setup: 
Trying to compile Python 2.4.2 with readline support on OS X 10.4.2.  
The readline that is supplied with Tiger rl_completion_matches() so I 
used the one from DarwinPorts 

LIBRARY_PATH was updated to /opt/local/lib (where readline lives for 
DarwinPorts by default.)

./configure readline checks:
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_pre_input_hook in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes


Output: 
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-
long-double -no-cpp-precomp -mno-fused-madd -I. -I/Users/rzigweid/
tmp/Python-2.4.2/./Include -I/Users/rzigweid/tmp/Python-2.4.2/./Mac/
Include -I/opt/local/include -I/Users/rzigweid/tmp/Python-2.4.2/Include -
I/Users/rzigweid/tmp/Python-2.4.2 -c /Users/rzigweid/tmp/Python-2.4.2/
Modules/readline.c -o build/temp.darwin-8.2.0-Power_Macintosh-2.4/
readline.o
In file included from /opt/local/include/readline/readline.h:37,
                 from /Users/rzigweid/tmp/Python-2.4.2/Modules/readline.c:
27:
/opt/local/include/readline/rltypedefs.h:35: warning: function declaration 
isn’t a prototype
/opt/local/include/readline/rltypedefs.h:36: warning: function declaration 
isn’t a prototype
/opt/local/include/readline/rltypedefs.h:37: warning: function declaration 
isn’t a prototype
/opt/local/include/readline/rltypedefs.h:38: warning: function declaration 
isn’t a prototype
In file included from /Users/rzigweid/tmp/Python-2.4.2/Modules/
readline.c:27:
/opt/local/include/readline/readline.h:375: warning: function declaration 
isn’t a prototype
gcc -bundle -undefined dynamic_lookup build/temp.darwin-8.2.0-
Power_Macintosh-2.4/readline.o -L/usr/lib/termcap -L/opt/local/lib -L/usr/
local/lib -lreadline -lncurses -o build/lib.darwin-8.2.0-
Power_Macintosh-2.4/readline.so
/usr/bin/ld: warning -L: directory name (/usr/lib/termcap) does not exist
History
Date User Action Args
2007-08-23 14:35:32adminlinkissue1332732 messages
2007-08-23 14:35:32admincreate