File:  [NetBSD Developer Wiki] / wikisrc / pkgsrc / solarish.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Thu Apr 27 11:26:42 2017 UTC (6 years, 5 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by schmonz: Set title in meta rather than page URL

[[!meta title="How to use pkgsrc on Solarish (Illumos based)"]]

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 <code>develop</code> 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 <code>PATH</code> contains the path to GCC & linker <code>/opt/gcc/4.4.4/bin:/usr/gnu/bin</code> when performing a system wide install as root. No changes required when performing an [unprivileged bootstrap]( as environment contains necessary settings.

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb