[Patches] [ python-Patches-772077 ] small fix for setup.py

SourceForge.net noreply at sourceforge.net
Fri Oct 24 14:26:59 EDT 2003


Patches item #772077, was opened at 2003-07-16 00:13
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=772077&group_id=5470

Category: Build
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Tim Rice (tim1470)
Assigned to: A.M. Kuchling (akuchling)
Summary: small fix for setup.py

Initial Comment:
On UnixWare platforms readline module doesn't build
because it needs
-lcurses. Here is a patch that corrects this. This
should also be applied
to the 2.2 tree.

here is the error.
*** WARNING: renaming "readline" since importing it
failed: dynamic linker: ./python: relocation error:
symbol not found: tputs; referenced from:
/usr/local/lib/libreadline.so.3


----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2003-10-24 14:26

Message:
Logged In: YES 
user_id=11375

Applied (finally :) ) as rev. 1.175 of setup.py; thanks!


----------------------------------------------------------------------

Comment By: Tim Rice (tim1470)
Date: 2003-10-24 14:21

Message:
Logged In: YES 
user_id=618097

Yes it works fine.

----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2003-10-24 08:11

Message:
Logged In: YES 
user_id=11375

So does the attached patch work?  It just checks for openunix8 or unixware7.


----------------------------------------------------------------------

Comment By: Tim Rice (tim1470)
Date: 2003-10-23 17:38

Message:
Logged In: YES 
user_id=618097

sys.platform returns unixware7  so I added ther first test.
The OpenUNIX product name has been dropped in favor of
UnixWare again.
So I don't expect any other openunixN

Now I can't remember why I added the first hunk instead of 
just 
the second hunk with s/unixware/unixware7/


----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2003-10-23 08:15

Message:
Logged In: YES 
user_id=11375

Question: why does the second test use 'unixware' and 'openunix8', while the 
first test uses only 'unixware'?

----------------------------------------------------------------------

Comment By: Tim Rice (tim1470)
Date: 2003-09-25 16:02

Message:
Logged In: YES 
user_id=618097

patch2 doesn't quite worlk but it's on the right track
I've attached setup.py.patch3 that does work.

----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2003-09-25 13:52

Message:
Logged In: YES 
user_id=11375

There's already an earlier bit of code that adds /usr/ccs/lib on OSF/1, so 
maybe it's better to just add Unixware to that test.  Does the new attached 
patch work for you?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=772077&group_id=5470



More information about the Patches mailing list