File:  [NetBSD Developer Wiki] / wikisrc / pkgsrc / solarish.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Thu Apr 27 11:27:45 2017 UTC (3 years, 10 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by schmonz: Replace <code> with backquotes

    1: [[!meta title="How to use pkgsrc on Solarish (Illumos based)"]]
    2: 
    3: This page will cover the requirement to bootstrap pkgsrc successfully on Illumos based Solarish systems.  
    4: [Prebuilt binaries & a repository of packages is provided by Joyent](http://pkgsrc.joyent.com) so it is not necessary to go through this process unless by choice.  
    5: It is assumed that a copy of the pkgsrc files have been [obtained](http://pkgsrc.org/#index3h1) and uncompressed, ready to bootstrap.
    6: 
    7: #OmniOS
    8: At the time of writing the latest build available was r151012 which had GCC 4.8.x available.  
    9: 
   10: On a freshly installed system the only components needed to bootstrap pkgsrc successfully is GCC, lint, linker object-files and header files.
   11: 
   12:     # pkg install gcc48 header linker lint object-file header-math
   13: 
   14: pkgsrc can then be bootstrapped as [normal](http://www.netbsd.org/docs/pkgsrc/platforms.html#bootstrapping-pkgsrc)  
   15: 
   16: #Tribblix
   17: All that's required is for the `develop` overlay to be installed in order to successfully bootstrap pkgsrc on Tribblix.
   18: 
   19:     # zap install-overlay develop
   20: 
   21: #OpenIndiana
   22: 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.
   23: 
   24:     # pkg install illumos-gcc gnu-binutils system/header developer/library/lint object-file header-math
   25:     # PATH=/opt/gcc/4.4.4/bin:/usr/gnu/bin:$PATH pkgsrc/bootstrap/bootstrap
   26: 
   27: #OpenSXCE
   28: 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](http://www.netbsd.org/docs/pkgsrc/platforms.html#bootstrapping-pkgsrc) as environment contains necessary settings.

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb