bug-sh-utils
[Top][All Lists]
Advanced

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

Re: uptime in sh-utils 2.0 give "incorrect" output on Mac OS X


From: Petter Reinholdtsen
Subject: Re: uptime in sh-utils 2.0 give "incorrect" output on Mac OS X
Date: 31 Oct 2002 19:10:52 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

[Bob Proulx]
> Are you referring to the 'uname -p' output which is printing
> 'unknown' in the above?

Yes.

> But when I look at config.guess I don't see where it would be
> calling 'uname -p' for the mac.  Therefore I don't see how changing
> this would change any behavior in config.guess.

Well, I did not investigate much, but config.guess would report
unknown-apple-darwin6.0, and packages like nut would then report

  checking host system type... Invalid configuration
    `unknown-apple-darwin6.0': machine `unknown-apple' not recognized

(this is not a fatal error in nut, but for some packages getting the
wrong config.guess signature is a fatal error.  Unfortunately, I do
not have the compile logs available any more.)

If 'uname -p' instead returns 'powerpc', config.guess reports

  checking host system type... powerpc-apple-darwin6.0

And the configure script is happy.

> And even if it did it sounds to me like this would be a config.guess
> problem.

This problem is uname, not config.guess.  There might be problems with
config.guess, but in my case using the native uname instead of the GNU
version solved my problem.




reply via email to

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