Difference between revisions of "Gentoo build instructions"

From Apache OpenOffice Wiki
Jump to: navigation, search
(configure)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
|ShowPrevPage=none
 
|ShowPrevPage=none
 
}}
 
}}
{{Documentation/Note|Please add only gentoo-specifics here! Use the information on the [[Development/OpenOffice.org Building Guide/Building on Linux|Building Guide]] and only fall back to this document if you need help with gentoo-specifics (like package names).}}
+
{{Note|Please add only gentoo-specifics here! Use the information on the [[Development/OpenOffice.org Building Guide/Building on Linux|Building Guide]] and only fall back to this document if you need help with gentoo-specifics (like package names).}}
 
=== packages ===
 
=== packages ===
 
Usable gentoo packages:
 
Usable gentoo packages:
Line 18: Line 18:
 
  media-libs/vigra
 
  media-libs/vigra
  
{{Documentation/Note|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.}}
+
{{Note|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 ===
 
=== configure ===
 
Sample configure command (trying to use as much gentoo provided packages as possible):
 
Sample configure command (trying to use as much gentoo provided packages as possible):
 
  ./configure \
 
  ./configure \
  --with-use-shell=bash \
 
 
   --with-jdk-home=$(java-config -O) \
 
   --with-jdk-home=$(java-config -O) \
 
   --with-system-libs \
 
   --with-system-libs \

Latest revision as of 10:40, 7 July 2018

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

]]

[[{{{NextPage}}}|Next Page
>]]
Documentation note.png 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
Documentation note.png 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.

Personal tools