[ python-Bugs-1578513 ] 2.4.4c1 will not build when cross compiling

SourceForge.net noreply at sourceforge.net
Tue Oct 17 16:38:48 CEST 2006


Bugs item #1578513, was opened at 2006-10-16 17:27
Message generated for change (Comment added) made by smithj_rpath
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1578513&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: Python 2.4
Status: Open
Resolution: None
Priority: 9
Submitted By: smithj (smithj_rpath)
Assigned to: Martin v. Löwis (loewis)
Summary: 2.4.4c1 will not build when cross compiling

Initial Comment:
When trying to build 2.4.4c1 with cross-compiling, I
get the following 
error.

checking for /dev/ptmx... configure: error: cannot
check for file 
existence when cross compiling

./config.log:configure:20566: checking for /dev/ptmx
./config.log:configure:20572: error: cannot check for
file existence 
when cross compiling

This does not occur with 2.4.3.

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

>Comment By: smithj (smithj_rpath)
Date: 2006-10-17 10:38

Message:
Logged In: YES 
user_id=1622486

Yes, that patch does fix the issue. Thank you.

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

Comment By: Anthony Baxter (anthonybaxter)
Date: 2006-10-17 09:21

Message:
Logged In: YES 
user_id=29957

Ok, this revision is definitely the problem - it switched
from using our own test to autoconf's AC_CHECK_FILE. This
breaks things. Yay. :-/

Looking closer - we used to use our own test -e check.
autoconf uses test -r. The attached patch reverses that fix,
and changes back to our own test, using test -r instead.

Can you please test this? Martin, can you check this out? I
had to hand-edit the patch, because autoconf on this box
spat out a vast number of extra pointless changes. 


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

Comment By: Anthony Baxter (anthonybaxter)
Date: 2006-10-17 08:50

Message:
Logged In: YES 
user_id=29957

Goody - autoconf debugging, my absolute favourite!

r50983 | martin.v.loewis | 2006-07-31 00:11:03 +1000 (Mon,
31 Jul 2006) | 3 lines

Drop usage of test -e in configure as it is not portable.
Fixes #1439538



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

Comment By: Skip Montanaro (montanaro)
Date: 2006-10-16 18:27

Message:
Logged In: YES 
user_id=44345

Boosting this and at least provisionally assigning to Anthony since it's related to 
a change between 2.4.3 and 2.4.4c1.


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

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


More information about the Python-bugs-list mailing list