This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: curses mvwgetnstr build problem on Solaris 8
Type: Stage:
Components: Build Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, eggert, loewis
Priority: normal Keywords:

Created on 2006-04-17 20:07 by eggert, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python.patch eggert, 2006-04-21 03:29 patch for Solaris 8 problem
Messages (4)
msg28264 - (view) Author: Paul Eggert (eggert) Date: 2006-04-17 20:07
The _curses extension doesn't build on Solaris 8
(64-bit) due to the following problem:

building '_curses' extension
cc -O -xarch=v9 -xcode=pic32 -DNDEBUG -O -I.
-I/w/fac.01/cs/eggert/seasnet/Python-2.5a1/./Include
-I/u/cs/fac/eggert/seasnet/prefix/include -I./Include
-I. -I/w/fac.01/cs/eggert/seasnet/Python-2.5a1/Include
-I/w/fac.01/cs/eggert/seasnet/Python-2.5a1 -c
/w/fac.01/cs/eggert/seasnet/Python-2.5a1/Modules/_cursesmodule.c
-o build/temp.solaris-2.8-sun4u-2.5/_cursesmodule.o
"/w/fac.01/cs/eggert/seasnet/Python-2.5a1/Modules/_cursesmodule.c",
line 822: warning: implicit function declaration:
mvwgetnstr
cc -O -xarch=v9 -G
build/temp.solaris-2.8-sun4u-2.5/_cursesmodule.o
-L/u/cs/fac/eggert/seasnet/prefix/lib -lcurses
-ltermcap -o build/lib.solaris-2.8-sun4u-2.5/_curses.so
*** WARNING: renaming "_curses" since importing it
failed: ld.so.1: python: fatal: relocation error: file
build/lib.solaris-2.8-sun4u-2.5/_curses.so: symbol
mvwgetnstr: referenced symbol not found
building '_curses_panel' extension

This problem occurs with both 2.4.3 and 2.5a1.

I'll attach the obvious patch.
msg28265 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-04-17 22:53
Logged In: YES 
user_id=21627

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )
msg28266 - (view) Author: Paul Eggert (eggert) Date: 2006-04-21 03:29
Logged In: YES 
user_id=17848

Sorry, I'm trying again to attach a file now.
msg28267 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2006-07-26 17:26
Logged In: YES 
user_id=11375

Thanks!  I've tried the patch on Linux, including the
STRICT_SYSV_CURSES code, and applied it to the 2.4 and 2.5
branches.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43232
2006-04-17 20:07:38eggertcreate