Difference between revisions of "OOo Building"

From CDOT Wiki
Jump to: navigation, search
(Get code via anonymous CVS)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
'''WARNING:''' This is a work-in-progress!
 +
 
= Build Process =
 
= Build Process =
  
 +
== Fedora Linux ==
  
== Build dependencies ==
+
=== Build dependencies ===
  
=== Linux ===
+
* standard development toolchain (yum groupinstall development-libs development-tools gnome-software-development java-development legacy-software-development x-software-development)
  
On Fedora:
+
* yum install java-1.5.0-devel
* standard development toolchain
+
* 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
* gperf (yum install gperf)
 
* tcsh (yum install tcsh)
 
  
== Get code via anonymous CVS ==
+
=== 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
 
  export 'CVSROOT=:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs'  # set server information
Line 20: Line 24:
 
  # Check out the source code  
 
  # Check out the source code  
 
  cvs co OpenOffice2
 
  cvs co OpenOffice2
 +
 +
=== Configure for platform and Build tools ===
  
 
  # Configure for your platform - here Java and Mozilla are disabled (or install appropriate build dependencies)
 
  # Configure for your platform - here Java and Mozilla are disabled (or install appropriate build dependencies)
Line 29: Line 35:
 
  cd ..
 
  cd ..
 
  ./bootstrap
 
  ./bootstrap
 +
 +
=== Do the build ===
  
 
  # Do the build (and time it!)
 
  # Do the build (and time it!)

Latest revision as of 08:03, 25 April 2008

WARNING: This is a work-in-progress!

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