You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Carl Marcum <cm...@apache.org> on 2011/09/21 03:29:29 UTC

[LINUX-BUILD] mingw32 error

Hi all,

I'm attempting a build on a fresh Fedora 15 x86-64 box using SVN version 
1173422

I have installed the prerequisites listed on [1]. With a notable 
exception of using Oracle JDK 1.7.0.

Running "autoconf" from the "main" directory I get this error:

checking for external/unowinreg/unowinreg.dll... configure: WARNING: not 
found, will be cross-built using mingw32
configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ 
compiler.
          Specify mingw32 g++ executable name with --with-mingwin.
          Or use prebuilt one from 
http://tools.openoffice.org/unowinreg_prebuild/680/ and
          put it into external/unowinreg

I'm not sure why I would need mingw32 C++ if I have gcc c++.

[1] http://wiki.services.openoffice.org/wiki/Fedora_Build_Instructions

Thanks,
Carl


Re: [LINUX-BUILD] mingw32 error

Posted by Ariel Constenla-Haile <ar...@gmail.com>.
Hello Carl,

On Tue, Sep 20, 2011 at 10:05:40PM -0400, Carl Marcum wrote: 
> I did find something about it here [1].
> 
> How can you --disable-odk using autoconf?

put this option among the other options when you run ./configure after
autoconf:

./configure --disable-odk  [some other options...]

But disabling the SDK is no good idea, it is a very import part of OOo!
Just download the binary 

http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll

and place it external/unowinreg/ or
cross-compile the binary yourself; you will need the cross-compiler, of
course; in Fedora, do:

]$ su -c 'yum install mingw32-gcc-c++'


and add to the configure options:

./configure --with-mingwin=i686-pc-mingw32-g++ [some other options...]


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: [LINUX-BUILD] mingw32 error

Posted by Carl Marcum <cm...@apache.org>.
On 09/20/2011 09:29 PM, Carl Marcum wrote:
> Hi all,
>
> I'm attempting a build on a fresh Fedora 15 x86-64 box using SVN version
> 1173422
>
> I have installed the prerequisites listed on [1]. With a notable
> exception of using Oracle JDK 1.7.0.
>
> Running "autoconf" from the "main" directory I get this error:
>
> checking for external/unowinreg/unowinreg.dll... configure: WARNING: not
> found, will be cross-built using mingw32
> configure: error: for rebuilding unowinreg.dll you need the mingw32 C++
> compiler.
> Specify mingw32 g++ executable name with --with-mingwin.
> Or use prebuilt one from
> http://tools.openoffice.org/unowinreg_prebuild/680/ and
> put it into external/unowinreg
>
> I'm not sure why I would need mingw32 C++ if I have gcc c++.
>
> [1] http://wiki.services.openoffice.org/wiki/Fedora_Build_Instructions
>
> Thanks,
> Carl
>

I did find something about it here [1].

How can you --disable-odk using autoconf?

[1] 
http://wiki.services.openoffice.org/wiki/OpenSolaris_Build_Instructions/Configure_Errors#Error:_unowinreg.dll_not_found

Thanks,
Carl