Difference between revisions of "Database/Drivers/MySQL Native/OOoBuildEnvironment"
From Apache OpenOffice Wiki
< Database | Drivers | MySQL Native
(→Configure OOo) |
(→Configure OOo) |
||
Line 27: | Line 27: | ||
* ant >= 1.6.0 | * ant >= 1.6.0 | ||
* Perl::Archive::Zip | * Perl::Archive::Zip | ||
− | * Java 1.5 (NOT 1.6!) - but it should be installed by default | + | * Java 1.5 (NOT 1.4, NOT 1.6!) - but it should be installed by default |
* ccache - it helps... reserve some 3GB for it (ccache -M 3G). You can change the ccache dir from ~/.ccache to something else with an option. | * ccache - it helps... reserve some 3GB for it (ccache -M 3G). You can change the ccache dir from ~/.ccache to something else with an option. | ||
Line 36: | Line 36: | ||
Try ./configure and install everything what's missing, if need be. Hint: leave a hint on this wiki page for others, in case anything is missing :). | Try ./configure and install everything what's missing, if need be. Hint: leave a hint on this wiki page for others, in case anything is missing :). | ||
− | |||
<code><pre> | <code><pre> | ||
− | ./configure --disable-mediawiki --disable-build-mozilla --with-use-shell=bash --with-system-freetype | + | ./configure --disable-mediawiki --disable-build-mozilla --with-use-shell=bash --with-system-freetype |
</pre></code> | </pre></code> | ||
Revision as of 20:41, 15 May 2008
Contents
How to set up an OpenOffice.org Build environment for C/OOo development
Requirements
For the first step use:
- VMWare
- Linux
- 32bit
Setup
Check out the OpenOffice.org source required for C/OOo development
mkdir OpenOffice3
cd OpenOffice3/
cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs checkout -r DEV300_m10 OpenOffice3
cd config_office/
Configure OOo
Your system might not need the --with-system-freetype and with-jdk-home options. You may have to install a bunch of additional packages. For SuSE 10.3 its likely that you need to install:
- xorg-*-devel
- gperf - perfect hash generator
- ant >= 1.6.0
- Perl::Archive::Zip
- Java 1.5 (NOT 1.4, NOT 1.6!) - but it should be installed by default
- ccache - it helps... reserve some 3GB for it (ccache -M 3G). You can change the ccache dir from ~/.ccache to something else with an option.
You also nedd to download some files and put them in certain directories:
- Unowinreg: http://tools.openoffice.org/unowinreg_prebuild/680/ -> external/unowinreg/
- Mozilla: http://tools.openoffice.org/moz_prebuild/680/<OS>[inc|lib|runtime].zip -> moz/zipped/
Try ./configure and install everything what's missing, if need be. Hint: leave a hint on this wiki page for others, in case anything is missing :).
./configure --disable-mediawiki --disable-build-mozilla --with-use-shell=bash --with-system-freetype
Bootstrap and Build
cd ../
./bootstrap
source LinuxX86Env.Set.sh
dmake