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: configure does not find (n)curses in /usr/local/libs
Type: compile error Stage: resolved
Components: Build Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: iritkatriel, kadler, petepdx
Priority: normal Keywords:

Created on 2015-06-24 16:19 by petepdx, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
config.log petepdx, 2015-06-24 16:54
configure.out petepdx, 2015-06-24 19:10 stdout of ./configure .... | tee configure.out
Messages (4)
msg245763 - (view) Author: Pete Lancashire (petepdx) Date: 2015-06-24 16:54
./configure does not find ncurses in /usr/local/lib, an older version of (one I don't want to use) copy exists in /usr/lib

checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no

AIX O/S Version
7100-03-05-1524

IBM AIX C 
lslpp -h vac.C
  Fileset         Level     Action       Status       Date         Time
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  vac.C          12.1.0.0   COMMIT       COMPLETE     06/18/15     14:35:28

Path: /etc/objrepos
  vac.C          12.1.0.0   COMMIT       COMPLETE     06/18/15     14:35:33

lslpp -h xlC.rte
  Fileset         Level     Action       Status       Date         Time
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  xlC.rte        12.1.0.1   COMMIT       COMPLETE     06/18/15     10:56:34
                 12.1.0.3   COMMIT       COMPLETE     06/18/15     14:26:15


Environment Variables
OBJECT_MODE 64
PATH        /usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/buildsw/bin:/usr/bin/X11:/sbin:.:/usr/vac/bin:/usr/vacpp/bin
CC          xlc_r
CFLAGS      -qmaxmem=-1 -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/usr/local/include
LDFLAGS     -L/usr/local/lib64 -L/usr/local/lib -bmaxdata:0x80000000 -brtl
LIBS
CPPFLAGS
CXX         xlc++_r
CXXFLAGS    -qmaxmem=-1 -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/usr/local/include
CPP
CXXCPP
LDPATH      /usr/local/lib

ncurses version 5.9

ls /usr/local/lib/*curses*
/usr/local/lib/libncurses++.a  /usr/local/lib/libncurses.a    /usr/local/lib/libncurses_g.a


./configure --with-tcltk-includes='-I/usr/include' --with-tcltk-libs='-L/usr/lib' | tee configure.out
msg245768 - (view) Author: Pete Lancashire (petepdx) Date: 2015-06-24 19:10
added stdout of ./configure
msg380948 - (view) Author: Kevin (kadler) * Date: 2020-11-14 00:55
There error indicates it can't find ncurses.h

configure:14223: xlc_r -c -qmaxmem=-1 -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/usr/local/include  -I/usr/include/ncursesw conftest.c >&5
"conftest.c", line 311.10: 1506-296 (S) #include file <ncurses.h> not found.

Are you sure you don't need -I/usr/include/ncurses instead of -I/usr/include?
msg396170 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-06-20 14:07
Closing as this was reported for 2.7 and there has been no followup since. If you are still seeing this problem with a current version (>= 3.9), please create a new issue.
History
Date User Action Args
2022-04-11 14:58:18adminsetgithub: 68689
2021-06-20 14:07:59iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg396170

resolution: out of date
stage: resolved
2020-11-14 00:55:57kadlersetnosy: + kadler
messages: + msg380948
2015-06-24 19:10:26petepdxsetfiles: + configure.out

messages: + msg245768
2015-06-24 16:55:04petepdxsetfiles: + config.log

messages: + msg245763
2015-06-24 16:19:02petepdxcreate