Title: configure does not find (n)curses in /usr/local/libs
Type: compile error Stage: resolved
Components: Build Versions: Python 2.7
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 2021-06-20 14:07 by iritkatriel. This issue is now closed.

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

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

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

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

Environment Variables
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
CXX         xlc++_r
CXXFLAGS    -qmaxmem=-1 -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/usr/local/include
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.
Date User Action Args
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