Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curses library not found during make #37361

Closed
jstreb mannequin opened this issue Oct 24, 2002 · 5 comments
Closed

curses library not found during make #37361

jstreb mannequin opened this issue Oct 24, 2002 · 5 comments

Comments

@jstreb
Copy link
Mannequin

jstreb mannequin commented Oct 24, 2002

BPO 627864
Nosy @loewis
Files
  • python_install_short: installation log
  • inst_log: installation log
  • inst_log: installation log
  • 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 2002-11-09.07:33:04.000>
    created_at = <Date 2002-10-24.01:16:33.000>
    labels = ['expert-installation']
    title = 'curses library not found during make'
    updated_at = <Date 2002-11-09.07:33:04.000>
    user = 'https://bugs.python.org/jstreb'

    bugs.python.org fields:

    activity = <Date 2002-11-09.07:33:04.000>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Installation']
    creation = <Date 2002-10-24.01:16:33.000>
    creator = 'jstreb'
    dependencies = []
    files = ['647', '648', '649']
    hgrepos = []
    issue_num = 627864
    keywords = []
    message_count = 5.0
    messages = ['12921', '12922', '12923', '12924', '12925']
    nosy_count = 2.0
    nosy_names = ['loewis', 'jstreb']
    pr_nums = []
    priority = 'normal'
    resolution = 'works for me'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue627864'
    versions = ['Python 2.2']

    @jstreb
    Copy link
    Mannequin Author

    jstreb mannequin commented Oct 24, 2002

    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

    @jstreb jstreb mannequin closed this as completed Oct 24, 2002
    @jstreb jstreb mannequin added the topic-installation label Oct 24, 2002
    @jstreb jstreb mannequin closed this as completed Oct 24, 2002
    @jstreb jstreb mannequin added the topic-installation label Oct 24, 2002
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Oct 24, 2002

    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.

    @jstreb
    Copy link
    Mannequin Author

    jstreb mannequin commented Nov 8, 2002

    Logged In: YES
    user_id=634883

    Found curses library and installed ncurses and readline.
    Had problems specifying libraries during link editing process.

    1 similar comment
    @jstreb
    Copy link
    Mannequin Author

    jstreb mannequin commented Nov 8, 2002

    Logged In: YES
    user_id=634883

    Found curses library and installed ncurses and readline.
    Had problems specifying libraries during link editing process.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Nov 9, 2002

    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.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants