OOo Building

From CDOT Wiki
Revision as of 23:21, 24 April 2008 by Chris Tyler (talk | contribs) (Get code via anonymous CVS)
Jump to: navigation, search

Build Process

Fedora Linux

Build dependencies

  • standard development toolchain (yum groupinstall development-libs development-tools gnome-software-development java-development legacy-software-development x-software-development)
  • gperf (yum install gperf)
  • tcsh (yum install tcsh)

Get code via anonymous CVS

Caution: the source is huge -- you will need ~5 GB of free space

export 'CVSROOT=:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs'  # set server information
# Login to server -- password is "anoncvs"
cvs login
# Check out the source code 
cvs co OpenOffice2

Configure for platform and Build tools

# Configure for your platform - here Java and Mozilla are disabled (or install appropriate build dependencies)
cd config_office
./configure --without-java --disable-mozilla
# NB - A problem may be reported on line 2011 of an output shell script -- fix quotes (change " to ' on that line) and retry that one script
# Set up the build tools
cd ..
./bootstrap

Do the build

# Do the build (and time it!)
time dmake

Resources

Tips page - include info on using CVS http://wiki.services.openoffice.org/wiki/Tips

CVS client setup http://tools.openoffice.org/servlets/ProjectSource