'which' and installing Linux software on -STABLE

Robert Klein RoKlein at roklein.de
Thu Jul 24 09:29:50 PDT 2003


On Donnerstag, 24. Juli 2003 18:00, Pete French wrote:
> Has anyone else had frustrating problems with the use of
> 'which' in Linux mode ? I have some SUN software which I am
> trying to install. I am running Linux bash to run the install
> script - running 'uname' returns 'Linux'
>
> But the SUn code does 'which uname' to get the path to 'uname'
> before running it. the ;which' command is a bash builtin, and
> this returns the '/usr/bin/uname' command rather than
> '/bin/uname'. Thus it runs /usr/bin;uname, egts the answer
> 'FreeBSD' and refuses to install.
>
> Any ideas ? I did a search on this but didnt come up with any
> answers.

Put /compat/linux/bin at the beginning of your PATH environment 
variable for the installation.

Regards,
Robert



More information about the freebsd-stable mailing list