[Patches] [ python-Patches-584245 ] get python to link on OSF1 (Dec Unix)

noreply@sourceforge.net noreply@sourceforge.net
Tue, 23 Jul 2002 14:43:02 -0700


Patches item #584245, was opened at 2002-07-20 18:49
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=584245&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: get python to link on OSF1 (Dec Unix)

Initial Comment:
Attached is a patch to fix the linking of python
(makedev not found) on Dec OSF/1 Unix 5.1.  This patch
has also been tested on Linux (RedHat 7.2).

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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-07-23 23:43

Message:
Logged In: YES 
user_id=21627

That patch doesn't really test whether defining 
OSF_SOURCE helps in getting makedev, does it? In 
particular, if makedev is not available at all, or requires a 
different define, the test will still conclude that 
OSF_SOURCE should be defined, right?

I think the sequence should be:
- is makedev already available?
- if not, is it with OSF_SOURCE defined?
- if not, arrange to exclude makedev from posixmodule.c

Also, is it necessary to run the test program? autoconf is 
always worried that cross-compilation would fail, since you 
cannot run tests (although it is reasonable to link test 
programs in a cross-compilation environment).

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

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