Bugs item #1642054, was opened at 2007-01-22 19:27 Message generated for change (Comment added) made by roysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1642054&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Roy Smith (roysmith) Assigned to: Nobody/Anonymous (nobody) Summary: Python 2.5 gets curses.h warning on HPUX Initial Comment: I downloaded http://www.python.org/ftp/python/2.5/Python-2.5.tgz and tried to build it on "HP-UX glade B.11.11 U 9000/800 unknown". When I ran "./configure", I got warnings that "curses.h: present but cannot be compiled". See attached log file. ---------------------------------------------------------------------- >Comment By: Roy Smith (roysmith) Date: 2007-01-24 16:54 Message: Logged In: YES user_id=390499 Originator: YES OK, looking a bit deeper, the actual error in config.log is: configure:4739: result: no configure:4774: checking for conio.h configure:4781: result: no configure:4658: checking curses.h usability configure:4670: gcc -c -g -O2 conftest.c >&5 In file included from conftest.c:54: /opt/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2.3/include/curses.h:755: syntax error before "va_list" /opt/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2.3/include/curses.h:756: syntax error before "va_list" /opt/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2.3/include/curses.h:757: syntax error before "va_list" /opt/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2.3/include/curses.h:758: syntax error before "va_list" Adding "#include <varargs.h>" appears to solve the problem. I'm pretty weak (major understatement) on building configure scripts, but if you create a new one with varargs.h, I'll be happy to test it on my box for you. ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2007-01-24 15:20 Message: Logged In: YES user_id=11375 Originator: NO You'll have to help us some more. This is apparently happening because HP-UX's curses.h file needs some other header file to be included first; not having an HP-UX machine, I have no way to figure out which other header file is needed. Could you please try to figure out which file is necessary? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1642054&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com