You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Oliver Brinzing <Ol...@gmx.de> on 2014/12/22 20:29:54 UTC

building aoo on windows

Hi,

i try building aoo 4.1.1 (debug version) with Cygwin/Microsoft Visual Studio 9.0 on win7 64 bit.

build process seems to work, but soffice.exe will stop with errors (missing some ".dll")

i think, i do not use the correct "./configure" settings:

./configure \
--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \
--with-directx-home="C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)" \
--with-ant-home="/cygdrive/c/build/ant" \
--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \
--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \
--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \
--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \
--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \
--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" \
--with-epm-url="http://www.msweet.org/files/project2/epm-3.7-source.tar.gz" \
--enable-pch \
--without-junit \
--with-lang="de" \
--enable-symbols \
--disable-strip-solver \
--with-package-format="installed" \
--enable-debug \
--enable-dbgutil \
--enable-crashdump \
--enable-win-x64-shellext \
--disable-online-update \
--without-fonts \
--disable-directx \
--without-stlport \
--enable-category-b \
--enable-bundled-dictionaries \
--with-mozilla-build="/cygdrive/c/build/mozilla-build" \

Any hints?

What build settings are neede fpr an release build?
And how can i clean a build?


Regards

Oliver
-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: building aoo on windows

Posted by Oliver Brinzing <Ol...@gmx.de>.
Hi Ariel,

finished second build with

--enable-pch \
--disable-odk
  build --all -P2 -- -P2

build time was about 5 1/2 hours, before it took more than 12 hours ...
adding 4 cores to the virtual machine made the difference ;-)

Regards
Oliver

-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: building aoo on windows

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Oliver,

On Thu, Dec 25, 2014 at 08:51:03PM +0100, Oliver Brinzing wrote:
> Hi Ariel,
> 
> 
> >merry xmas to you too, and have fun building :)
> 
> i worked :-)
> 
> ./configure \
> --with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
> --with-vendor="My AOO Debug Build" \
> --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" \
> --with-ant-home="/cygdrive/c/build/ant" \
> --with-mozilla-build="/cygdrive/c/build/mozilla-build" \
> --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
> --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
> --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \
> --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC"  \
> --with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \
> --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
> --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0"  \
> --with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \
> --with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (June 2010)" \
> --with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \
> --with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \
> --with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \
> --with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \
> --with-package-format="installed msi" \
> --enable-win-x64-shellext \
> --enable-category-b \
> --enable-bundled-dictionaries \
> --with-lang="de" \
> --without-fonts \
> --without-stlport \
> --without-junit \
> --disable-online-update \
> --disable-strip-solver \
> --enable-symbols \
> --enable-dbgutil \
> --enable-crashdump \
> --enable-debug \
> --enable-verbose \
> 
> next time i will try building with:
> 
> --enable-pch \

Yes, this one speeds up building on Windows (it may hide build breakers
due to missing header includes, so it should not be added in builds made
to test the buildability of the source code).

> --disable-odk
> --with-epm-url="http://www.msweet.org/files/project2/epm-3.7-source.tar.gz" \  *)
> build --all -P2 -- -P2
> 
> *) but not sure if epm is needed, it's mentioned in
>    https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

Indeed, epm is not needed for Windows.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: building aoo on windows

Posted by Oliver Brinzing <Ol...@gmx.de>.
Hi Ariel,


> merry xmas to you too, and have fun building :)

i worked :-)

./configure \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
--with-vendor="My AOO Debug Build" \
--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" \
--with-ant-home="/cygdrive/c/build/ant" \
--with-mozilla-build="/cygdrive/c/build/mozilla-build" \
--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \
--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC"  \
--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \
--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0"  \
--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \
--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (June 2010)" \
--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \
--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \
--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \
--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \
--with-package-format="installed msi" \
--enable-win-x64-shellext \
--enable-category-b \
--enable-bundled-dictionaries \
--with-lang="de" \
--without-fonts \
--without-stlport \
--without-junit \
--disable-online-update \
--disable-strip-solver \
--enable-symbols \
--enable-dbgutil \
--enable-crashdump \
--enable-debug \
--enable-verbose \

next time i will try building with:

--enable-pch \
--disable-odk
--with-epm-url="http://www.msweet.org/files/project2/epm-3.7-source.tar.gz" \  *)
build --all -P2 -- -P2

*) but not sure if epm is needed, it's mentioned in
    https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

maybe this will help to speed up the build process ...

Regards
Oliver


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: building aoo on windows

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Oliver,

On Wed, Dec 24, 2014 at 11:05:03AM +0100, Oliver Brinzing wrote:
> Hi Ariel,
> 
> > These are my (old) configure options for a non-pro build (for a release
> > build, remove the last three):
> 
> thanks a lot, i will try
> 
> and merry xmas :-)

merry xmas to you too, and have fun building :)


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: building aoo on windows

Posted by Oliver Brinzing <Ol...@gmx.de>.
Hi Ariel,

 > These are my (old) configure options for a non-pro build (for a release
 > build, remove the last three):

thanks a lot, i will try

and merry xmas :-)


Best Regards
Oliver


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: building aoo on windows

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Thu, Dec 25, 2014 at 04:57:25PM +0100, jan i wrote:
> I thought we decided to remove "wiki-publisher" when we released 4.0,
> for 2 reasons it is a plugin and the licensetext does not seem updated.

