The are many packages which don't compile by default with MIPSpro on IRIX, many of which require only changes to the pkgsrc Makefile. This is especially true when building with the "
-apo
" Auto-parallelisation option, which causes binaries to addiitonally require being linked to
libmp.so
. This is often solved by adding:
... to the Makefile. If this doesn't work, then:
... is worth a try.
A final note on APO - there are some things it just can't handle. If the build process faults with a segfault followed by an internal compiler error, then running the most recent invocation of $CC/$CXX again
without
APO, and it will succeed and the build can continue from where it left off -
ghostscript-gnu
is a good example of this.
gtk2
, on the other hand, will generate these faults for every object in the gdk subdirectory... in this case, removing all instances of "-apo" from the Makefile is much easier.
So far, I've found the following packages which won't build on IRIX/MIPSpro without source code changes:
devel/gettext
devel/gettext-tools
fonts/ttmkfdir2
net/ORBit2
archivers/zip
audio/flac
audio/gqmpeg
audio/speex
audio/vorbis-tools
chat/bitlbee
chat/gaim
graphics/freetype-lib
graphics/freetype-utils
lang/perl5
misc/pinfo
misc/watch
multimedia/libmpeg2
pkgtools/p5-pkgsrc-Dewey
print/ghostscript
security/gnutls
sysutils/findutils
sysutils/gnome-vfs2
textproc/libxml
x11/xterm
... and note that any version of bash3 built on MIPSpro will not work correctly - there's something in there which only likes GCC (the build will complete and bash will run, but some syntax will not be parsed correctly. For example, "echo $(( 3 + 4 ))" should output "7", not "4: command not found".