Request 242 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/242
Ticket: [OpenPKG #242]
Subject: python-2.2.3-1.3.0 and ncurses-5.3.20030726-1.3.0
Requestors: [EMAIL PROTECTED]
Queue: openpkg
Owner: Nobody
Status: open
Transaction: Correspondence added by [EMAIL PROTECTED]
Time: Fri Aug 29 13:10:23 2003
________________________________________________________________________
> NOTE: the new rpm bombs out here... the python executable is
> build, so I tried it anyway:
>
> --
> $ ./python
> Python 2.3 (#1, Aug 29 2003, 11:19:16)
> [GCC 3.3.1] on osf1V5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import curses;
> Segmentation fault
Building with -DDEBUG gives:
$ ./python
Python 2.3 (#2, Aug 29 2003, 12:30:22)
[GCC 3.3.1] on osf1V5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses;
Assertion failed: str != NULL, file Objects/stringobject.c, line 110
Python seems to crash when using the Tru64 curses library. It works fine
with the OpenPKG ncurses library though. Might be related to the fact that
configure doesn't find a useable ncurses.h, but for some reason the link is
done with '-L/cw/lib -lncurses' ?!
Anyway I tried building with the ncurses library included and then it
doesn't segfault.
Adding the following to the %build makes it find the ncurses header:
CPPFLAGS="-D_REENTRANT -I%{l_prefix}/include
-I%{l_prefix}/include/ncurses"
(The -D_REENTRANT is needed on Tru64 for the pthread.h header check). You
need to use CPPFLAGS as the configure script uses cpp to check for the
header.
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Bug Database Interface www.openpkg.org/bugdb
Bug Database List [EMAIL PROTECTED]