setup-build-enviroment

  • Posted on: 26 November 2022
  • By: tomww

This is a place where the setup for a build environment will be described in detail.

You can install the package developer/build/cbe to get an ansible script for a complete setup.
Get the Studio compiler from this location if you run Oracle Solaris (TM): Load the tarball X86 or Sparc in the latest version

Once everything is set up, *remember* to initialize your shell every time it is new. The reason is, there are most likely environment-variables in your shell that might affect compiling the software. To get repeatable results, only a few defined ENV variables should be set in the shell that is used to compile and package software

TLDR:
you run this: . /opt/dtbld/bin/env.sh
and get PATH set, as well as (modified from original). PKG_IPS_SERVER=file://var/pkglocal