How to build Symphony's source code

From Apache OpenOffice Wiki
Revision as of 06:09, 18 May 2012 by EricHuang (Talk | contribs)

Jump to: navigation, search

Symphony officially can be built on the following platforms

System Architecture
Windows XP, x86
Linux - Ubuntu 11.04, x86
Linux - Suse 10, x86
Mac OS X - 10.5/10.6, intel x86

It's easy for developer to reuse Apache OpenOffice's build environment on Symphony's source code. This article assumes that you have already made a successful build for Apache OpenOffice 3.4. If you have not, please refer to the following pages.

Getting Symphony's source code

You can get Symphony's source code from ???. Please make sure that all the source code dirs are under SRC_ROOT and you can locate to all the modules at SRC_ROOT/main

Building Symphony on Windows

You can make a full build for Symphony with cygwin on Windows platform.

Software requirements

Starting build

You can run the commands below to start a full build on Windows. Please follow the configure swtichers strictly. Symphony does not officially support any other configure switcher.

 cd $SRC_ROOT/main
 ./configure \
     --with-cl-home="/cygdrive/c/" \
     --with-mspdb-path="/cygdrive/c/" \
     --with-asm-home="/cygdrive/c/" \
     --with-frame-home="/cygdrive/c/" \
     --with-psdk-home="/cygdrive/c/" \
     --with-midl-path="/cygdrive/c/" \
     --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5" \
     --with-jdk-home="/cygdrive/c/" \
     --with-ant-home="/cygdrive/c/" \
     --with-directx-home="/cygdrive/c/" \
     --with-nsis-path="/cygdrive/c/" \
     --with-dmake-url="" \
     --with-epm-url="" \
     --with-mozilla-build="/cygdrive/c/" \
     --with-use-shell=bash \
     --without-junit \
     --disable-build-mozilla \
     --disable-odk \
     --enable-category-b \
 cd instsetoo_native/
 build --all -P4

You can finnaly get the installation packages at


Building Symphony on MacOSX

Building Symphony on Linux - Ubuntu

Building Symphony on Linux - Suse

Personal tools