|HOME||BUILD INSTRUCTIONS||TESTING STATUS||ISSUES|
GETTING OO TO BUILD ON IRIX:
- MUST use gnu tcsh, not the system tcsh [ download ]
- MUST use gnu tar (not the system tar) [ download ]
- Need JDK 1.3 [ download page ]
- Build gcc-3.2, install in (say) /usr/local/gcc-3.2 [ download sources ]
- Build libtool 1.4.2, install in (say) /usr/local/libtool-1.4.2 [ download ]
- GNU nm version 2.11.2
Downloading the source
You can easily get the source from CVS following these steps:
- Set your
% setenv CVSROOT :pserver:firstname.lastname@example.org:/cvs
- Now login to the cvs repository
% cvs login (Logging in to email@example.com) CVS password: anoncvs
- Now checkout the source you require:
Where <CVS Tag> is the Tag or Branch of the source you wish to build.
% cvs co -r <CVS Tag> OpenOffice
Each section will list the Tag / Branch that you should use to build it.
- An alternative to CVS is downloading a tarball of the sources. See the specific build instructions for links to tarballs of the sources.
Patches To Apply
Each section has a list of patches that are applicable to that tree. Simply download the patches and apply them.
How To Apply Patches
Patches can easily be applied using the command:
% patch -N -p0 < <file.diff>
General Polygon Clipper (gpc)
Download the gpc source from
the source files
gpc.c & gpc.h in the directory:
The Build Process
Once you have followed the instructions in the Pre Build section and all patches have been applied, the following procedures need to be followed:
- Firstly you will need to set your PATH environment variable BEFORE you run configure. Make sure the following appear in your
PATHenvironment variable before you proceed any further:
- Path to gcc
- Path to javac
- freeware tools
So for example, if gcc was installed in
JDK was installed in
And freeware tools were installed in
Then you would need to set your
PATHenvironment variable in the following manner:
You will also need to set CC and CXX to gcc and g++ respectively:
% setenv PATH /usr/local/gcc-3.2/bin:/usr/local/java_1.3/usr/java/bin:/usr/freeware/bin:$PATH
% setenv CC gcc % setenv CXX g++
- Next you will need to run the configure script.
% cd $SRC_ROOT/config_office % configure
- In $SRC_ROOT there should now be a file named
% source $SRC_ROOT/IrixMipsEnv.Set
- Run the bootstrap process
This should take a while...
% cd $SRC_ROOT % ./bootstrap
rehashto account for dmake that has now been included the one of the directories in the
- Now you are finally ready to run dmake
This will take a VERY long time!
% cd $SRC_ROOT % dmake
Once OpenOffice.org is fully built, installing it can be done in the following manner:
- In a new terminal, set your DISPLAY environment variable to the remotehost
you wish to display it to. NOTE: Do not use
":0"as your display as this can cause errors. Make sure it is the full name of the host you want to display to.
- Do NOT source the OO environment setting file "IrixMipsEnv.Set"
- Now change to the directory where the installation set resides.
% cd $SRC_ROOT/instsetoo/unxirgm.pro/01/normal
- Make sure you select a Standard Installation
- Once it has been installed, cd to the directory you installed it to, and
./sofficeto run the binary.
- If you wish to install OpenOffice for multiple users, then as root,
install OpenOffice to
command, then get each user to run setup for themselves, by running the command:
% setup -net
% /usr/OpenOffice/program/setupThey will require approx 1.5 Mb of available disk space in their home directories.