OOo Building

From CDOT Wiki
Revision as of 00:17, 25 April 2008 by Chris Tyler (talk | contribs) (Build dependencies)
Jump to: navigation, search

Build Process

Fedora Linux

Build dependencies

On Fedora:

  • 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

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