Difference between revisions of "OOo Windows Build"

From CDOT Wiki
Jump to: navigation, search
m (Getting the Required Tools)
m (Getting the Required Tools)
Line 37: Line 37:
  
 
* [http://www.cygwin.com/setup.exe Cygwin - Linux-like environment for Windows]
 
* [http://www.cygwin.com/setup.exe Cygwin - Linux-like environment for Windows]
* [http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe Microsoft NMAKE 1.4] - Download the executable and copy/paste to C:\cygwin\bin
+
* [http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe Microsoft NMAKE 1.4] - This is a self-extract package. Copy and paste the extracted NMAKE.EXE file to C:\cygwin\bin
  
 
* [https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=j2sdk-1.4.2_11-oth-JPR@CDS-CDS_Developer Java 2 SDK, Standard Edition 1.4.2_11 for Windows] - It will be installed on "C:\j2sdk1.4.2_11" as default. Do not change the location!
 
* [https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=j2sdk-1.4.2_11-oth-JPR@CDS-CDS_Developer Java 2 SDK, Standard Edition 1.4.2_11 for Windows] - It will be installed on "C:\j2sdk1.4.2_11" as default. Do not change the location!

Revision as of 01:31, 12 February 2009

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

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.

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 

- You will now be asked for the location of the SSLeay source. Type in the location of the folder where you have extracted the folder.

Which SSLeay do you want to link against? /cygdrive/c/Crypt-SSLeay-0.07


to be continued...

Setting C and C++ compilers

Configuring The Source

Bootstrapping

Build