[OpenIndiana-New-developers] Illumos build notes/questions

Damian Wojsław damian at wojslaw.pl
Mon Mar 7 06:06:07 UTC 2011


Quoting Frank Middleton <f.middleton at apogeect.com>:

> Following:  
> http://www.illumos.org/projects/illumos-gate/wiki/How_To_Build_illumos
>
> ln -s usr/src/tools/scripts/nightly .
> time ./nightly illumos.sh
>
> didn't work initially [1] 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
> cryptohandling...

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    
> http://pkg.openindiana.org/dev/
> opensolaris.org          (non-sticky) origin   online    
> http://pkg.opensolaris.org/dev/
>
> 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
>
> usr/src/lib/gss_mechs/mech_krb5/i386
[cut]
> 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 [1] 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.

-- 
Damian Wojsław


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the New-developers mailing list