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: Bob Proulx
Subject: Re: uptime in sh-utils 2.0 give "incorrect" output on Mac OS X
Date: Fri, 1 Nov 2002 19:24:03 -0700
User-agent: Mutt/1.4i

Petter Reinholdtsen <address@hidden> [2002-10-31 19:10:52 +0100]:
> [Bob Proulx]
> > Are you referring to the 'uname -p' output which is printing
> > 'unknown' in the above?
> 
> Yes.

> > 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.

I disagree.  It is wrong for config.guess to use 'uname -p' unless it
knows it is an okay thing to do on that particular host since that is
a non-standard thing to do.  It has no right to count on it being
there.

I am still suspicious as to the problem.  I don't think we have a root
cause to this problem yet.

Perhaps on the configure command line you could force the selection.
Something like this example.  But these are from an x86.  Replace with
your appropriate values.

  ./configure --host=i386-linux --build=i386-linux

Perhaps you could update your config.guess and config.sub on a failing
package to the newest available and see if that helps.  Both of those
are needed and go together.  I believe the canonical and newest
versions are here.  (I hope I have that right.)  On hosts that are not
as mainstream I frequently find I need to update those files.

  http://ftp.gnu.org/gnu/config/

Bob




reply via email to

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