This page will cover the requirement to bootstrap pkgsrc successfully on Illumos based Solarish systems.
Prebuilt binaries & a repository of packages is provided by Joyent so it is not necessary to go through this process unless by choice.
It is assumed that a copy of the pkgsrc files have been obtained and uncompressed, ready to bootstrap.
At the time of writing the latest build available was r151012 which had GCC 4.8.x available.
On a freshly installed system the only components needed to bootstrap pkgsrc successfully is GCC, lint, linker object-files and header files.
# pkg install gcc48 header linker lint object-file header-math
pkgsrc can then be bootstrapped as normal
All that's required is for the
develop overlay to be installed in order to successfully bootstrap pkgsrc on Tribblix.
# zap install-overlay develop
On the 151a8 development release of OpenIndiana, the installation of GCC & GNU binutils is required alongside lint, object-files and header files to bootstrap pkgsrc successfully.
# pkg install illumos-gcc gnu-binutils system/header developer/library/lint object-file header-math # PATH=/opt/gcc/4.4.4/bin:/usr/gnu/bin:$PATH pkgsrc/bootstrap/bootstrap
Comes with all necessary component to bootstrap pkgsrc out of the box, just ensure
PATH contains the path to GCC & linker
/opt/gcc/4.4.4/bin:/usr/gnu/bin when performing a system wide install as root. No changes required when performing an unprivileged bootstrap as environment contains necessary settings.