Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 18:30:04 +0200
From:      Robert Klein <RoKlein@roklein.de>
To:        Pete French <pfrench@firstcallgroup.co.uk>
Cc:        stable@FreeBSD.ORG
Subject:   Re: 'which' and installing Linux software on -STABLE
Message-ID:  <200307241830.04993.RoKlein@roklein.de>
In-Reply-To: <E19fiVj-000E9u-00@mailhost.firstcallgroup.co.uk>
References:  <E19fiVj-000E9u-00@mailhost.firstcallgroup.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307241830.04993.RoKlein>