On Wed, Oct 14, 2015 at 7:45 PM, Dan McDonald <dan...@omniti.com> wrote:

> 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:
>
>         pkg install developer/illumos-tools
> ...
>


Sorry I didn't have something like this sooner.  I've also updated the How
> to Build illumos page on the illumos wiki.
>
> Happy installing!
> Dan
>

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.

vagrant@omnios-vagrant:/export/home/vagrant/code/illumos-gate$ echo $PATH
/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin:/opt/omni/bin:/opt/gcc-4.4.4/bin:/opt/sunstudio12.1/bin

vagrant@omnios-vagrant:/export/home/vagrant/code/illumos-gate$ diff
illumos.sh*
110c110,111
< export MAILTO="$STAFFER"
---
> #export MAILTO="$STAFFER"
> export MAILTO="philip.ro...@gmail.com"
215c216
< export ENABLE_IPP_PRINTING=
---
> #export ENABLE_IPP_PRINTING=
219c220
< export ENABLE_SMB_PRINTING=
---
> #export ENABLE_SMB_PRINTING=
226a228,249
>
> # OmniOS Mods
>
> # Help OmniOS find lint
> export SPRO_ROOT='/opt'
>
> # OmniOS places GCC 4.4.4 differently.
> export GCC_ROOT=/opt/gcc-4.4.4/
>
> # These are required for building on OmniOS.
> export PERL_VERSION=5.16.1
> export PERL_PKGVERS=
> export PERL_ARCH=i86pc-solaris-thread-multi-64int
>
> # SET ONNV_BUILDNUM appropriately - to ONU r151014, set this to 151014.
> export ONNV_BUILDNUM=151014
>
> # The following are added to build without Sun Studio
> export CW_NO_SHADOW=1
> export ONLY_LINT_DEFS=-I${SPRO_ROOT}/sunstudio12.1/prod/include/lint
> export __GNUC=""
> #unset __SUNC

Attachment: mail_msg
Description: Binary data

Attachment: nightly.log
Description: Binary data

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to