OOo Building
Contents
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)
- yum install java-1.5.0-devel
- yum install tcsh zip findutils autoconf flex bison ant icu gcc-c++ perl-Compress-Zlib binutils unixODBC-devel xalan-j2 prelink gdb zlib-devel vigra-devel hsqldb freetype-devel gtk2-devel gnome-vfs2-devel cups-devel bsh curl-devel boost-devel python-devel expat-devel libXt-devel libxml2-devel neon-devel libidn-devel pam-devel libjpeg-devel sane-backends-devel libICE-devel hunspell-devel evolution-data-server-devel libxslt-devel desktop-file-utils libxslt-devel db4-devel firefox-devel libwpd-devel xerces-j2 gstreamer-devel gstreamer-plugins-base-devel libicu-devel perl-Archive-Zip libtextcat-devel nss-devel
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