[OpenIndiana-New-developers] Illumos build notes/questions
damian at wojslaw.pl
Mon Mar 7 06:06:07 UTC 2011
Quoting Frank Middleton <f.middleton at apogeect.com>:
> ln -s usr/src/tools/scripts/nightly .
> time ./nightly illumos.sh
> didn't work initially  because there doesn't seem to be a nightly in
> usr/src/tools/scripts/. Using the one in onbld does eventually create
> one there, albeit slightly smaller. The main difference seems to be
Did you really do:
PATH=/opt/onbld/bin:$PATH; export PATH
ln -s usr/src/tools/scripts/bldenv.sh .
ksh93 bldenv.sh -d illumos.sh
before trying to link nightly? Because it's there for me, but first
you have to
do the 'setup' step above, as mentioned in the guide.
> Had to upgrade to oi_148_1 (oi_148a?) with
> # pkg publisher
> PUBLISHER TYPE STATUS URI
> openindiana.org (non-sticky, preferred) origin online
> opensolaris.org (non-sticky) origin online
> in order to fix pkg dependencies. Had to load crypto tarballs, contrary
> to the instructions. Loaded on-crypto-latest-nd.i386.tar.bz2 and
> on-crypto-latest.i386.tar.bz2 via wget from dlc.sun.com. This seems
> to have produced a more or less working build.
Yes, there was a step once in the guide telling to remove or comment
out from illumos.sh line that points to crypto bits. If you remove it,
the build works without crypto.
> There were quite a few errors, cascading from one apparent cause
> The questions are:
> o how is it possible for anyone to build with the two makefile errors?
I have not seen those errors in my builds and I build once a week.
I'll recheck logs for your reported errors.
> o  is there a missing step (building the tools first)?
You seem to miss the step mentioned by me above.
> Thanks -- Frank
I shall have a look at both illumos.sh file and build guide.
This message was sent using IMP, the Internet Messaging Program.
More information about the New-developers