Skip to content

You are not logged in. Register orLog In

start:

GETTING OO TO BUILD ON IRIX:

Pre-Requisites:

  • 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 CVSROOT environment variable
          % setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs
      
  • Now login to the cvs repository
          % cvs login
    
          (Logging in to anoncvs@anoncvs.services.openoffice.org)
    
          CVS password: anoncvs
      
  • Now checkout the source you require:
          % cvs co -r <CVS Tag> OpenOffice
      
    Where <CVS Tag> is the Tag or Branch of the source you wish to build.
    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.

PreBuild

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 here. Place the source files gpc.c & gpc.h in the directory: $SRC_ROOT/external/gpc.

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 PATH environment variable before you proceed any further:
    • Path to gcc
    • Path to javac
    • freeware tools

    So for example, if gcc was installed in

      /usr/local/gcc-3.2
    JDK was installed in
      /usr/local/java
    And freeware tools were installed in
      /usr/freeware
    Then you would need to set your PATH environment variable in the following manner:
      % setenv PATH /usr/local/gcc-3.2/bin:/usr/local/java_1.3/usr/java/bin:/usr/freeware/bin:$PATH
      
    You will also need to set CC and CXX to gcc and g++ respectively:
      % 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
          % cd $SRC_ROOT
          % ./bootstrap
    This should take a while...

  • Run rehash to account for dmake that has now been included the one of the directories in the PATH environment variable.
          % rehash
      

  • Now you are finally ready to run dmake
          % cd $SRC_ROOT
          % dmake
    This will take a VERY long time!

Installing OpenOffice.org

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 "localhost" or ":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
    and start the installation,
      % ./setup
  • Make sure you select a Standard Installation
  • Once it has been installed, cd to the directory you installed it to, and simply type ./soffice to run the binary.
  • If you wish to install OpenOffice for multiple users, then as root, install OpenOffice to /usr/OpenOffice using the
    	  % setup -net
    command, then get each user to run setup for themselves, by running the command:
    	  % /usr/OpenOffice/program/setup
    They will require approx 1.5 Mb of available disk space in their home directories.