Annotation of wikisrc/pkgsrc/how_to_use_pkgsrc_on_osf1.mdwn, revision 1.2
1.2 ! schmonz 1: I'm doing this guide on Tru64, but it should also apply to older versions of this fine OS, formerly branded Digital Unix and also as OSF1 (the system still identifies itself as OSF1).
! 3: **Contents**
! 5: [[!toc]]
! 7: #Setting the environment
! 9: There is no bzip2 and cvs so we have to fetch the tarball by ftp. You can try to use ftp(1) or Netscape if you have DECWindows installed. You also can use the portable NetBSD ftp client included in the binary bootstrap if you decide to extract it first. I think tnftp is much nicer for downloading than anything else.
! 11: The system doesn't have gcc installed by default as some newer Unices have in the default install, but it has a nice compiler called ccc (Compaq C Compiler).
! 12: #Extracting the files
! 14: You have to extract the downloaded sources:
! 16: # cd /usr
! 17: # gunzip -c /pkgsrc.tar.gz | tar xf -
! 19: Bootstrapping needs gcc:
! 21: # cd pkgsrc/bootstrap/
! 22: # env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap
! 24: #Configuring pkgsrc
! 26: After the bootstrap is completed, you must decide which compiler to use. To keep using gcc, add the following to your mk.conf:
! 28: CC=/usr/local/gcc4/bin/gcc
! 29: CXX=/usr/local/gcc4/bin/g++
! 31: To use the native compiler, set PKGSRC_COMPILER=ccc in mk.conf. You will need at least Compaq C 6.4 (it supports __VA_ARGS__ that tnftp(1) uses).
! 32: #See also
! 34: <http://pkgsrc-osf1.netbsd.se/>
1.1 mspo 36: [README.OSF1 ](ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.OSF1)
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb