[Python-bugs-list] [ python-Bugs-627864 ] curses library not found during make

noreply@sourceforge.net noreply@sourceforge.net
Fri, 08 Nov 2002 15:35:37 -0800


Bugs item #627864, was opened at 2002-10-23 18:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=627864&group_id=5470

Category: Installation
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Javier  Streb (jstreb)
Assigned to: Nobody/Anonymous (nobody)
Summary: curses library not found during make

Initial Comment:
Hi,

I'm compiling Python v. 2.2.2 on an RS/6000 running AIX
v 4.3.3.75 using gnu.gcc version 2.95.3.0 as the compiler.

In the configuration phase I had to specify
"./configure --with-gcc"  because it was telling me the
"C compiler cannot create executables".   gcc is the
only compiler on the machine.

During the "make"  after a quite a lot of  processing I
get:
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I/wwwlogs/python/Python-2.2.2/./Include
-I/usr/local/include
-I/wwwlogs/python/Python-2.2.2/Include
-I/wwwlogs/python/Python-2.2.2 -c
/wwwlogs/python/Python-2.2.2/Modules/_cursesmodule.c -o
build/temp.aix-4.3-2.2/_cursesmodule.o
./Modules/ld_so_aix gcc -bI:Modules/python.exp
build/temp.aix-4.3-2.2/_cursesmodule.o -L/usr/local/lib
-lcurses -ltermcap -o build/lib.aix-4.3-2.2/_curses.so
collect2: Library libtermcap not found
WARNING: removing "_curses" since importing it failed
error: build/lib.aix-4.3-2.2/_curses.so: No such file
or directory
make: 1254-004 The error code from the last command is 1.

I have /usr/include/curses.h in the system and will
attempt to recompile using that library.

Any pointers will be much appreciated



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

>Comment By: Javier  Streb (jstreb)
Date: 2002-11-08 15:35

Message:
Logged In: YES 
user_id=634883

Found curses library and installed ncurses and readline.
Had problems specifying libraries during link editing process.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-10-24 12:52

Message:
Logged In: YES 
user_id=21627

On the "C compiler not found": Can you please attach the
config.log of a run that aborts with that message (and/or
read it yourself and draw conclusions).

On curses: It does not find libtermcap. The header file
alone is insufficient; you need the library as well.

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

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