[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Can't bootstrap pkgsrc-current on Solaris 10
Date: Thu, 4 Oct 2018 08:04:32 -0400
From: Julien Savard <juliensavard17%gmail.com@localhost>
| Well problem seems to be related to the "/bin/sh" bundled with Solaris :
I suspected it might be, Solaris has had a long history of
shipping a truly ancient version of the shell as /bin/sh
| Also, as requested
That was only needed if there was no error reported from
running "sh config.sub" - but there was, the ancient sh
on solaris doesn't support "read -r" (and it would not support
lots of other stuff if you kepst on using it).
Simply tell the bootstrap to use one of trhe shells that works
(I think the one in /usr/xpg4/bin/ is probably the best choice,
that is a regular, but more up to date, shell - but ksh should
also work I think ... though the README.solaris in pkgsrc/bootstrat
suggests that it also has (different) problems..
| How can I force another shell to be used in bootstrap ?
Someone who knows the pkgsrc bootstrap process would need
to help here, but I'd try just setting SHELL in the environment
when running the bootstrap process.
If you're using a Bourne type shell
SHELL=/usr/xpg4/bin/sh ./bootstrap ...
or using csh (and should also work with a Bourne sh)
env SHELL=/usr/xpg4/bin/sh ../bootstrap ...
but I might be wrong about that, I am guessing a bit.
Main Index |
Thread Index |