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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 08 Nov 2002 23:33:04 -0800


Bugs item #627864, was opened at 2002-10-24 03: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: Closed
>Resolution: Works For Me
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: Martin v. L÷wis (loewis)
Date: 2002-11-09 08:33

Message:
Logged In: YES 
user_id=21627

For specifying additional libraries in places where setup.py
may not look, I recommend to edit Modules/Setup. This allows
you the precise specification of library paths, on a
per-module basis. You only need to configure the modules in
Setup that Python fails to configure correctly on its own.

It seems there are no issues left, so I close this report.

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

Comment By: Javier  Streb (jstreb)
Date: 2002-11-09 00: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: Javier  Streb (jstreb)
Date: 2002-11-09 00: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 21: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