![]() |
Mozilla IRIX buildLast update: Mar 16, 1999jasonh@sgi.com The "viewer" and "apprunner" should build if you use egcs 1.1.1 and build for N32. We have built it here on IRIX 6.2 and IRIX 6.5.3. I would recommend grabbing the lastest patch set for IRIX 6.2 just to be safe because early versions of IRIX 6.2 had some issues with pthreads. If you need it, the latest patch set can be found on Supportfolio Online. For now, you will need to have the IRIX native compilers in order to build the NSPR library and you will probably need it to bootstrap egcs 1.1.1. When the Freeware CD is updated you may no longer need them. If you want to do development on Mozilla on IRIX and you don't have the IRIX compilers then contact me and I'll try to send you the prebuilt NSPR libs and egcs 1.1.1. Several of the Makefiles and configure scripts assume that the libraries are always located in /xxx/lib and not /xxx/lib32 so this can be a bit of a problem. I have fixed up several of them, but the easiest thing to do is probably to just install your libs into /usr/lib32 (or install them somewhere else and symlink them there) so you don't have to do anything special to get the configure script to find them. You will need some freeware tools and I'd recommend just grabbing them from http://freeware.sgi.com Grab these packages: fw_autoconf (v 2.12), fw_cvs, fw_gawk, fw_m4, fw_make, fw_texinfo. Do not grab the gtk+ and glib you see there. You will need a newer version of glib and gtk+ than the one on the SGI Freeware site, so get that from http://gtk.org, build it, and put the libraries in /usr/lib32 You will need egcs 1.1.1 from http://www.cygnus.com. I built mine as follows for IRIX 6.5 (just make the obvious substitutions for IRIX 6.2)
set path = ( $path /usr/freeware/bin )
cd egcs-1.1.1
mkdir mips-sgi-irix6.5
../configure --prefix=/usr/freeware --enable-threads mips-sgi-irix6.5
gmake MAKEINFO="makeinfo --no-split" bootstrap-lean
su
gmake install prefix=/usr/freeware MAKEINFO="makeinfo --no-split"
This will put egcs and libstdc++ into /usr/freeware. A future Freeware CD will include all these packages to make life easier. Note: if you are behind a firewall and using socks v4, you might want to install pcp_gifts.sw.pcp_socks (if you have it) as the program "pmsocks" can help cvs to get through the firewall. Write a small wrapper script called "cvs" which calls pmsocks and the real cvs program so you can get out the firewall.
Build NSPR with IRIX native N32 compilers, v7.2.1Install the libs into /usr/local/nspr/lib32
% cd mozilla
% gmake -C nsprpub DIST=/usr/local/nspr NSDISTMODE=copy \
MOZILLA_CLIENT=0 NO_MDUPDATE=1 NS_USER_NATIVE= \
USE_PTHREADS=1 export
and then make some symlinks from /usr/lib32 to these libraries
which are now in /usr/local/nsprlib/lib32 (if you find the
libraries in /usr/local/nsprlib/lib instead, you may need to
move them to lib32 -- I have sent in some patches for NSPR to
install in the correct dir for IRIX N32.)
If you get errors about "invalid WHIRL file" when compiling NSPR then you may be using older compilers, so make sure you are using the MipsPro C compiler >= 7.2.1
Build the rest of Mozilla with egcs 1.1.1% cd mozilla % autoconf -l build/autoconf % mkdir -p ../obj-mips-sgi-irix6.5 % cd ../obj-mips-sgi-irix6.5 % ../mozilla/configure --enable-debug --cache-file=/dev/null % gmake depend % gmakeYou're done! Run as follows % cd dist/bin % setenv LD_LIBRARYN32_PATH . % ./apprunner
|
|||||||
| Copyright © 1998-1999 The Mozilla Organization. | |||||||