Pkgsrc (2012Q3) on Tru64 5.1B (ongoing work)
Note: it's relatively straightforward compared to irix, this is how I've done it.
- unpack in /usr, as normal.
- edit pkg_install and libfetch's Makefiles, replace as such:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
becomes:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && ${OPSYS} != "OSF1"
bootstrap with ccc:
- run bootstrap (in /usr/pkgsrc/bootstrap), as such:
- env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc
bootstrap with gcc:
- install gcc-4.2.3-osf1-5.1b.tar.gz (google search that)
- run /usr/local/gcc4/libexec/gcc/target/version/install-tools/mkheaders
- cd /usr/pkgsrc/bootstrap
- env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc
then:
/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities
Worked well for me, so odds are that it might even work for you.
BTW: I'm looking for help with some packages, if you have some spare cycles.
Note: it's relatively straightforward compared to irix, this is how I've done it.
- unpack in /usr, as normal.
- edit pkg_install and libfetch's Makefiles, replace as such:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
becomes:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && ${OPSYS} != "OSF1"
bootstrap with ccc:
- run bootstrap (in /usr/pkgsrc/bootstrap), as such:
- env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc
bootstrap with gcc:
- install gcc-4.2.3-osf1-5.1b.tar.gz (google search that)
- run /usr/local/gcc4/libexec/gcc/target/version/install-tools/mkheaders
- cd /usr/pkgsrc/bootstrap
- env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc
then:
/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities
Worked well for me, so odds are that it might even work for you.
BTW: I'm looking for help with some packages, if you have some spare cycles.
_________________