OpenOffice.org is a good office software package and is a good alternative to Microsoft Office.
Download setup.exe from Cygwin and run it. Select the following packages for installation.
- bison
- cabextract
- flex
- gcc4-g++
- gperf
- libtool
- make
- patch
- pkg-config
- unzip
- wget
- zip
Replace symlinked awk with a copy of gawk.
rm awk cp gawk.exe awk.exe
Install Windows SDK for Windows Server 2008 and .NET Framework 3.5. Alternatively, install MinGW-w64, as shown in this post.
Install DirectX SDK.
Install the latest Java Development Kit.
Install Apache Ant.
Download and unpack OpenOffice.org source code.
Download GDI+ Redistributable. Extract the files into a temporaray folder and copy gdiplus.dll to main/external/gdiplus folder of the OpenOffice.org source tree.
cp /gdiplus/asms/10/msft/windows/gdiplus/gdiplus.dll aoo-3.4.1/main/external/gdiplus/
Download Visual C++ Redistributable for Visual Studio 2012 Update 1 and put the file vcredist_x86.exe in main/external/vcredist folder.
Build Seamonkey, as shown in this post.
Install NSIS.
Start Cygwin terminal. Set PATH.
export PATH="/usr/bin:/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/bin:/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin:/cygdrive/c/Program Files/Microsoft SDKs/Windows/6.1/Lib:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/Windows/system32"
Make sure you're in the main folder of OpenOffice source. Run autoconf to create the configure script.
cd /c/aoo-3.4.1/main autoconf
Then, run configure.
./configure --disable-build-mozilla --with-mozilla-build="/cygdrive/c/mozilla-build" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-mspdb-path="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE" --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Lib" --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin" --with-asm-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/bin" --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0_10" --with-directx-home="/cygdrive/c/Program Files/Microsoft DirectX SDK (June 2010)" --with-ant-home=/cygdrive/c/apache-ant-1.8.4 --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz" --with-lang=ALL --with-dict=ALL --without-junit --enable-pch --enable-bundled-dictionaries --disable-atl --disable-activex --disable-odk --disable-binfilter --disable-dbgutil
Finish configuration and download missing external source tarballs and extensions.
./bootstrap
Include the configured environment and build.
source winenv.set.sh cd instsetoo_native/ build --all

