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.

classification
Title: curses library not found during make
Type: Stage:
Components: Installation Versions: Python 2.2
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: jstreb, loewis
Priority: normal Keywords:

Created on 2002-10-24 01:16 by jstreb, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python_install_short jstreb, 2002-10-24 01:16 installation log
inst_log jstreb, 2002-11-08 23:35 installation log
inst_log jstreb, 2002-11-08 23:35 installation log
Messages (5)
msg12921 - (view) Author: Javier Streb (jstreb) Date: 2002-10-24 01:16
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.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

msg12922 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-10-24 19:52
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.
msg12923 - (view) Author: Javier Streb (jstreb) Date: 2002-11-08 23:35
Logged In: YES 
user_id=634883

Found curses library and installed ncurses and readline.
Had problems specifying libraries during link editing process.
msg12924 - (view) Author: Javier Streb (jstreb) Date: 2002-11-08 23:35
Logged In: YES 
user_id=634883

Found curses library and installed ncurses and readline.
Had problems specifying libraries during link editing process.
msg12925 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-11-09 07:33
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.
History
Date User Action Args
2022-04-10 16:05:47adminsetgithub: 37361
2002-10-24 01:16:33jstrebcreate