OOo Windows Build

From CDOT Wiki
Jump to: navigation, search

Openoffice.org Build on Windows Server 2008

OOo Mac Build - OOo Fedora Build

  • Resources

OpenOffice.org development for Windows: http://wiki.services.openoffice.org/wiki/Windows

Building OOo with Cygwin on Windows: http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows

  • Who is working where?
CDOT Computer Status - Who is working where
Student Name CDOT Computer Name Operation Status
Ryan Wang (irc:rmwang) Local machine Preparing instruction Setting up the environment
Fred Wang (irc:wfred) Local machine Setting up the environment
Jerry Pau (irc:jtpau) Local machine Setting up the environment

Currently trying to build on a 32bit Windows 2008 system.

Let me know if you are interested working together!

- Ryan

Getting the Required Tools


You can download Microsoft applications from the Seneca College ACS download page.

Click on the MSDNAA License on the left panel of the download page in order to acquire license keys.

After installing Visual Studio 2008, you will need to add path a path to the location of Visual Studio C Compilers. Add this location to your system path and restart Windows to apply changes

C:\Program Files\Microsoft Visual Studio 9.0\VC\bin


Getting the Source Code

OpenOffice source anonymous checkout using TortoiseSVN:

Downloading speed seems to be fairly good.

It shows speed of 300 to 600 kBytes/s with Rogers Cable.

...
Added: C:\OpenOfficeSource\cppcanvas\util\cppcanvas.flt  
Added: C:\OpenOfficeSource\cppcanvas\util\makefile.mk  
Completed: At revision: 267579  
584.80 MBytes transferred in 37 minute(s) and 5 second(s)
Added:75247


Additional files (Copy files to the specified folder)

  • Platform SDK Redistributable: GDI+ (/external/gdiplus)
  • unicows.dll (/external/unicows)
  • instmsiw.exe and instmsia.exe (/external/dbghelp)
  • GPC - General Polygon Clipper library (Unzip to /external/gpc)
  • WNTMSCIinc.zip, WNTMSCIlib.zip and WNTMSCIruntime.zip (/moz/zipped)
  • C:\Program Files\Common Files\Merge Modules\Microsoft_VC90_CRT_x86.msm (/external/msm90)
  • C:\Program Files\Common Files\Merge Modules\policy_9_0_Microsoft_VC90_CRT_x86.msm (/external/msm90)
  • C:\Program Files\Common Files\Merge Modules\Microsoft_VC90_DebugCRT_x86.msm (/external/msm90)
  • C:\Program Files\Common Files\Merge Modules\policy_9_0_Microsoft_VC90_DebugCRT_x86.msm (/external/msm90)
  • C:\Windows\System32\msvcr71.dll (/external/msvcp71)
  • C:\Windows\System32\msvcp71.dll (/external/msvcp71) Note that the filename is lowercase!


Setting Environment Variables

  • Run Cygwin terminal and apply the follows:
export WINDOWS_VISTA_PSDK=TRUE
export DISABLE_ATL=TRUE
export DISABLE_ACTIVEX=TRUE
  • Additional Perl Modules Installation with CPAN

Start CPAN and install additional modules by typing following commands in the Cygwin terminal.

export FTP_PASSIVE="1"
perl -MCPAN -e shell

Now, you will see the "cpan>" prompt. Install the required modules by typing the following commands:

install Archive::Zip
install XML::Parser
  • SSLeay Installation

- Download the SSLeay installation tarball from here and extract to C:\ or to a preferred location of yours.

- Open another Cygwin terminal and go to the folder you have extracted and install the SSLeay module by typing

cd /cygdrive/c/Crypt-SSLeay-0.07
export SHELL=cmd.exe
perl Makefile.PL 
nmake


to be continued...

Setting C and C++ compilers

Configuring The Source

Bootstrapping

Build