It is an extension; as such, it has never been part of a release, not
even on Sun/Oracle era. Anyway it's good to keep building it, in order
to test it is still buildable; and I guess someday it will be released
- people are still downloading this one from 2009
http://extensions.openoffice.org/en/project/sun-wiki-publisher


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: building aoo on windows

Posted by jan i <ja...@apache.org>.
On 23 December 2014 at 15:29, Ariel Constenla-Haile <ar...@apache.org>
wrote:

> On Mon, Dec 22, 2014 at 08:29:54PM +0100, Oliver Brinzing wrote:
> > What build settings are neede fpr an release build?
>
> These are my (old) configure options for a non-pro build (for a release
> build, remove the last three):
>
> ./configure   \
>     --with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
>     --with-dmake-path="/cygdrive/c/build/dmake/dmake.exe"    \
>     --enable-win-x64-shellext \
>     --with-mozilla-build="/cygdrive/c/mozilla-build" \
>     --with-cl-home="/cygdrive/c/PROGRA~2/MICROS~1.0/VC"  \
>     --with-mspdb-path="/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE" \
>     --with-frame-home="/cygdrive/c/PROGRA~1/MICROS~3/Windows/v6.1" \
>     --with-psdk-home="/cygdrive/c/PROGRA~1/MICROS~3/Windows/v6.1" \
>     --with-midl-path="/cygdrive/c/PROGRA~1/MICROS~3/Windows/v6.1/Bin" \
>     --with-asm-home="/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin" \
>     --with-csc-path="/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/v3.5" \
>     --with-directx-home="/cygdrive/c/PROGRA~2/MIBD7F~1" \
>     --with-jdk-home="/cygdrive/c/PROGRA~2/Java/JDK16~1.0_3"  \
>     --with-ant-home="/cygdrive/c/build/APACHE~1.2" \
>     --with-lang="en-US" \
>     --enable-wiki-publisher  \
>     --enable-category-b \
>     --enable-bundled-dictionaries \
>     --enable-verbose  \
>     --with-package-format="installed msi" \
>     --without-junit \
>     --with-atl-include-dir="C:/WinDDK/7600.16385.1/inc/atl71" \
>     --with-atl-lib-dir="C:/WinDDK/7600.16385.1/lib/ATL/i386" \
>     --with-mfc-include-dir="C:/WinDDK/7600.16385.1/inc/mfc42" \
>     --with-mfc-lib-dir="C:/WinDDK/7600.16385.1/lib/Mfc/i386" \
>     --without-stlport \
>     --disable-strip-solver  \
>     --enable-symbols \
>     --enable-dbgutil \
>

They might be old, but they work on my VM (got them from you quite a while
ago). I thought we decided to remove "wiki-publisher" when we released 4.0,
for 2 reasons it is a plugin and the licensetext does not seem updated.

rgds
jan i.


>
> > And how can i clean a build?
>
> cd trunk/main
> source the build script
> dmake clean
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>

Re: building aoo on windows

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Mon, Dec 22, 2014 at 08:29:54PM +0100, Oliver Brinzing wrote:
> What build settings are neede fpr an release build?

These are my (old) configure options for a non-pro build (for a release
build, remove the last three):

./configure   \
    --with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
    --with-dmake-path="/cygdrive/c/build/dmake/dmake.exe"    \
    --enable-win-x64-shellext \
    --with-mozilla-build="/cygdrive/c/mozilla-build" \
    --with-cl-home="/cygdrive/c/PROGRA~2/MICROS~1.0/VC"  \
    --with-mspdb-path="/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE" \
    --with-frame-home="/cygdrive/c/PROGRA~1/MICROS~3/Windows/v6.1" \
    --with-psdk-home="/cygdrive/c/PROGRA~1/MICROS~3/Windows/v6.1" \
    --with-midl-path="/cygdrive/c/PROGRA~1/MICROS~3/Windows/v6.1/Bin" \
    --with-asm-home="/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin" \
    --with-csc-path="/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/v3.5" \
    --with-directx-home="/cygdrive/c/PROGRA~2/MIBD7F~1" \
    --with-jdk-home="/cygdrive/c/PROGRA~2/Java/JDK16~1.0_3"  \
    --with-ant-home="/cygdrive/c/build/APACHE~1.2" \
    --with-lang="en-US" \
    --enable-wiki-publisher  \
    --enable-category-b \
    --enable-bundled-dictionaries \
    --enable-verbose  \
    --with-package-format="installed msi" \
    --without-junit \
    --with-atl-include-dir="C:/WinDDK/7600.16385.1/inc/atl71" \
    --with-atl-lib-dir="C:/WinDDK/7600.16385.1/lib/ATL/i386" \
    --with-mfc-include-dir="C:/WinDDK/7600.16385.1/inc/mfc42" \
    --with-mfc-lib-dir="C:/WinDDK/7600.16385.1/lib/Mfc/i386" \
    --without-stlport \
    --disable-strip-solver  \
    --enable-symbols \
    --enable-dbgutil \


> And how can i clean a build?

cd trunk/main
source the build script
dmake clean


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina