Difference between revisions of "Ubuntu Build Instructions"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Ubuntu 9.10 Karmic Koala)
(Ubuntu 9.10 Karmic Koala and Ubuntu 10.04 Lucid Lynx)
Line 8: Line 8:
 
To build you need the following packages:
 
To build you need the following packages:
 
<pre>
 
<pre>
sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev libpam0g-dev subversion \
+
sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev libpam0g-dev \
 
sun-java6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev libxrandr-dev patch \
 
sun-java6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev libxrandr-dev patch \
libgconf2-dev libgnomevfs2-dev ant python-dev libgtk2.0-dev ccache libgraphite-dev \
+
libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit </pre>
libwpd8-dev libxslt-dev libdb4.7-dev libneon27-dev libhunspell-dev libaltlinuxhyph-dev
+
 
</pre>
+
For the sun jdk you must activate the "ubuntu lucid partner" archive in the software sources.
or use this url:
+
 
 +
Then you can build OOo with ./configure --with-use-shell=bash --disable-mozilla
 +
 
 +
For other options regarding mozilla code please see [[Documentation/Building_Guide/Building_on_Linux#create_prebuilt_mozilla|here]].
 +
 
 +
In case you want to get some libraries from the system instead of building them yourself, the following packages are candidates to be installed also:
 +
 
 
<pre>
 
<pre>
apt:g++,gcc,bison,flex,libarchive-zip-perl,libcups2-dev,libpam0g-dev,subversion,sun-java6-jdk,gperf,libfreetype6-dev,libxaw7-dev,libfontconfig1-dev,libxrandr-dev,patch,libgconf2-dev,libgnomevfs2-dev,ant,python-dev,libgtk2.0-dev,ccache,libgraphite-dev,libwpd8-dev,libxslt-dev,libdb4.7-dev,libneon27-dev,libhunspell-dev,libaltlinuxhyph-dev
+
sudo apt-get install python-dev ccache libgraphite-dev \
 +
libwpd8-dev libxslt-dev libdb4.7-dev libneon27-dev libhunspell-dev libaltlinuxhyph-dev
 
</pre>
 
</pre>
  
then follow the '''[[Documentation/Building Guide|Building Guide]]''' to continue.
+
Then follow the '''[[Documentation/Building Guide|Building Guide]]''' to continue.
  
 
==See also==
 
==See also==

Revision as of 19:35, 17 June 2010

[[{{{PrevPage}}}|< Previous Page

]]

[[{{{NextPage}}}|Next Page
>]]
Template:Documentation/Note

Ubuntu 9.10 Karmic Koala and Ubuntu 10.04 Lucid Lynx

To build you need the following packages:

sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev libpam0g-dev \
sun-java6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev libxrandr-dev patch \
libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit 

For the sun jdk you must activate the "ubuntu lucid partner" archive in the software sources.

Then you can build OOo with ./configure --with-use-shell=bash --disable-mozilla

For other options regarding mozilla code please see here.

In case you want to get some libraries from the system instead of building them yourself, the following packages are candidates to be installed also:

sudo apt-get install python-dev ccache libgraphite-dev \
libwpd8-dev libxslt-dev libdb4.7-dev libneon27-dev libhunspell-dev libaltlinuxhyph-dev

Then follow the Building Guide to continue.

See also

Personal tools