Difference between revisions of "Ubuntu Build Instructions"
(get the source code before the configure step) |
m (minor rephrasing) |
||
Line 13: | Line 13: | ||
libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 libidl-dev liborbit2-dev</pre> | libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 libidl-dev liborbit2-dev</pre> | ||
− | + | If you want to use the system provided libraries instead of building them for yourself you should get their development packages by running: | |
<pre> | <pre> | ||
Line 22: | Line 22: | ||
The java package depends on your Ubuntu version: | The java package depends on your Ubuntu version: | ||
− | For 9.10 Karmic Koala and | + | For Ubuntu 9.10 ("Karmic Koala") and 10.04 ("Lucid Lynx") you must activate the "ubuntu lucid partner" archive in the software sources and run |
<pre> | <pre> | ||
sudo apt-get install sun-java6-jdk | sudo apt-get install sun-java6-jdk | ||
</pre> | </pre> | ||
− | For 11.04 run | + | For Ubuntu 11.04 and up please run |
<pre> | <pre> | ||
sudo apt-get install openjdk-6-jdk | sudo apt-get install openjdk-6-jdk | ||
Line 43: | Line 43: | ||
svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo | svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo | ||
</pre> | </pre> | ||
− | |||
Then the configure step will help you to find out if all is there: | Then the configure step will help you to find out if all is there: |
Revision as of 12:27, 31 January 2013
Preparing to build Apache OpenOffice on Ubuntu
To get and build Apache OpenOffice you need some packages. You can get them with:
sudo apt-get install svn g++ gcc bison flex libarchive-zip-perl libcups2-dev libpam0g-dev \ gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev libxrandr-dev patch \ libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 libidl-dev liborbit2-dev
If you want to use the system provided libraries instead of building them for yourself you should get their development packages by running:
sudo apt-get install python-dev ccache libgraphite-dev \ libwpd-dev libxslt-dev libhunspell-dev libaltlinuxhyph-dev
The java package depends on your Ubuntu version:
For Ubuntu 9.10 ("Karmic Koala") and 10.04 ("Lucid Lynx") you must activate the "ubuntu lucid partner" archive in the software sources and run
sudo apt-get install sun-java6-jdk
For Ubuntu 11.04 and up please run
sudo apt-get install openjdk-6-jdk
To make sure that all packages are installed you could just simply run command:
sudo apt-get build-dep openoffice.org
Testing the Prerequisites
First download the source code:
svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo
Then the configure step will help you to find out if all is there:
cd aoo/main autoconf ./configure --disable-mozilla --with-junit="/usr/share/java/junit4.jar"
For other options regarding mozilla code please see here.
Building Apache OpenOffice
Now that the Ubuntu specific prerequisites are met please follow the general Building Guide to continue. You might find the page Debug Build Problems interesting too.