Difference between revisions of "OOo Windows Build"

From CDOT Wiki
Jump to: navigation, search
m (Openoffice.org Fedora Build)
(OOo Category)
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Openoffice.org Build on Windows Server 2008 system =
+
= Openoffice.org Build on Windows Server 2008 =
 +
[[OOo Mac Build]] - [[OOo Fedora Build]]
 
* Resources
 
* Resources
  
Line 15: 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 35: 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]
 +
 +
 
* [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!
 
* [http://archive.apache.org/dist/ant/binaries/apache-ant-1.6.5-bin.zip Apache Ant 1.6.5 binary] - Open the .zip file and copy the "apache-ant-1.6.5-bin" folder to "C:\"
 
* [http://archive.apache.org/dist/ant/binaries/apache-ant-1.6.5-bin.zip Apache Ant 1.6.5 binary] - Open the .zip file and copy the "apache-ant-1.6.5-bin" folder to "C:\"
 +
* [http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi ActiveState Perl Win32 x86 Installer]
  
 
== Getting the Source Code ==  
 
== Getting the Source Code ==  
Line 73: Line 82:
 
* C:\Windows\System32\msvcp71.dll (/external/msvcp71) '''Note that the filename is lowercase!'''
 
* C:\Windows\System32\msvcp71.dll (/external/msvcp71) '''Note that the filename is lowercase!'''
  
== Setting C and C++ compilers ==
 
  
Run Cygwin terminal and apply the follows:
+
 
 +
== Setting Environment Variables ==
 +
 
 +
* Run Cygwin terminal and apply the follows:
 
<pre>
 
<pre>
 
export WINDOWS_VISTA_PSDK=TRUE
 
export WINDOWS_VISTA_PSDK=TRUE
Line 81: Line 92:
 
export DISABLE_ACTIVEX=TRUE
 
export DISABLE_ACTIVEX=TRUE
 
</pre>
 
</pre>
 +
 +
* Additional Perl Modules Installation with CPAN
 +
Start CPAN and install additional modules by typing following commands in the Cygwin terminal.
 +
<pre>
 +
export FTP_PASSIVE="1"
 +
perl -MCPAN -e shell
 +
</pre>
 +
Now, you will see the "cpan>" prompt. Install the required modules by typing the following commands:
 +
<pre>
 +
install Archive::Zip
 +
install XML::Parser
 +
</pre>
 +
 +
* SSLeay Installation
 +
 +
- Download the SSLeay installation tarball from [http://www.perl.com/CPAN/modules/by-module/Crypt/Crypt-SSLeay-0.07.tar.gz 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
 +
<pre>
 +
cd /cygdrive/c/Crypt-SSLeay-0.07
 +
export SHELL=cmd.exe
 +
perl Makefile.PL
 +
nmake
 +
</pre>
 +
  
  
 
to be continued...
 
to be continued...
 +
 +
== Setting C and C++ compilers ==
  
 
== Configuring The Source ==
 
== Configuring The Source ==
  
  
== Setting Environment Variables ==
+
 
  
  
Line 95: 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