Plan 9 from Bell Labs’s /usr/web/sources/contrib/staal1978/pkgsrc/README

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


This is an attempt to bootstrap pkgsrc on Plan9

The ultimate aim is to be able to bootstrap both under native APE

Advantages: all supported architectures
Disadvantages: only a small sub-set of packages (in compliant C) will be possible to build

or using the gcc45-port

Advantages: Greater language support (C, ObjC, C++, Fortran, Ada, ...)
Disadvantages: Libraries built can not be used together with standard system libraries (gcc incompatible with kencc), for now i386 only.


HOWTO:

* extract pkgsrc sources in $home or somewhere else (bootstrap is unprivileged)
* copy 9bootstrap to pkgsrc/bootstrap
* copy chown, awk and sed overide scripts to somewhere to make them default in /bin
* ape/psh 9bootstrap (or gnu/gsh 9bootstrap, but gcc-specific settings for Plan9 not written yet)


DEPENDENCIES:

* unix utilities: env, id, whoami and xargs are needed to get the "bootstrap" script to run

* GNU sed and awk: Generation of config.h in bmake fails with native sed and awk. Most likely, nbsed and nbawk from pkgsrc could be used instead.



STATUS:

Bootstrap currently fails in building bmake. Todo: see how patches are automatically handled in pkgsrc.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].