Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
#! /bin/bash

echo "### checking for unowinreg.dll ... "
if [ ! -e  ./external/unowinreg/unowinreg.dll ]; then
    wget -O external/unowinreg/unowinreg.dll http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
else
    echo "  unowinreg.dll found"
fi

echo "### autoconf ..."
if [ ! -e  ./configure ]; then
    autoconf
else
    rm ./configure
    autoconf
fi

echo "### Configure"
./configure --with-build-version="$(date +"%Y-%m-%d %H:%M")" --enable-verbose --enable-category-b --enable-wiki-publisher --enable-bundled-dictionaries --without-stlport \
--with-dmake-path=/Users/jsc/dev/tools/bin/dmake --with-epm=/Users/jsc/dev/tools/bin/epm/epm --with-openldap --with-junit=/Users/jsc/dev/tools/junit/junit-4.11.jar \
--with-packager-list=/Users/jsc/dev/svn/aoo-build-pack.lst --with-jdk-home=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home --with-ant-home=/Users/jsc/dev/tools/apache-ant-1.9.3/dist \
--with-lang="ast bg ca ca-XV cs de da el en-GB en-US es eu fi fr gd gl he hi hu it ja km ko lt nb nl pl pt pt-BR ru sk sl sr sv ta th tr vi zh-CN zh-TW"

./bootstrap

cd instsetoo_native/util

build --all -P4 -- -P4

Windows

I (Oliver, orw at apache.org) used a pre-built version of dmake and pre-buildt mozilla libraries (main/moz/zipped/). Additionally, I copied the following libraries and files into my clean and fresh source tree:

  • main/external/dbghelp/DbgHelp.Dll
  • main/external/gdiplus/gdiplus.dll
  • main/external/msvcp71/msvcr71.dll
  • main/external/msvcp80/msvcp80.dll
  • main/external/msvcp80/msvcr80.dll
  • main/external/msvcp90/Microsoft.VC90.CRT.manifest
  • main/external/msvcp90/msvcm90.dll
  • main/external/msvcp90/msvcp90.dll
  • main/external/msvcp90/msvcr90.dll

Since rev. 1296433 I have installed the DirectX SDK. Thus, DirectX is no longer disabled.
I had Visual Studio 2008 Professional installed (from MSDN subscription available for Apache committers). Thus, ALT and ActiveX are not disabled. Applying suggestions from issue 118821 also allows ATL and ActiveX with Visual Studio 2008 Express.

The relevant configure options which I am using are:

Code Block
--without-junit \
--without-stlport \
--enable-win-categoryx64-bshellext \
--withoutenable-category-stlportb \
--enable-bundled-dictionaries \
--disable-build-mozilla \
--with-mozilla-build=c:/mozilla-build \

...