This page should use cross references to avoid duplicate content. Please help us by cleaning it up. ?

By default, IRIX is a quite hostile environment if one got used to systems where Bash, CVS and such are already installed. It also lacks many other tools (or at least sufficiently capable versions of them), so they all have to be built when bootstrapping pkgsrc.


  1. Contents
  2. Exploring the environment
  3. Getting pkgsrc
  4. Extracting the files
  5. See also
  6. External links

Exploring the environment

$ echo $SHELL
$ cvs
ksh: cvs:  not found
$ zsh
ksh: zsh:  not found
$ bash
ksh: bash:  not found
$ bzip2
ksh: bzip2:  not found

So far, so bad. I will have to install all these tools via pkgsrc.

Getting pkgsrc

Since cvs is not available, I have to download the tarball from the FTP server.

$ ftp
ftp> open
Connected to
220 FTP server (NetBSD-ftpd 20060923) ready.
Name ( ftp
331 Guest login ok, type your name as password.
ftp> cd /pub/pkgsrc/current
250 CWD command successful.
ftp> ls
227 Entering Passive Mode (204,152,184,36,251,197)
150 Opening ASCII mode data connection for '/bin/ls'.
total 141322
drwxrwxr-x  52 srcmastr  netbsd      1024 Jan  8 05:39 pkgsrc
-rw-rw-r--   1 srcmastr  netbsd  31658232 Jan  6 07:22 pkgsrc.tar.bz2
-rw-rw-r--   1 srcmastr  netbsd        56 Jan  6 07:22 pkgsrc.tar.bz2.MD5
-rw-rw-r--   1 srcmastr  netbsd        65 Jan  6 07:22 pkgsrc.tar.bz2.SHA1
-rw-rw-r--   1 srcmastr  netbsd  40628869 Jan  6 07:19 pkgsrc.tar.gz
-rw-rw-r--   1 srcmastr  netbsd        55 Jan  6 07:20 pkgsrc.tar.gz.MD5
-rw-rw-r--   1 srcmastr  netbsd        64 Jan  6 07:20 pkgsrc.tar.gz.SHA1
226 Transfer complete.
ftp> binary
200 Type set to I.
ftp> get pkgsrc.tar.gz
ftp> quit
    Data traffic for this session was 0 bytes in 0 files.
    Total traffic for this session was 3445 bytes in 1 transfer.
221 Thank you for using the FTP service on

Extracting the files

$ mkdir proj
$ cd proj
$ gzcat ../pkgsrc.tar.gz | tar xf -
$ cd pkgsrc

$ ./bootstrap/bootstrap --unprivileged --compiler=mipspro

... TODO: continue

Note: because nbsed cannot handle files with embedded '\0', and since GNU info files contain such characters, you should install textproc/gsed as soon as possible and then replace the TOOLS_PLATFORM.sed line in your mk.conf file.

See also

External links

Add a comment
Contact | Disclaimer | Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.
NetBSD® is a registered trademark of The NetBSD Foundation, Inc.