Gentoo build instructions
From Apache OpenOffice Wiki
Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page |
}} ]] |
Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page |
}} >]] |
Please add only gentoo-specifics here! Use the information on the Building Guide and only fall back to this document if you need help with gentoo-specifics (like package names). |
packages
Usable gentoo packages:
app-arch/rpm app-arch/dpkg dev-lang/python dev-libs/icu dev-java/lucene-analyzers dev-java/saxon dev-java/sun-jdk dev-perl/Archive-Zip dev-util/ccache media-gfx/xsane media-libs/vigra
There might be additional packages needed, but they are not listed yet, because they where already installed as a implicit dep on the sample system. |
configure
Sample configure command (trying to use as much gentoo provided packages as possible):
./configure \ --with-jdk-home=$(java-config -O) \ --with-system-libs \ --with-system-headers \ --with-system-jars \ --with-hsqldb-jar=$(java-config-2 -p hsqldb|tr ":" "\n"|grep hsqldb.jar) \ --with-lucene-core-jar=$(java-config-2 -p lucene-2.4|tr ":" "\n"|grep lucene-core.jar) \ --with-lucene-analyzers-jar=$(java-config-2 -p lucene-analyzers-2.3) \ --with-saxon-jar=$(java-config-2 -p saxon|tr ":" "\n"|grep saxon8.jar) \ --with-beanshell-jar=$(java-config-2 -p bsh) \ --without-system-agg \ --without-system-lpsolve \ --without-system-mspack \ --without-system-graphite \ --without-system-altlinuxhyph \ --disable-mozilla \ --disable-binfilter
On recently it might be needed to set:
--with-saxon-jar=$(java-config-2 -p saxon-9)
instead.