On Thu, Feb 12, 2004, Birger Kr�gelin wrote:
> In preparation for 2.0 I try to bootstrap CURRENT on Solaris 9.
>
> I start with an "empty" machine, i.e. Solaris Core. I installed
> OpenPKG Rel. 1.3 binary distribution for /cw
>
> openpkg
> make
> binutils
> gcc
>
> upgrade to openpkg 1.3.1
> done
>
> prepare openpkg-current in /cw environment, build it for /opt/local, opkg:opkg
> done
>
> install -current.sh
> done
>
> build make-current with --define "use_cc /cw/bin/gcc"
>
> make all-recursive
> /bin/ksh: make: not found
> make: *** [all] Error 127
> error: Bad exit status from /opt/local/RPM/TMP/rpm-tmp.19556 (%build)
>
> How do I fix this path problem?
Well, you define the path to the C compiler, but what "make" wants here
is "make". So you also have to use --define "use_make /cw/bin/make"
or --define "use_make /usr/ccs/bin/make". Usually one does not need
use_make because /usr/ccs/bin/make exists, but in your case (Solaris
Core only) this seems to be missing. BTW, I'm not sure whether Solaris
Core is sufficient for all of OpenPKG's packages. At least we develop
OpenPKG on Solaris "Entire Distribution" boxes. So be warned, it could
be that something is not found later, too.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]