|
|
| (245 intermediate revisions by 26 users not shown) |
| Line 1: |
Line 1: |
| − | This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code. A more thorough explanation of what the individual steps do and why they are necessary can be found in the [[Documentation/Building_Guide_AOO|building guide]].
| + | #REDIRECT [[Documentation/Building Guide AOO#Step-by-Step Building Guide for Different Platforms]] |
| − | | |
| − | ==Ubuntu 12.04==
| |
| − | | |
| − | *Setup VirtualBox with Ubuntu 12.04 64 bit on Windows7 64bit host. A native installation is of course fine, too.
| |
| − | *Let updater update ca. 380 packages. Restart.
| |
| − | | |
| − | * Download AOO 3.4.1 source tarball from
| |
| − | http://people.apache.org/~jsc/developer-snapshots/r1372282/src/aoo-3.4.1-incubating-src.tar.bz2
| |
| − | | |
| − | * Optional: Download signature from
| |
| − | http://people.apache.org/~jsc/developer-snapshots/r1372282/src/aoo-3.4.1-incubating-src.tar.bz2.asc
| |
| − | | |
| − | and verify the source tarball with
| |
| − | gpg --verify aoo-3.4.1-incubating-src.tar.bz2.asc aoo-3.4.1-incubating-src.tar.bz2
| |
| − | Note that you have to have the keys already imported to your key chain.
| |
| − | The keys can be found on the download page:
| |
| − | | |
| − | http://www.apache.org/dist/incubator/ooo/KEYS
| |
| − | | |
| − | * Unpack source:
| |
| − | cd /tmp
| |
| − | tar -xjf ~/Downloads/aoo-3.4.1-incubating-src.tar.bz2
| |
| − | cd aoo-3.4.1/main
| |
| − | | |
| − | * Install requirements (this will also install packages that are not listed):
| |
| − | sudo apt-get install 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 openjdk-6-jdk libwww-perl \
| |
| − | libxml-parser-perl autoconf libssl-dev
| |
| − | | |
| − | * Run autoconf to generate configure script:
| |
| − | autoconf
| |
| − | | |
| − | * Configure:
| |
| − | ./configure \
| |
| − | --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 \
| |
| − | --with-epm-url=http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz \
| |
| − | --disable-odk \
| |
| − | --disable-binfilter
| |
| − | | |
| − | * Finish configuration and download missing tarballs and extensions:
| |
| − | ./bootstrap
| |
| − | | |
| − | * Include the configured environment:
| |
| − | source LinuxX86-64Env.Set.sh
| |
| − | | |
| − | * Build:
| |
| − | cd instsetoo_native/
| |
| − | build --all
| |
| − | | |
| − | * Install:
| |
| − | sudo dpkg -i unxlngx6.pro/OpenOffice/deb/install/en-US/DEBS/*.deb
| |
| − | sudo dpkg -i unxlngx6.pro/OpenOffice/deb/install/en-US/DEBS/desktop-integration/openoffice.org3.4-debian-menus_3.4-9593_all.deb
| |
| − | | |
| − | * Start Apache OpenOffice:
| |
| − | /opt/openoffice.org3/program/soffice
| |