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.
|