Subject: pkgsrc on IRIX
To: None <netbsd-help@netbsd.org>
From: Steve Allen <allen@doobie.itdl.ds.boeing.com>
List: netbsd-help
Date: 11/14/2005 11:02:43
Hi.

I'm trying to get pkgsrc to build on IRIX (6.5.28, MIPSpro 7.4.3), eventual
goal is to run RSSOwl, which requires Eclipse.  My current starting point is
gnome-libs, as that seems to pull in most everything that will be required.
(Trying to build the Eclipse SWT shows the SGI Freeware stuff is too old, and
the SWT wants stuff like libgnome, gconf and gnome_vfs2, so gnome-libs looked
like a good starting point.)

I started building with gcc because the instructions for using MIPSpro were
confusing, but I'm getting lots of errors like where -R/usr/pkg/lib is being
passed to gcc, which gcc doesn't understand, and finally, perl5 is passing
-n32 to gcc, which just barfs on it.

So, I'm looking to try using MIPSpro; I've set in /etc/mk.conf PKGSRC_COMPILER
to mipspro.  The part I'm finding confusing is the IRIX-specific instructions
for using pkgsrc say that I need to pass the --preserve-path flag.  Exactly
where do I throw that in?

And since some of the pkg stuff is now built with gcc, is it OK to leave that,
or do I need to junk it all and build everything with MIPSpro?

Thanks,
Steve

This is what's installed so far:
# ls /var/db/pkg
bash-3.0pl16nb3/          gnome-dirs-1.5nb1/        pkg_install-20050718/
bison-2.0/                gnome1-dirs-1.5nb1/       pkg_install-info-4.5nb3/
bzip2-1.0.3/              gtexinfo-4.8/             png-1.2.8/
digest-20021220/          jasper-1.701.0nb1/        tiff-3.7.2nb1/
digest-20050731/          jpeg-6bnb3/               unzip-5.52nb2/
esound-0.2.35nb1/         libaudiofile-0.2.6nb1/    x11-links-0.26/
flex-2.5.4a/              libiconv-1.10nb2/         xdg-dirs-1.2nb1/
gettext-0.11.5nb5/        libtool-base-1.5.18nb5/   xdg-x11-dirs-1.2nb1/
gettext-lib-0.11.5nb6/    libungif-4.1.3nb2/        xpkgwedge-1.14/
gettext-m4-0.11.5/        m4-1.4.3/
gmake-3.80nb4/            patch-2.5.4nb2/