autoconf
[Top][All Lists]
Advanced

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

HPUX: running `ranlib --version' creates ./--version [Re: fileutils/auto


From: Jim Meyering
Subject: HPUX: running `ranlib --version' creates ./--version [Re: fileutils/autoconf: --version left behind
Date: 24 Apr 2001 08:25:43 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.103

Hi Bob,

Thanks for tracking down the cause.
I'm forwarding your report to the autoconf mailing list.

Jim

Bob Proulx <address@hidden> wrote:
...
| > > | The version 4.0.45, I think from autoconf et al, leaves a "--version"
| > > | file containing "!<arch>" in the source directory.  Just FYI...
| > >
| > > Thanks!  Actually, that is kind of important since
| > > autoconf is pretty close to an official release.
|
| You can recreate this problem on strife.proulx.com

[I think it's an hppa1.1-hp-hpux10.01]

|   tar xzvf fileutils-4.0.45.tar.gz
|   cd fileutils-4.0.45
|   CC=cc CFLAGS='-O' ./configure
|
| I am pretty sure the problem is that the test for ranlib creates it.
|
|   address@hidden:/tmp: ranlib --version
|   ar: creating --version
|   address@hidden:/tmp: ls -ld ./--version
|   -rw-rw-r--    1 rwp      esl             8 Apr 23 23:15 ./--version
|
| Looking at config.log I find:
|
|   configure:2667: checking for ranlib
|   configure:2682: found /usr/ccs/bin/ranlib
|   configure:2684: /usr/ccs/bin/ranlib --version </dev/null >&2
|   + eval $ac_dir/$ac_word --version </dev/null >&2
|   + /usr/ccs/bin/ranlib --version
|   + 0< /dev/null 1>& 2
|   ar: creating --version
|   configure:2687: $? = 0
|   configure:2697: result: ranlib
|
| How has the ranlib test changed recently?
|
| Thanks
| Bob
|
| P.S. On AIX I get:
|
|   $ ranlib --version
|   ar: Not a recognized flag: -
|   ranlib: 0654-601 Execution of ar failed
|   Usage: ranlib [-t] file ...
|
| And no file is created.



reply via email to

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