[ python-Bugs-1332732 ] Incorrect use of -L/usr/lib/termcap

SourceForge.net noreply at sourceforge.net
Thu Oct 20 06:43:18 CEST 2005


Bugs item #1332732, was opened at 2005-10-19 17:26
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1332732&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.4
Status: Open
Resolution: None
>Priority: 3
Submitted By: Robert M. Zigweid (rzigweid)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect use of -L/usr/lib/termcap

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-19 21:43

Message:
Logged In: YES 
user_id=33168

Lowering priority since this is just a warning.  It looks
like it still was built ok.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1332732&group_id=5470


More information about the Python-bugs-list mailing list