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

Frank Middleton f.middleton at apogeect.com
Sat Mar 5 18:48:34 UTC 2011


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...

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.

There were quite a few errors, cascading from one apparent cause

usr/src/lib/gss_mechs/mech_krb5/i386

"dmake: Fatal error in reader: ..//../../Makefile.lib, line 149: Extra `:', `::', or `:=' on dependency line"
usr/src/lib/Makefile.lib, line 149:
.PARALLEL:      $(OBJS) $(PICS) DUMMY

usr/src/uts/Makefile.uts  has the same issue on line 229.

Commenting out the offending lines seems to fix that problem. This leaves
only 1302 Error code 2s due to missing localedefs and the resulting Error
code 1 when it fails to install localedef.

There is one other inscrutable Error code 1probably related to the missing
localedef as well.

The questions are:

o how is it possible for anyone to build with the two makefile errors?
o is this build complete?
o [1] is there a missing step (building the tools first)?

Thanks -- Frank







More information about the New-developers mailing list