Clone wiki

site / how_to_build_illumos-gate_on_DilOS

How to build illumos-gate on DilOS

(This instruction for DilOS: www.dilos.org)

If you have updated OpenIndiana by DilOS packages you have to install packages gor illumos-gate build:

pkg set-publisher -p http://ips.dilos.org:10000/
pkg set-publisher -P dg.dilos.org
pkg set-publisher -P du.dilos.org

pkg set-publisher --non-sticky opensolaris.org
pkg set-publisher --non-sticky openindiana.org

pkg install pkg://dilos.org/consolidation/sic_team/sic_team-incorporation
pkg install pkg://dilos.org/consolidation/X/X-incorporation

pkg install -v \
pkg:/data/docbook \
pkg:/developer/astdev \
pkg:/developer/build/make \
pkg:/developer/build/onbld \
pkg:/developer/java/jdk \
pkg://dilos.org/developer/lexer/flex \
pkg:/developer/object-file \
pkg://dilos.org/developer/parser/bison \
pkg://dilos.org/developer/versioning/mercurial \
pkg://dilos.org/library/glib2 \
pkg://dilos.org/library/libxml2 \
pkg://dilos.org/library/libxslt \
pkg://dilos.org/library/nspr/header-nspr \
pkg://dilos.org/library/perl-5/xml-parser \
pkg://dilos.org/library/security/trousers \
pkg://dilos.org/print/filter/ghostscript \
pkg://dilos.org/runtime/perl-512 \
pkg://dilos.org/library/perl-5/sun-solaris-512 \
pkg:/system/library/math/header-math \
pkg:/system/library/install \
pkg://dilos.org/system/library/dbus \
pkg://dilos.org/system/library/libdbus \
pkg://dilos.org/system/library/libdbus-glib \
pkg://dilos.org/system/library/mozilla-nss/header-nss \
pkg:/system/header \
pkg:/system/management/product-registry \
pkg://dilos.org/system/management/snmp/net-snmp \
pkg://dilos.org/text/gnu-gettext \
pkg://dilos.org/web/wget

You can use GCC44 from DilOS repo:

pkg install pkg://du.dilos.org/developer/gcc-44

If you have DEB based system you have to install additional packages:

apt-get install \
data-docbook \
developer-astdev \
developer-build-make \
developer-build-onbld \
developer-gcc-3 \
developer-java-jdk \
developer-lexer-flex \
developer-object-file \
developer-parser-bison \
developer-versioning-mercurial \
library-glib2 \
library-libxml2 \
library-libxslt \
library-nspr-dev \
library-perl-5-xml-parser \
library-security-trousers \
print-cups \
print-filter-ghostscript \
runtime-perl \
library-perl-5-sun-solaris-512 \
system-library-math \
system-library-install \
system-library-dbus \
system-library-libdbus \
system-library-libdbus-glib \
system-library-mozilla-nss-dev \
system-header \
system-management-product-registry \
system-management-snmp-net-snmp \
text-gnu-gettext \
library-python-2-python-extra-24 \
web-server-apache-13 \
package-pkg

Run command:

pkg image-create -f -F -a openindiana.org=http://pkg.openindiana.org/dev/ /

Install GCC44:

apt-get install developer-gcc-44

Note: DilOS have perl-512 as default. illumos-gate build needs perl-510 and will create sun-solaris Perl modules for this perl. You can use modules library-perl-5-sun-solaris-512 and library-perl-5-sun-solaris-510 in DilOS repo if needed.

All others steps you can use from (How To Build illumos), exclude steps with 'Installing required packages'.

Updated