Issue 1332732: Incorrect use of -L/usr/lib/termcap (original) (raw)

Issue1332732

Created on 2005-10-20 00:26 by rzigweid, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg26633 - (view) Author: Robert M. Zigweid (rzigweid) Date: 2005-10-20 00:26
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
msg26634 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2005-10-20 04:43
Logged In: YES user_id=33168 Lowering priority since this is just a warning. It looks like it still was built ok.
msg83880 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-03-20 22:59
I'll close this unless someone confirms the warning is still present in supported versions.
History
Date User Action Args
2022-04-11 14:56:13 admin set github: 42502
2009-03-30 01:51:03 ajaksu2 set status: pending -> closedresolution: not a bug
2009-03-20 22:59:08 ajaksu2 set status: open -> pendingnosy: + ajaksu2messages: +
2005-10-20 00:26:10 rzigweid create