On Friday, August 22, 2003, at 11:56 PM, Benjamin Reed wrote:

On Friday, August 22, 2003, at 11:45 PM, Alexander K. Hansen wrote:

That's a bad one, all right. Darwin 6.6 is supposed to be supported (as
it's OS 10.2.6). It installed fine for me (via unstable). What happens if
you run "fink selfupdate-cvs"?

Could it be this:


Checking system... unknown-apple-darwin6.6
This system is unrecognized and not supported by Fink.

Unknown means it's not getting the architecture right, doesn't it? We saw this on #fink a little earlier from a user who hand-built some of the GNU tools and had their own uname in /usr/local/bin.


Mark, do you have anything like that in your /usr/local tree?
[snip]

The solution to this problem, which is in line with Benjamin Reed's suggestion, is at the end of this e-mail.


Here is some information:

$ which uname
/usr/bin/uname     # My shell is finding uname in the right place

$ uname --version
Darwin     # the uname in /usr/bin is the right uname

$ echo $PATH
/Library/Tcl/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ X11R6/bin:/usr/X11R6/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/ bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/teTeX/ bin/powerpc-apple-darwin-current


From the above, my path is (generally) how it should be (sw first, then /usr, then /usr/local).

I did find a 'uname' in /usr/local/bin and moved it to /usr/local/bin/uname.bak. This solved the problem. The stray 'uname' came from hand-built GNU coreutils (specifically, the shellutils component).

I don't know why Fink used the 'uname' in /usr/local/bin instead of the 'uname' in /usr/bin. I also don't know why the GNU 'uname' doesn't work properly (at least for Fink's purposes).

Hopefully others will learn from the errors of my ways.

Regards,

Mark



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to