Bootstrapping under 632#

Set up your kit#

Before building packages from source under QNX, it's recommended you download and install the QNX Utility Package for pkgsrc containing fixes and omissions to our kit this entire exercise has uncovered.

# cd /
# tar -xzvUf /tmp/pkgsrc_qnxutil-0.14.tar.gz

Archive contents at time of writing:#

Optionally update your procnto#

Set up your environment#

# qcc -V 3.3.5,gcc_ntox86 -set-default

Bootstrap#

# svn checkout --username <username> http://community.qnx.com/svn/repos/pkgsrc
# svn checkout --username <username> http://community.qnx.com/svn/repos/pkgsrc/HEAD_632
# cd pkgsrc/bootstrap
# ./bootstrap

Set up the resulting /usr/pkg/etc/mk.conf#

# cd textproc/groff
# bmake PKG_OPTIONS.groff=-x11

Try your first package#

# cd misc/figlet
# bmake install
# pkg_info