Difficulties to build LO for windows

Gay, Matthieu matthieu.gay at capgemini.com
Thu Apr 4 01:17:41 PDT 2013


Hello,

Yes it works! Thanks for your activity ! I met others problems here the problem and solution:

Error: test cppunit ko
Solution: I'll have to delete some wmf files
See here: http://lists.freedesktop.org/archives/libreoffice/2012-January/024403.html

Error: file  globlmn.hrc not found
Solution: apply a Patch 
See here http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-svx.patch?revision=1.1&view=markup

Error: Cannot open include file: 'atlbase.h': No such file or directory
Solution: Solution: use: --disable-atl et  --disable-activex
See here: http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/16228 


I had also "not found" problem in the step "creating help pack" (file listed in setup_osl.inf) which I resolved by putting these arguments:
--with-system-dicts
--without-myspell-dicts

Now the error is still in "creating help pack" step, here the log:

Use of uninitialized value $value in lc at D://libreOffice/git4/libo/solenv/bin/modules/installer/packagelist.pm
line 451.
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SUBST_FILENAME ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... analyzing all directories for this product ...
... analyzing links ...
... analyzing unix links ...
... creating profiles ...
1: No such file or directory at -e line 1
Use of uninitialized value in substitution (s///) at D://libreOffice/git4/libo/solenv/bin/modules/installer/scri
titems.pm line 849.
Use of uninitialized value in substitution (s///) at D://libreOffice/git4/libo/solenv/bin/modules/installer/scri
titems.pm line 848.
... analyzing folder ...
... analyzing folderitems ...
... analyzing registryitems ...
... analyzing modules ...
... creating inf files ...
... analyzing package list ...
... creating installation set in D://libreOffice/git4/libo/instsetoo_native/wntmsci12.pro/LibreOffice_Dev/native
install/en-US ...
... removing old installation directories ...
... creating idt files ...
**************************************************
ERROR: ERROR: Could not find file gid_File_Help_Common_Zip in list of files!
in function: get_specified_file
**************************************************
**************************************************
ERROR: Saved logfile: D://libreOffice/git4/libo/instsetoo_native/wntmsci12.pro/LibreOffice_Dev_helppack/native/l
gging/en-US/log_OOO350_en-US.log
**************************************************
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SUBST_FILENAME ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... analyzing all directories for this product ...
... analyzing links ...
... analyzing unix links ...
... analyzing folder ...
... analyzing folderitems ...
... analyzing registryitems ...
... analyzing modules ...
... creating inf files ...
... analyzing package list ...
... creating installation set in D://libreOffice/git4/libo/instsetoo_native/wntmsci12.pro/LibreOffice_Dev_helppa
k/native/install/en-US ...
... removing old installation directories ...
... creating idt files ...
... cleaning the output tree ...
... removing directory /tmp/ooopackaging/i_79801365061826 ...
Thu Apr  4 09:52:23 2013 (01:57 min.)
dmake:  Error code 255, while making 'ooodevhelppack_en-US.native'
-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development
  internal build errors:
ERROR: error 65280 occurred while making /cygdrive/d//libreOffice/git4/libo/instsetoo_native/util
 it seems that the error is inside 'instsetoo_native', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
/usr/bin/sh
cd D://libreOffice/git4/libo
source ./Env.Host.sh
cd instsetoo_native
rm -Rf D://libreOffice/git4/libo/instsetoo_native/wntmsci12.pro # optional module 'clean'
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/cygdrive/d//libreOffice/git4/libo'
make: *** [source-env-and-recurse] Error 2
mgay at LFR203233 /cygdrive/d//libreOffice/git4/libo
I try to add "--without-helppack-integration" parameter without success ...


________________________________________
De : Michael Meeks [michael.meeks at suse.com]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: libreoffice at lists.freedesktop.org; Jan Holesovsky
Objet : Re: RE : Difficulties to build LO for windows

On Thu, 2013-03-28 at 21:06 +0100, Michael Stahl wrote:
> that problem sounds familiar.
>
> the fix for it is commit 111e10bd401b3fee981f32f5f98fc7512a5c47f8 which
> is unfortunately not on the libreoffice-3-5 branch.

        I attach a prototype back-port of that :-) but can't test it here
myself; as you see the core of it is $ -> $$ in several places.

> the important thing is that in JavaClassSet.mk there needs to be an
> additional $ in 3 lines.

        Which is only 2 lines in -3-5 it seems; anyhow thanks for the pointer
Michael !

        Matthieu - does this make it work for you ? if so we should get it
pushed to the -3-5 branch.

        HTH,

                Michael.

--
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_error_ToMailing_list_helppack.log
Type: application/octet-stream
Size: 68661 bytes
Desc: build_error_ToMailing_list_helppack.log
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130404/74bc89b8/attachment-0001.obj>


More information about the LibreOffice mailing list