Difference between revisions of "OOo Building"

From CDOT Wiki
Jump to: navigation, search
(Get code via anonymous CVS)
(Build Process)
Line 1: Line 1:
 
= Build Process =
 
= Build Process =
  
 +
== Fedora Linux ==
  
== Build dependencies ==
+
=== Build dependencies ===
 
 
=== Linux ===
 
  
 
On Fedora:
 
On Fedora:
Line 11: Line 10:
 
* tcsh (yum install tcsh)
 
* tcsh (yum install tcsh)
  
== Get code via anonymous CVS ==
+
=== Get code via anonymous CVS ===
  
 
  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 19:
 
  # 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 30:
 
  cd ..
 
  cd ..
 
  ./bootstrap
 
  ./bootstrap
 +
 +
=== Do the build ===
  
 
  # Do the build (and time it!)
 
  # Do the build (and time it!)

Revision as of 23:12, 24 April 2008

Build Process

Fedora Linux

Build dependencies

On Fedora:

  • standard development toolchain
  • 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