Hello
Sorry for the late update, but I did succeed building on windows
I had to modify setup_osl.inf and delete the call to "gid_MergeModule_Microsoft_VC100_CRT_x86".
Now I tried to add language parameter:
--with-lang=en-US fr de it es
I had this bug http://d.hatena.ne.jp/foral/20111127 which is normal (see here
https://wiki.documentfoundation.org/User:Foral/Build_Win#For_localized_build)
But now I have this error:
log for /cygdrive/f/git/libo/svx/prj
[ build DEP ] SRS:svx/res
Error starting rsc2 compiler
svx 0 #define ITEM_FORM_CONTROL_PROPERTIES !defined _GLOBLMN_HRC 0 all Con~trol... 20130418 17:45:22
^
f640: "f:/git/libo/workdir/wntmsci12.pro/inc/svx\globlmn.hrc", line 1: Error: syntax error
f256: Error: !! 1 Error found!!
F:/git/libo/solenv/gbuild/AllLangResTarget.mk:96: recipe for target
`/cygdrive/f/git/libo/workdir/wntmsci12.pro/SrsPartTarget/svx/source/form/datanavi.src' failed
make[2]: ***
[/cygdrive/f/git/libo/workdir/wntmsci12.pro/SrsPartTarget/svx/source/form/datanavi.src] Error 1
make[2]: *** Waiting for unfinished jobs....
Error starting rsc2 compiler
svx 0 #define ITEM_FORM_CONTROL_PROPERTIES !defined _GLOBLMN_HRC 0 all Con~trol... 20130418 17:45:22
^
f640: "f:/git/libo/workdir/wntmsci12.pro/inc/svx\globlmn.hrc", line 1: Error: syntax error
f256: Error: !! 1 Error found!!
F:/git/libo/solenv/gbuild/AllLangResTarget.mk:96: recipe for target
`/cygdrive/f/git/libo/workdir/wntmsci12.pro/SrsPartTarget/svx/source/fmcomp/gridctrl.src' failed
make[2]: ***
[/cygdrive/f/git/libo/workdir/wntmsci12.pro/SrsPartTarget/svx/source/fmcomp/gridctrl.src] Error 1
Error starting rsc2 compiler
....
I tried this patch
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-svx.patch?revision=1.1&view=markup
because of this bug https://bugs.freedesktop.org/show_bug.cgi?id=38958 with no result..
Have you any solution?
Matthieu.
________________________________________
De : Gay, Matthieu
Date d'envoi : jeudi 4 avril 2013 11:26
À : michael.meeks@suse.com; Michael Stahl
Cc: libreoffice@lists.freedesktop.org; Jan Holesovsky
Objet : RE : RE : Difficulties to build LO for windows
Update:
About my problem I've done:
/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
the result is:
**************************************************
ERROR: ERROR: msm file not found: Microsoft_VC100_CRT_x86.msm !
in function: merge_mergemodules_into_msi_database
**************************************************
I will try to this solution:
http://markmail.org/message/ineeoshkfn3d5eav#query:+page:1+mid:ineeoshkfn3d5eav+state:results
commit: 238eba337cedda17a9ed1ce7e91755c66446195a
________________________________________
De : Gay, Matthieu
Date d'envoi : jeudi 4 avril 2013 10:17
À : michael.meeks@suse.com; Michael Stahl
Cc: libreoffice@lists.freedesktop.org; Jan Holesovsky
Objet : RE : RE : Difficulties to build LO for windows
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@LFR203233 /cygdrive/d//libreOffice/git4/libo
I try to add "--without-helppack-integration" parameter without success ...
________________________________________
De : Michael Meeks [michael.meeks@suse.com]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: libreoffice@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@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.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.