Difference between revisions of "OOo Windows Build"

From CDOT Wiki
Jump to: navigation, search
m (Getting the Required Tools)
(OOo Category)
 
(3 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
|-
 
|-
 
| [[User:wfred|Fred Wang]] (irc:wfred)|| Local machine ||  || Setting up the environment
 
| [[User:wfred|Fred Wang]] (irc:wfred)|| Local machine ||  || Setting up the environment
 +
|-
 +
| [[User:jtpau|Jerry Pau]] (irc:jtpau)|| Local machine ||  || Setting up the environment
 
|-
 
|-
 
|}
 
|}
Line 36: Line 38:
 
Click on the [http://142.204.57.25/licensing/login.php?fwdurl=http://142.204.57.25/licensing/keys.php&loginexturl=http://142.204.57.25/licensing/login_ext_low.php MSDNAA License] on the left panel of the download page in order to acquire license keys.
 
Click on the [http://142.204.57.25/licensing/login.php?fwdurl=http://142.204.57.25/licensing/keys.php&loginexturl=http://142.204.57.25/licensing/login_ext_low.php 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
 +
<pre>C:\Program Files\Microsoft Visual Studio 9.0\VC\bin</pre>
 
* [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] - 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!
Line 109: Line 114:
 
export SHELL=cmd.exe
 
export SHELL=cmd.exe
 
perl Makefile.PL  
 
perl Makefile.PL  
</pre>
+
nmake
- 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.
 
<pre>
 
Which SSLeay do you want to link against? /cygdrive/c/Crypt-SSLeay-0.07
 
 
</pre>
 
</pre>
  
Line 131: Line 133:
  
 
== Build ==
 
== Build ==
 +
 +
[[Category:OpenOffice.org]]

Latest revision as of 15:06, 11 May 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
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