Difference between revisions of "Ubuntu Build Instructions"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (category)
(major additions)
Line 1: Line 1:
This tutorial will assume a stock Ubuntu 5.10 (Breezy) installation.
+
This tutorial will assume a stock [http://www.ubuntu.com/download Ubuntu] 5.10 (Breezy) system as a starting point.  One may obtain <code>ooo-build</code> via CVS according to instructions on the [[Getting It]] page. You should then enter the <code>ooo-build</code> directory and run <code>./autogen.sh --with-distro=Ubuntu</code>. Most likely you'll also want to add the <code>--disable-kde</code> flag (unless you're using [http://www.kubuntu.org/ Kubuntu]).
  
 
===Additional Required Packages===
 
===Additional Required Packages===
 +
Packages may be obtained as follows:
 +
 +
  sudo apt-get install ''package_name [additional_package(s)]''
  
 
*libmono-dev
 
*libmono-dev
*''[please fill out the rest of this list!]''
+
*''[please populate the rest of this list!]''
 +
 
 +
 
 +
===Failed patches===
 +
As of 5/24/2006, the following patches listed in <code>ooo-build/patches/apply</code> do not apply successfully:
 +
*disable-helpcontent2.diff
 +
*ubuntu-lpi.diff
 +
*ubuntu-dictionary.diff
 +
*fontconfig-substitute.diff
  
 +
===Tips===
 +
A shell script like the one below will alert your attention upon completion of the quite lengthy build process.  Run it after <code>./download</code> completes.
 +
<code>
 +
  #!/bin/bash
 +
  #echo "Starting 'make' wrapper..."
 +
  cd ~/ooo-build
 +
  make
 +
  echo "\n\nCompilation finished."
 +
  mplayer -really-quiet ~/Music/My_Music_File.mp3
 +
</code>
  
 
===Caveats===
 
===Caveats===
Don't do something silly like run <code>udatedb</code> while <code>make</code> is in progress.
+
Don't do something silly like run <code>udatedb</code> while <code>make</code> is in progress. This will result in locking the filesystem as read-only.
  
 +
===See also===
 +
*[[Debug_Build_Problems]]
  
  
 
[[Category: Distribution-Specific Build Instructions]]
 
[[Category: Distribution-Specific Build Instructions]]

Revision as of 07:59, 24 May 2006

This tutorial will assume a stock Ubuntu 5.10 (Breezy) system as a starting point. One may obtain ooo-build via CVS according to instructions on the Getting It page. You should then enter the ooo-build directory and run ./autogen.sh --with-distro=Ubuntu. Most likely you'll also want to add the --disable-kde flag (unless you're using Kubuntu).

Additional Required Packages

Packages may be obtained as follows:

 sudo apt-get install package_name [additional_package(s)]
  • libmono-dev
  • [please populate the rest of this list!]


Failed patches

As of 5/24/2006, the following patches listed in ooo-build/patches/apply do not apply successfully:

  • disable-helpcontent2.diff
  • ubuntu-lpi.diff
  • ubuntu-dictionary.diff
  • fontconfig-substitute.diff

Tips

A shell script like the one below will alert your attention upon completion of the quite lengthy build process. Run it after ./download completes.

 #!/bin/bash
 #echo "Starting 'make' wrapper..."
 cd ~/ooo-build
 make
 echo "\n\nCompilation finished."
 mplayer -really-quiet ~/Music/My_Music_File.mp3

Caveats

Don't do something silly like run udatedb while make is in progress. This will result in locking the filesystem as read-only.

See also

Personal tools