Skip to content

configure does not find (n)curses in /usr/local/libs #68689

Closed

Description

@petepdx
mannequin
BPO 24501
Nosy @kadler, @iritkatriel
Files
  • config.log
  • configure.out: stdout of ./configure ....
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-06-20.14:07:59.037>
    created_at = <Date 2015-06-24.16:19:02.700>
    labels = ['build']
    title = 'configure does not find (n)curses in /usr/local/libs'
    updated_at = <Date 2021-06-20.14:07:59.036>
    user = 'https://bugs.python.org/petepdx'

    bugs.python.org fields:

    activity = <Date 2021-06-20.14:07:59.036>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-20.14:07:59.037>
    closer = 'iritkatriel'
    components = ['Build']
    creation = <Date 2015-06-24.16:19:02.700>
    creator = 'petepdx'
    dependencies = []
    files = ['39802', '39804']
    hgrepos = []
    issue_num = 24501
    keywords = []
    message_count = 4.0
    messages = ['245763', '245768', '380948', '396170']
    nosy_count = 3.0
    nosy_names = ['petepdx', 'kadler', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue24501'
    versions = ['Python 2.7']

    Activity

    1. added
      buildThe build process and cross-build
      on Jun 24, 2015
    2. petepdx commented on Jun 24, 2015

      petepdxmannequin
      MannequinAuthor

      ./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

    3. petepdx commented on Jun 24, 2015

      petepdxmannequin
      MannequinAuthor

      added stdout of ./configure

    4. kadler commented on Nov 14, 2020

      kadlermannequin
      Mannequin

      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?

    5. iritkatriel commented on Jun 20, 2021

      @iritkatriel
      Member

      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.

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      buildThe build process and cross-build

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions