Building from source with pkgsrc.#
Before you start#
- QNX support for 'pkgsrc' is currently for self hosted machines only. Please see the QNX site for download information.
- Make sure you have an internet connection. 'pkgsrc' will download distributions from applicable sites.
Bootstrapping under 632#
Bootstrapping under 632 is more involved. See the
bootstrapping under 632 page for detailed instructions.
Bootstrapping under 640#
Set up your environment#
- Add /usr/pkg/bin:/usr/pkg/sbin to your PATH
- Add /usr/pkg/lib to your CS_LIBPATH
- I have the following in my /etc/rc,d/rc.local
setconf CS_LIBPATH $(getconf CS_LIBPATH):/usr/pkg/lib
Bootstrapping under 640 is straightforward.
- Check out the HEAD_640 branch
# cd pkgsrc/bootstrap
# ./bootstrap