Re: mingw32 for building the ODK under Linux?

2015-04-30 Thread Kay Schenk
On Thu, Apr 30, 2015 at 7:11 AM, Herbert Duerr h...@apache.org wrote:

 On 2015-04-29 00:07, Kay Schenk wrote:

 I normally set --disable-odk in my builds. When I enabled it today for
 some testing, I get an configuration error that says --

 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 using your browser or a command
 equivalent to:
   wget -O external/unowinreg/unowinreg.dll
 http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll


 Is this really needed for Linux builds of the ODK?


 If you want to build an ODK that can run on windows then this DLL is
 needed. As the error message says you can build this DLL from scratch or
 you can download the pre-built library from [1].

 For some background info please see the thread around [2].

 I usually take the pre-built binary blob and put it into
 main/external/unowinreg/ as suggested by the error message.


yes...this seems most straightforward


  It isn't mentioned in our build information.


 The unowinreg.dll blob is mentioned as a prerequisite in [3].


Oops! Missed this. OK.

Thanks.



 [1] http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
 [2] http://markmail.org/message/lwgjbdvtoyijymwf
 [3]
 https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements

 Herbert


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




-- 
-
MzK

“What is the point of being alive if you don't
 at least  try to do something remarkable?”
   -- John Green, An Abundance of Katherines


Re: mingw32 for building the ODK under Linux?

2015-04-30 Thread Herbert Duerr

On 2015-04-29 00:07, Kay Schenk wrote:

I normally set --disable-odk in my builds. When I enabled it today for
some testing, I get an configuration error that says --

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 using your browser or a command
equivalent to:
  wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll


Is this really needed for Linux builds of the ODK?


If you want to build an ODK that can run on windows then this DLL is 
needed. As the error message says you can build this DLL from scratch or 
you can download the pre-built library from [1].


For some background info please see the thread around [2].

I usually take the pre-built binary blob and put it into 
main/external/unowinreg/ as suggested by the error message.



It isn't mentioned in our build information.


The unowinreg.dll blob is mentioned as a prerequisite in [3].

[1] http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
[2] http://markmail.org/message/lwgjbdvtoyijymwf
[3] 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements


Herbert

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



Re: mingw32 for building the ODK under Linux?

2015-04-29 Thread Andrea Pescetti

On 29/04/2015 Kay Schenk wrote:

  put it into external/unowinreg using your browser or a command
equivalent to:
  wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
Is this really needed for Linux builds of the ODK?


I wrote (actually updated) this error message. You can find all details 
at (issue from 2005)

https://bz.apache.org/ooo/show_bug.cgi?id=49718

As Juergen says there, unowinreg.dll is packed into the SDK on all
platforms and for that reason it necessary to have the library in place.

Regards,
  Andrea.

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



mingw32 for building the ODK under Linux?

2015-04-28 Thread Kay Schenk
I normally set --disable-odk in my builds. When I enabled it today for
some testing, I get an configuration error that says --

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 using your browser or a command
equivalent to:
 wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll


Is this really needed for Linux builds of the ODK? It isn't mentioned in
our build information.
-- 
-
MzK

“What is the point of being alive if you don't
 at least  try to do something remarkable?”
   -- John Green, An Abundance of Katherines

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