Difference between revisions of "User:Kr/Building OOo"
From Apache OpenOffice Wiki
< User:Kr
m (→Building) |
(→Building) |
||
Line 19: | Line 19: | ||
# Linux x64 and Java 1.6 | # Linux x64 and Java 1.6 | ||
− | ./configure --disable-mozilla --without-nas --with-system-hsqldb --enable-debug --with-system-python --with-system-boost --with-system-cppunit --with-system-libxslt --with-system-vigra | + | ./configure --disable-mozilla --without-nas --with-system-hsqldb --enable-debug --with-system-python --with-system-boost --with-system-cppunit --with-system-libxslt --with-system-vigra --with-system-zlib |
cd .. | cd .. |
Revision as of 14:46, 24 February 2011
Contents
x86/x64 on Debian based Linuxes
Prerequisites
gnome-devel gawk libsoap-lite-perl libarchive-zip-perl libcupsys2-dev libpam0g-dev libxaw7-dev zip unzip ant rpm cvs sun-java6-jdk bison flex make gperf libhsqldb-java junit4
Building
./conco -v Master=SRC680 -v CWS=unomacli64 # 'create' the unowinreg.dll touch external/unowinreg/unowinreg.dll # configure the office to be build cd config_office # Linux x86 ./configure --disable-mozilla --without-nas # Linux x64 and Java 1.6 ./configure --disable-mozilla --without-nas --with-system-hsqldb --enable-debug --with-system-python --with-system-boost --with-system-cppunit --with-system-libxslt --with-system-vigra --with-system-zlib cd .. ./bootstrap # set the environment vars source <LinuxX86Env.Set> # otherwise the smoketest does not work! setenv PKGFORMAT rpm # build installation sets cd instsetoo_native build --all --dlv_switch -link -P10 -- -P10
Mac OS X
./conco -v Master=SRC680 -v CWS=unomacli64 # 'create' the unowinreg.dll touch external/unowinreg/unowinreg.dll # configure the office to be build cd config_office # MacOSX ./configure --disable-mozilla --without-nas --disable-gtk --disable-gnome-vfs --disable-headless cd .. ./bootstrap # set the environment source MacOSXPPCEnv.Set.sh # build installation sets cd instsetoo_native build --all --dlv_switch -link -P10 -- -P10
Windows
./conco -v Master=SRC680 -v CWS=unomacli64 # 'create' the unowinreg.dll touch external/unowinreg/unowinreg.dll # configure the office to be build cd config_office # Win32 ./configure --disable-mozilla --disable-directx --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC" --with-frame-home="/cygdrive/c/Program Files/Microsoft Visual Studio 8/SDK/v2.0" --with-psdk-home="/cygdrive/d/PSDK" --with-midl-path="/cygdrive/d/PSDK/Bin" --with-asm-home="/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC" --with-jdk-home="/cygdrive/d/j2sdk1.4.2_15" --with-ant-home=/cygdrive/d/apache-ant-1.7.0 --with-use-shell=bash --disable-activex cd .. ./bootstrap # set the environment source <LinuxX86Env.Set> # build installation sets cd instsetoo_native build --all --dlv_switch -link -P10 -- -P10
Solaris 8
./conco -v Master=SRC680 -v CWS=unomacli64 # 'create' the unowinreg.dll touch external/unowinreg/unowinreg.dll setenv CC ... setenv CXX ... # add perl to path setenv PATH ..../bin:$PATH # set JAVAHOME and add to PATH setenv JAVAHOME .../JDK... setenv PATH $JAVAHOME/bin:$PATH # configure the office to be build cd config_office # call configure ./configure --disable-mozilla --without-nas --disable-cups --disable-fontconfig --disable-gtk --disable-gnome-vfs --disable-headless \ --with-ant-home=.../apache-ant-1.6.1 cd .. ./bootstrap # patch GNUMAKE variable in SolarisEnvSparcEnv.Set # setenv GNUMAKE "gmake" # set the environment source SolarisSparcEnv.Set # need to disable Xinerama for some reasons setenv USE_XINERAMA NO # build installation sets cd instsetoo_native build --all --dlv_switch -link -P10 -- -P10