[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] How to build vile in a 'Jail shell' where uname isn't availab
Re: [vile] How to build vile in a 'Jail shell' where uname isn't available?
Thu, 9 Apr 2015 13:44:37 +0100
On Thu, Apr 09, 2015 at 09:55:42PM +1000, Brendan O'Dea wrote:
> On 9 April 2015 at 21:25, Thomas Dickey <address@hidden> wrote:
> > | On Thu, Apr 09, 2015 at 11:59:25AM +0100, Chris Green wrote:
> > | > I'm trying to build vile for a hosting account where I have ssh
> > | > access
> > | > but only to a limited 'Jail shell'. The specific problem is that
> > | > uname isn't available so config.guess fails.
> > | >
> > | > What needs to be set so that configure won't need config.guess?
> > | >
> > | > ... or are there other ways around this?
> > so the script has to have a case statement for those options, e.g.,
> > #!/bin/sh
> > case .$1 in
> > .-m) echo i386;;
> > .-r) echo 2.6.9-1;;
> > .-s) echo Linux;;
> > .-v) echo anything;;
> > esac
> configure only runs config.guess if you don't tell it what the build
> host is. You can just provide that with the --build option and it
> won't run config.guess at all:
> ./configure --build=i386-unknown-linux-gnu
OK, thanks both, I'm past that problem now and on to the next! :-)