Difference between revisions of "Database/Drivers/MySQL Native/OOoBuildEnvironment"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Setup)
(Setup)
Line 11: Line 11:
 
== Setup ==
 
== Setup ==
  
* Check out the OpenOffice.org source required for C/OOo development
+
=== Check out the OpenOffice.org source required for C/OOo development ===
 
<code><pre>
 
<code><pre>
 
mkdir OpenOffice3
 
mkdir OpenOffice3
Line 20: Line 20:
 
</pre></code>
 
</pre></code>
  
* Configure OOo  
+
=== 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:
 
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
+
* xorg-*-devel
** gprof
+
* gprof
** ant
+
* ant
** Perl::Archive::Zip
+
* Perl::Archive::Zip
** Java 1.5 (NOT 1.6!) - but it should be installed by default
+
* Java 1.5 (NOT 1.6!) - but it should be installed by default
 +
* ccache - it helps... reserve some 3GB for it
  
 
You also nedd to download some files and put them in certain directories:
 
You also nedd to download some files and put them in certain directories:
** A
+
* A
** B
+
* B
  
 
After this is done, try the configure and install everything what's missing
 
After this is done, try the configure and install everything what's missing
Line 40: Line 41:
 
</pre></code>
 
</pre></code>
  
* Bootstrap
+
=== Bootstrap and Build ===
 +
 
 
<code><pre>
 
<code><pre>
 
cd ../
 
cd ../

Revision as of 13:12, 15 May 2008

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
cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs update -r cws_src680_mysqlnative 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
  • gprof
  • ant
  • Perl::Archive::Zip
  • Java 1.5 (NOT 1.6!) - but it should be installed by default
  • ccache - it helps... reserve some 3GB for it

You also nedd to download some files and put them in certain directories:

  • A
  • B

After this is done, try the configure and install everything what's missing

./configure --disable-mediawiki --disable-build-mozilla --with-use-shell=bash --with-system-freetype --with-jdk-home=/usr   

Bootstrap and Build

cd ../
./bootstrap
source LinuxX86Env.Set.sh
dmake
Personal tools