HOME | BUILD INSTRUCTIONS | TESTING STATUS | ISSUES | |
GENERAL | ||||
OpenOffice.org 1.0.3 |
You can easily get the source from CVS following these steps:
CVSROOT
environment variable
% setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs
% cvs login
(Logging in to anoncvs@anoncvs.services.openoffice.org)
CVS password: anoncvs
% cvs co -r <CVS Tag> OpenOffice
Where <CVS Tag> is the Tag or Branch of the
source you wish to build.
Each section has a list of patches that are applicable to that tree. Simply download the patches and apply them.
Patches can easily be applied using the command:
% patch -N -p0 < <file.diff>
Download the gpc source from
here. Place
the source files gpc.c & gpc.h
in the directory:
$SRC_ROOT/external/gpc
.
Once you have followed the instructions in the Pre Build section and all patches have been applied, the following procedures need to be followed:
PATH
environment variable before you proceed any further:
So for example, if gcc was installed in
JDK was installed in
/usr/local/gcc-3.2
And freeware tools were installed in
/usr/local/java
Then you would need to set your
/usr/freeware
PATH
environment 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++
% cd $SRC_ROOT/config_office
% configure
% cd $SRC_ROOT
% ./bootstrap
This should take a while...
rehash
to account for dmake
that has now been included the one of the directories in the
PATH
environment variable.
% rehash
% cd $SRC_ROOT
% dmake
This will take a VERY long time!
Once OpenOffice.org is fully built, installing it can be done in the following manner:
"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.
% cd $SRC_ROOT/instsetoo/unxirgm.pro/01/normal
and start the installation,
% ./setup
./soffice
to run the binary.
/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.