`<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 14, 2015 at 7:45 PM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">IF you want to build illumos-omnos or illumos-gate on an OmniOS r151014 or later installation, you can do so now simply by uttering:<br>
<br>
pkg install developer/illumos-tools<br>...<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Sorry I didn't have something like this sooner. I've also updated the How to Build illumos page on the illumos wiki.<br>
<br>
Happy installing!<br>
Dan<br></blockquote><div><br></div><div>I set up a Vagrant box using the box provided by OmniTi and followed the directions at the wiki and ran into the problem of the compiler and dmake not being found. I've attached the log files and here are my diffs to illumos.sh. The OmniOS Mods and build without Sun Studio are cut and pasted from the wiki.</div><div><br></div>
vagrant@omnios-vagrant:/export/home/vagrant/code/illumos-gate$ echo $PATH<br>/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin:/opt/omni/bin:/opt/gcc-4.4.4/bin:/opt/sunstudio12.1/bin</div><div class="gmail_quote"><br>vagrant@omnios-vagrant:/export/home/vagrant/code/illumos-gate$ diff illumos.sh*</div><div class="gmail_quote">110c110,111<br>< export MAILTO="$STAFFER"<br>---<br>> #export MAILTO="$STAFFER"<br>> export MAILTO="<a href="mailto:philip.robar@gmail.com">philip.robar@gmail.com</a>"<br>215c216<br>< export ENABLE_IPP_PRINTING=<br>---<br>> #export ENABLE_IPP_PRINTING=<br>219c220<br>< export ENABLE_SMB_PRINTING=<br>---<br>> #export ENABLE_SMB_PRINTING=<br>226a228,249<br>> <br>> # OmniOS Mods<br>> <br>> # Help OmniOS find lint<br>> export SPRO_ROOT='/opt'<br>> <br>> # OmniOS places GCC 4.4.4 differently.<br>> export GCC_ROOT=/opt/gcc-4.4.4/<br>> <br>> # These are required for building on OmniOS.<br>> export PERL_VERSION=5.16.1<br>> export PERL_PKGVERS=<br>> export PERL_ARCH=i86pc-solaris-thread-multi-64int<br>> <br>> # SET ONNV_BUILDNUM appropriately - to ONU r151014, set this to 151014.<br>> export ONNV_BUILDNUM=151014<br>> <br>> # The following are added to build without Sun Studio<br>> export CW_NO_SHADOW=1<br>> export ONLY_LINT_DEFS=-I${SPRO_ROOT}/sunstudio12.1/prod/include/lint<br>> export __GNUC=""<br>> #unset __SUNC </div></div></div>
`