pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't bootstrap pkgsrc-current on Solaris 10



On 2018-10-05 07:22, Julien Savard wrote:
Hi,
I tried this :

nohup env CC=/opt/csw/bin/gcc CPP=/opt/csw/bin/cpp
CXX=opt/csw/bin/cpp CFLAGS='-O2' GCCBASE=/opt/csw/bin
SHELL=/usr/xpg4/bin/sh ./bootstrap --abi=64 &

and that

nohup env CC=/opt/csw/bin/gcc CPP=/opt/csw/bin/cpp
CXX=opt/csw/bin/cpp CFLAGS='-O2' GCCBASE=/opt/csw/bin SHELL=/bin/ksh
./bootstrap --abi=64 &

I don't think $SHELL overrides the #! line of the script, does it?

Have you tried either changing the first line of the script to reference the alternate shell, or just:

nohup env CC=/opt/csw/bin/gcc CPP=/opt/csw/bin/cpp GCCBASE=/opt/csw/bin /usr/xpg4/bin/sh ./bootstrap --abi=64 &

?

Reading the bootstrap script, it looks like you might want to also set the $SH env var to the shell you want to use, though it does seem to try and set that to '/usr/bin/bash' if 'uname -r' reports SunOS.

--
Michael Parson
Pflugerville, TX


Home | Main Index | Thread Index | Old Index