Difference between revisions of "OOo Windows Build"
(→Getting the Source Code) |
(OOo Category) |
||
(63 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | = Openoffice.org Fedora Build | + | = Openoffice.org Build on Windows Server 2008 = |
+ | [[OOo Mac Build]] - [[OOo Fedora Build]] | ||
* Resources | * Resources | ||
OpenOffice.org development for Windows: http://wiki.services.openoffice.org/wiki/Windows | 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? | * Who is working where? | ||
− | {| border="1" | + | {| class="prettytable" border="1" width="100%" |
|+ CDOT Computer Status - Who is working where | |+ CDOT Computer Status - Who is working where | ||
|- | |- | ||
! Student Name !! CDOT Computer Name !! Operation !! Status | ! Student Name !! CDOT Computer Name !! Operation !! Status | ||
|- | |- | ||
− | | [[User:rmwang|Ryan Wang]] (irc:rmwang)|| Local machine || | + | | [[User:rmwang|Ryan Wang]] (irc:rmwang)|| Local machine || Preparing instruction || Setting up the environment |
|- | |- | ||
| [[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 24: | Line 28: | ||
== Getting the Required Tools == | == Getting the Required Tools == | ||
− | *TortoiseSVN Version Control Software download (32bit Installer, 17.8 MB) | + | *[http://tortoisesvn.net/downloads TortoiseSVN Version Control Software download](32bit Installer, 17.8 MB) |
+ | |||
+ | * [https://acs.senecac.on.ca/pages/download.php Microsoft Windows Server 2008] (Under the MSDN tab) | ||
+ | * [https://acs.senecac.on.ca/pages/download.php Microsoft Visual Studio 2008 Professional Edition] (Under the MSDN tab) | ||
− | + | You can download Microsoft applications from the Seneca College [https://acs.senecac.on.ca/pages/download.php ACS download page]. | |
− | |||
+ | 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] | ||
− | |||
− | + | * [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://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 55: | Line 66: | ||
Added:75247 | Added:75247 | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | '''Additional files''' (Copy files to the specified folder) | ||
+ | |||
+ | * [http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en Platform SDK Redistributable: GDI+] (/external/gdiplus) | ||
+ | * [http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe unicows.dll] (/external/unicows) | ||
+ | * [http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe instmsiw.exe] and [http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/InstMsiA.exe instmsia.exe] (/external/dbghelp) | ||
+ | * [ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc232-release.zip GPC - General Polygon Clipper library] (Unzip to /external/gpc) | ||
+ | * [http://tools.openoffice.org/moz_prebuild/680/WNTMSCIinc.zip WNTMSCIinc.zip], [http://tools.openoffice.org/moz_prebuild/680/WNTMSCIlib.zip WNTMSCIlib.zip] and [http://tools.openoffice.org/moz_prebuild/680/WNTMSCIruntime.zip 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: | ||
+ | <pre> | ||
+ | export WINDOWS_VISTA_PSDK=TRUE | ||
+ | export DISABLE_ATL=TRUE | ||
+ | export DISABLE_ACTIVEX=TRUE | ||
+ | </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... | ||
== Setting C and C++ compilers == | == Setting C and C++ compilers == | ||
+ | == Configuring The Source == | ||
− | |||
− | |||
Line 69: | Line 133: | ||
== Build == | == Build == | ||
+ | |||
+ | [[Category:OpenOffice.org]] |
Latest revision as of 15:06, 11 May 2009
Contents
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?
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
- TortoiseSVN Version Control Software download(32bit Installer, 17.8 MB)
- Microsoft Windows Server 2008 (Under the MSDN tab)
- Microsoft Visual Studio 2008 Professional Edition (Under the MSDN tab)
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
- 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!
- Apache Ant 1.6.5 binary - Open the .zip file and copy the "apache-ant-1.6.5-bin" folder to "C:\"
- ActiveState Perl Win32 x86 Installer
Getting the Source Code
OpenOffice source anonymous checkout using TortoiseSVN:
- Create a folder where you want to download the source.
- Right-click the folder and choose 'SVN Checkout'
- Type-in this URL. svn://svn.services.openoffice.org/ooo/tags/DEV300_m40
- Click OK to start downloading.
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...