diff options
-rw-r--r-- | bootstrap/README | 22 | ||||
-rw-r--r-- | bootstrap/README.Darwin | 6 | ||||
-rw-r--r-- | bootstrap/README.IRIX | 14 |
3 files changed, 30 insertions, 12 deletions
diff --git a/bootstrap/README b/bootstrap/README index 9ba360e596b..dba34da44b9 100644 --- a/bootstrap/README +++ b/bootstrap/README @@ -1,11 +1,17 @@ -$NetBSD: README,v 1.4 2004/06/23 19:06:40 wiz Exp $ +$NetBSD: README,v 1.5 2005/04/10 22:03:35 jschauma Exp $ To try to get pkgsrc working on your system, please try the following as root: -# ./bootstrap [ --prefix=${PREFIX} ] [ --pkgdbdir=${PKG_DBDIR} ] \ - [ --sysconfdir=${PKG_SYSCONFBASE} ] [ --workdir=working directory] \ - [ --ignore-case-check ] [ --ignore-user-check ] [ --help ] +# ./bootstrap + [ --workdir <workdir> ] + [ --prefix <prefix> ] + [ --pkgdbdir <pkgdbdir> ] + [ --sysconfdir <sysconfdir> ] + [ --ignore-case-check ] + [ --ignore-user-check ] + [ --preserve-path ] + [ --help ] The defaults for the arguments are as follows: @@ -14,13 +20,17 @@ The defaults for the arguments are as follows: --sysconfdir /usr/pkg/etc --workdir work -It is perfectly acceptable to place ${PKG_DBDIR} under ${PREFIX}. +It is perfectly acceptable to place 'pkgdbdir' under 'prefix'. The working directory will be created if it doesn't exist and has to be writable by the user executing ./bootstrap. Make sure that you have a working C compiler and make(1) binary in -your path. +your path. Please note that on some systems (IRIX and SunOS, for example), +the bootstrap script will look into a number of common directories for +alternative implementations of some tools. If they are found, these +directories will be prepended to the PATH variable, unless the +'--preserve-path' flag is given. See http://www.netbsd.org/Documentation/software/packages.html for more information about bootstrapping and using pkgsrc. diff --git a/bootstrap/README.Darwin b/bootstrap/README.Darwin index 003d4781b5a..e4121983088 100644 --- a/bootstrap/README.Darwin +++ b/bootstrap/README.Darwin @@ -1,4 +1,4 @@ -$NetBSD: README.Darwin,v 1.3 2004/05/11 02:19:48 schmonz Exp $ +$NetBSD: README.Darwin,v 1.4 2005/04/10 22:03:35 jschauma Exp $ If you are using Mac OS X, please read "README.MacOSX" as well. @@ -11,8 +11,8 @@ $ curl -O \ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz $ tar -C /Volumes/NetBSD -zxvf pkgsrc.tar.gz && rm pkgsrc.tar.gz $ sudo ./bootstrap \ - --prefix=/Volumes/NetBSD/pkg \ - --pkgdbdir=/Volumes/NetBSD/pkgdb + --prefix /Volumes/NetBSD/pkg \ + --pkgdbdir /Volumes/NetBSD/pkgdb Note: if you already have a UFS partition, or have a spare partition that you can format as UFS, use that instead of the UFS disk image. diff --git a/bootstrap/README.IRIX b/bootstrap/README.IRIX index 59c602aeb29..a0085818018 100644 --- a/bootstrap/README.IRIX +++ b/bootstrap/README.IRIX @@ -1,4 +1,4 @@ -$NetBSD: README.IRIX,v 1.3 2005/03/24 19:36:30 jschauma Exp $ +$NetBSD: README.IRIX,v 1.4 2005/04/10 22:03:35 jschauma Exp $ You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro compiler (cc/c89). Please set the CC environment variable according to your @@ -34,8 +34,16 @@ If you are using SGI's MIPSPro compiler, please set PKGSRC_COMPILER=mipspro in /etc/mk.conf -- otherwise, pkgsrc will assume you are using gcc and may end -up passing invalid flags to the compiler. +up passing invalid flags to the compiler. Note that bootstrap should create +an appropriate mk.conf.example by default. -bootstrap-pkgsrc has been tested on Irix 6.5.23f on: +If you have both the MIPSPro compiler chain installed as well as gcc, but want +to make sure that MIPRPro is used, please set your PATH to not include the +location of gcc (often /usr/freeware/bin), and (important), pass the +'--preserve-path' flag. + +bootstrap-pkgsrc has been tested on: - an O2 with 1 180 MHZ IP32 Processor (R5000) (n32 ABI) + running 6.5.27 - an Origin 200 with 2 180 MHZ IP27 Processors (R10000) (64 ABI) + running 6.5.23 |