bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: snapshot in preparation for 1.4.13


From: Eric Blake
Subject: Re: snapshot in preparation for 1.4.13
Date: Sat, 17 Jan 2009 06:09:24 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Elbert_Gmail on 12/25/2008 1:21 AM:
>>>> I try again with Os2 and the ./configure failed here:
>>>> checking whether an open file can be renamed... return: Illegal
>>>> number: -/
> 
> Thanks for the report.  However, we need more information; can you also
> attach the config.log?
> 
> I attach the config.log

[adding bug-autoconf, because of the shell bug shown here]

| configure:23375: checking whether an open file can be renamed
| configure:23397: gcc -std=gnu99 -o conftest.exe -D__EMX__ -DOS2
- -D__ST_MT_ERRNO__ -O3 -mtune=pentium3  -Zexe -Zomf -Zmap -Zargs-wild
- -Zbin-files -D__ST_MT_ERRNO__ -s conftest.c  >&5
| configure:23397: $? = 0
| configure:23397: ./conftest.exe
| configure:23397: $? = -/
| configure: program exited with status -/

Wow.  Your shell is buggy.  $? is never supposed to hold a non-numeric
value.  Your config.log shows that you loaded a config.site, where you
pre-define SHELL=sh and ac_cv_path__PATH_SH='/moztools/ash.exe, so maybe
it just means you have a broken ash installed?  Does OS/2 even come with a
default pre-built bourne-style shell, or is ash something you built
yourself?  Can you upgrade to a better shell?

At any rate, your platform seems more and more like a lost cause.  The
fact that configure doesn't even complete means that autoconf-generated
scripts are not portable to your platform; we would have to fix that
first, but we can't even write an autoconf patch to work around corruption
in $? unless you can find a workaround.  Meanwhile, since you obviously
can't rename an in-use file, you can get past this check by calling
'./configure M4_cv_func_rename_open_file_works=no'.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklx2IQACgkQ84KuGfSFAYCvMQCcDMz9Ude5g76B5vFwSW8hw3Xh
FBEAoIAj+OrM2BPxDzRFC8kpOPbXYBS+
=vFgD
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]