Difficulties to build LO for windows

classic Classic list List threaded Threaded
15 messages Options
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

Difficulties to build LO for windows

Hello,

 

I have difficulties to build version 3.5.7

(git command: git clone git://anongit.freedesktop.org/libreoffice/core libo and git checkout -b libreoffice-3-5-7 remotes/origin/libreoffice-3-5-7)

 

First I use these options and did all the steps in : ://wiki.documentfoundation.org/Development/Windows_Build_Dependencies#Install_Windows_Build_Requirements

 

--disable-activex

--disable-atl

--disable-odk

--with-max-jobs=5

--with-num-cpus=4

--with-junit=/cygdrive/c/junit-4.10.jar

--with-mozilla-build=/cygdrive/c/mozilla-build

--with-directx-home=/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (June 2010)

--with-cl-home=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC

--with-windows-sdk-home=/cygdrive/C/Program Files/Microsoft SDKs/Windows/v7.0

--with-ant-home=/cygdrive/c/apache-ant-1.8.4

--with-jdk-home=/cygdrive/c/Program Files (x86)/Java/jdk1.5.0_22

 

I  had to add this option

--disable-build-mozilla

Apparently seaMonkey is not compatible with Microsoft Visual Studio 2008 and higher

Message:

configure: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only.

 

Because of this Build message

 

d:/libreOffice/git3/libo/canvas/source/cairo/cairo_services.cxx(51) : fatal error C1189: #error :  "The cairo canvas should not be enabled on Windows or Mac cf fdo#46901"

I had --disable-cairo-canvas option

 

In reference of:

https://wiki.documentfoundation.org/PostgreSQL-SDBC

I had --without-system-postgresql

 

I had error in junit test so I add:  --without-junit

I had error in python module so I had --disable-python

 

I get these errors now and I don't know how to resolve them:

 

ERROR: error 65280 occurred while making /cygdrive/d/libreOffice/git3/libo/wizards/prj

ERROR: error 65280 occurred while making /cygdrive/d/libreOffice/git3/libo/svtools/prj

ERROR: error 65280 occurred while making /cygdrive/d/libreOffice/git3/libo/nss

ERROR: error 65280 occurred while making /cygdrive/d/libreOffice/git3/libo/helpcontent2/source/auxiliary

ERROR: error 65280 occurred while making /cygdrive/d/libreOffice/git3/libo/lpsolve

 

it seems you are using a threaded build, which means that the

actual compile error is probably hidden far above, and could be

inside any of these other modules:

     nss helpcontent2 wizards svtools

please re-run build inside each one to isolate the problem.

-----------------------------------------------------------------------

 

/usr/bin/sh

cd D:/libreOffice/git3/libo

source ./Env.Host.sh

cd lpsolve

rm -Rf D:/libreOffice/git3/libo/lpsolve/wntmsci12.pro # optional module 'clean'

build

 

 

 

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.
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

build_error_ToMailing_list.log (133K) Download Attachment
Jan Holesovsky Jan Holesovsky
Reply | Threaded
Open this post in threaded view
|

Re: Difficulties to build LO for windows

Hi Mitthieu,

Gay, Matthieu píše v Čt 21. 03. 2013 v 12:28 +0000:

> I get these errors now and I don't know how to resolve them:
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/wizards/prj
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/svtools/prj
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/nss
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/helpcontent2/source/auxiliary
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/lpsolve

Sorry to hear you are having trouble building LibreOffice :-(

Please, what happened when you followed the advice:

>
> it seems you are using a threaded build, which means that the
>
> actual compile error is probably hidden far above, and could be
>
> inside any of these other modules:
>
>      nss helpcontent2 wizards svtools
>
> please re-run build inside each one to isolate the problem.
>
> -----------------------------------------------------------------------
>
>  
>
> /usr/bin/sh
>
> cd D:/libreOffice/git3/libo
>
> source ./Env.Host.sh
>
> cd lpsolve
>
> rm -Rf D:/libreOffice/git3/libo/lpsolve/wntmsci12.pro # optional
> module 'clean'
>
> build

?  Ie. when you changed directory to 'nss', removed wntmsci12.pro there,
and run 'build'?

All the best,
Kendy


_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

RE : Difficulties to build LO for windows

Thanks for your answer, when I build wizards module, I have these errors:

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
2 warnings
make[2]: *** [/cygdrive/d//libreOffice/git3/libo/workdir/wntmsci12.pro/JavaClassSet/Jar/reportbuilderwizard/done] Error 1
dmake:  Error code 2, while making 'all'
log for /cygdrive/d//libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc
Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
MDatabaseMetaDataHelper.cxx
MNSMozabProxy.cxx
MQuery.cxx
MTypeConverter.cxx
D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(52) : error C2660: 'nsACString::BeginReading'ÿ: la fonction ne prend pas 0 arguments
D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(53) : error C2660: 'nsACString::EndReading'ÿ: la fonction ne prend pas 0 arguments
D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(59) : error C2660: 'nsACString::BeginReading'ÿ: la fonction ne prend pas 0 arguments
D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(60) : error C2660: 'nsACString::EndReading'ÿ: la fonction ne prend pas 0 arguments
D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(73) : error C2039: 'AppendASCII'ÿ: n'est pas membre de 'nsACString'
        d:\\libreoffice\git3\libo\solver\wntmsci12.pro\inc\mozilla\string\nsTAString.h(104)ÿ: voir la d‚claration de 'nsACString'
dmake:  Error code 2, while making '../../../../wntmsci12.pro/slo/MTypeConverter.obj'


________________________________________
De : Jan Holesovsky [[hidden email]]
Date d'envoi : vendredi 22 mars 2013 13:59
À : Gay, Matthieu
Cc: [hidden email]
Objet : Re: Difficulties to build LO for windows

Hi Mitthieu,

Gay, Matthieu píše v Čt 21. 03. 2013 v 12:28 +0000:

> I get these errors now and I don't know how to resolve them:
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/wizards/prj
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/svtools/prj
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/nss
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/helpcontent2/source/auxiliary
>
> ERROR: error 65280 occurred while
> making /cygdrive/d/libreOffice/git3/libo/lpsolve
Sorry to hear you are having trouble building LibreOffice :-(

Please, what happened when you followed the advice:

>
> it seems you are using a threaded build, which means that the
>
> actual compile error is probably hidden far above, and could be
>
> inside any of these other modules:
>
>      nss helpcontent2 wizards svtools
>
> please re-run build inside each one to isolate the problem.
>
> -----------------------------------------------------------------------
>
>
>
> /usr/bin/sh
>
> cd D:/libreOffice/git3/libo
>
> source ./Env.Host.sh
>
> cd lpsolve
>
> rm -Rf D:/libreOffice/git3/libo/lpsolve/wntmsci12.pro # optional
> module 'clean'
>
> build
?  Ie. when you changed directory to 'nss', removed wntmsci12.pro there,
and run 'build'?

All the best,
Kendy
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.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

build_error_ToMailing_list2.log (131K) Download Attachment
Jan Holesovsky Jan Holesovsky
Reply | Threaded
Open this post in threaded view
|

Re: RE : Difficulties to build LO for windows

Hi Matthieu,

Gay, Matthieu píše v Ne 24. 03. 2013 v 20:08 +0000:

> Thanks for your answer, when I build wizards module, I have these errors:
>
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 100 errors
> 2 warnings
> make[2]: *** [/cygdrive/d//libreOffice/git3/libo/workdir/wntmsci12.pro/JavaClassSet/Jar/reportbuilderwizard/done] Error 1
> dmake:  Error code 2, while making 'all'
> log for /cygdrive/d//libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc
> Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling: connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
> MDatabaseMetaDataHelper.cxx
> MNSMozabProxy.cxx
> MQuery.cxx
> MTypeConverter.cxx
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(52) : error C2660: 'nsACString::BeginReading'ÿ: la fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(53) : error C2660: 'nsACString::EndReading'ÿ: la fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(59) : error C2660: 'nsACString::BeginReading'ÿ: la fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(60) : error C2660: 'nsACString::EndReading'ÿ: la fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(73) : error C2039: 'AppendASCII'ÿ: n'est pas membre de 'nsACString'
>         d:\\libreoffice\git3\libo\solver\wntmsci12.pro\inc\mozilla\string\nsTAString.h(104)ÿ: voir la d‚claration de 'nsACString'
> dmake:  Error code 2, while making '../../../../wntmsci12.pro/slo/MTypeConverter.obj'

OK, so this is still down to mozilla.

You said you are building 3.5, right?  So I'd follow the older version
of the instructions, like:

https://wiki.documentfoundation.org/index.php?title=Development/Windows_Build_Dependencies&oldid=63625

Please download the "Prebuilt mozilla modules" (
http://dev-www.libreoffice.org/mozilla/) and follow

https://wiki.documentfoundation.org/index.php?title=Development/Windows_Build_Dependencies&oldid=63625#Pre-built_Mozilla_libraries

Hopefully that'll fix your trouble :-)

All the best,
Kendy

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

RE: RE : Difficulties to build LO for windows

Hello, I had done what you told me to do (if I didn't the build would stop in configure step)

I made a clean reinstall (on windows, version 3.5.7 of LO) and I still had errors like this in module wizards:
git4/libo/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java:30: package
 com.sun.star.util does not exist: import com.sun.star.util.XModeSelector;

The problem is that in this goal, I don't have a good classpath:
 [ build JCS ] Jar/reportbuilderwizard
R=d:/libreOffice/git4 && O=$R/libo/solver/wntmsci12.pro && W=$R/libo/workdir/wntmsci12.pro && S=$R/libo &&  mkdi
r -p $W/JavaClassSet/Jar/reportbuilderwizard/ && RESPONSEFILE=C:/Work_cygwin/tmp/gbuild.FgbvUN && C:/PROGRA~2/Java/JDK15
~1.0_2/bin/javac.exe  -g -cp "C:/PROGRA~2/Java/JDK15~1.0_2/jre/lib/rt.jar;.;$W/JavaClassSet/Jar/reportbuilderwizard" -d
$W/JavaClassSet/Jar/reportbuilderwizard @$RESPONSEFILE && rm -f $RESPONSEFILE && touch $W/JavaClassSet/Jar/reportbuilder
wizard/done

Instead of this one, by example:

[ build JCS ] Jar/fax
R=d:/libreOffice/git4 && O=$R/libo/solver/wntmsci12.pro && W=$R/libo/workdir/wntmsci12.pro && S=$R/libo &&  mkdir -p $W/JavaClassSet/Jar/fax/ && RESPONSEFILE=C:/Work_cygwin/tmp/gbuild.1e0LfM && C:/PROGRA~2/Java/JDK15~1.0_2/bin/javac.exe  -g -cp "C:/PROGRA~2/Java/JDK15~1.0_2/jre/lib/rt.jar;.;$O/bin/ridl.jar;$O/bin/unoil.jar;$O/bin/jurt.jar;$O/bin/juh.jar;$O/bin/java_uno.jar;$O/bin/commonwizards.jar;$W/JavaClassSet/Jar/fax" -d $W/JavaClassSet/Jar/fax @$RESPONSEFILE && rm -f


P.S.: the parameters used are these one:
--with-num-cpus=2
--with-max-jobs=4
--verbose
--enable-verbose
--disable-odk
--enable-debug
--without-junit
--disable-build-mozilla
--with-mozilla-build=/cygdrive/C/mozilla-build
--with-vendor=fairytern.org
--with-build-version=Built by fairytern.org
--with-directx-home=C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)
--with-cl-home=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-csc-path=/cygdrive/C/Program Files/Microsoft.NET/SDK/v2.0 64bit
--with-midl-path=/cygdrive/C/Program Files (x86)/Microsoft SDKs/Windows/v7.1/Bin
--with-asm-home=/cygdrive/C/Program Files (x86)/Microsoft Visual Studio 9.0/VC/Bin
--with-ant-home=/cygdrive/c/apache-ant-1.8.4
--disable-atl
-----Message d'origine-----
De : Jan Holesovsky [mailto:[hidden email]]
Envoyé : lundi 25 mars 2013 10:33
À : Gay, Matthieu
Cc : [hidden email]
Objet : Re: RE : Difficulties to build LO for windows

Hi Matthieu,

Gay, Matthieu píše v Ne 24. 03. 2013 v 20:08 +0000:

> Thanks for your answer, when I build wizards module, I have these errors:
>
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 100 errors
> 2 warnings
> make[2]: ***
> [/cygdrive/d//libreOffice/git3/libo/workdir/wntmsci12.pro/JavaClassSet
> /Jar/reportbuilderwizard/done] Error 1
> dmake:  Error code 2, while making 'all'
> log for
> /cygdrive/d//libreOffice/git3/libo/connectivity/source/drivers/mozab/m
> ozillasrc
> Compiling: connectivity/source/drivers/mozab/mozillasrc/Compiling:
> connectivity/source/drivers/mozab/mozillasrc/Compiling:
> connectivity/source/drivers/mozab/mozillasrc/Compiling:
> connectivity/source/drivers/mozab/mozillasrc/Compiling:
> connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
> MDatabaseMetaDataHelper.cxx
> MNSMozabProxy.cxx
> MQuery.cxx
> MTypeConverter.cxx
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc
> /MTypeConverter.cxx(52) : error C2660: 'nsACString::BeginReading'ÿ: la
> fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc
> /MTypeConverter.cxx(53) : error C2660: 'nsACString::EndReading'ÿ: la
> fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc
> /MTypeConverter.cxx(59) : error C2660: 'nsACString::BeginReading'ÿ: la
> fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc
> /MTypeConverter.cxx(60) : error C2660: 'nsACString::EndReading'ÿ: la
> fonction ne prend pas 0 arguments
> D://libreOffice/git3/libo/connectivity/source/drivers/mozab/mozillasrc/MTypeConverter.cxx(73) : error C2039: 'AppendASCII'ÿ: n'est pas membre de 'nsACString'
>         d:\\libreoffice\git3\libo\solver\wntmsci12.pro\inc\mozilla\string\nsTAString.h(104)ÿ: voir la d‚claration de 'nsACString'
> dmake:  Error code 2, while making '../../../../wntmsci12.pro/slo/MTypeConverter.obj'

OK, so this is still down to mozilla.

You said you are building 3.5, right?  So I'd follow the older version of the instructions, like:

https://wiki.documentfoundation.org/index.php?title=Development/Windows_Build_Dependencies&oldid=63625

Please download the "Prebuilt mozilla modules" (
http://dev-www.libreoffice.org/mozilla/) and follow

https://wiki.documentfoundation.org/index.php?title=Development/Windows_Build_Dependencies&oldid=63625#Pre-built_Mozilla_libraries

Hopefully that'll fix your trouble :-)

All the best,
Kendy

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.
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|

Re: RE : Difficulties to build LO for windows

On 28/03/13 18:17, Gay, Matthieu wrote:

> Hello, I had done what you told me to do (if I didn't the build would stop in configure step)
>
> I made a clean reinstall (on windows, version 3.5.7 of LO) and I still had errors like this in module wizards:
> git4/libo/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java:30: package
>  com.sun.star.util does not exist: import com.sun.star.util.XModeSelector;
>
> The problem is that in this goal, I don't have a good classpath:
>  [ build JCS ] Jar/reportbuilderwizard
> R=d:/libreOffice/git4 && O=$R/libo/solver/wntmsci12.pro && W=$R/libo/workdir/wntmsci12.pro && S=$R/libo &&  mkdi
> r -p $W/JavaClassSet/Jar/reportbuilderwizard/ && RESPONSEFILE=C:/Work_cygwin/tmp/gbuild.FgbvUN && C:/PROGRA~2/Java/JDK15
> ~1.0_2/bin/javac.exe  -g -cp "C:/PROGRA~2/Java/JDK15~1.0_2/jre/lib/rt.jar;.;$W/JavaClassSet/Jar/reportbuilderwizard" -d
> $W/JavaClassSet/Jar/reportbuilderwizard @$RESPONSEFILE && rm -f $RESPONSEFILE && touch $W/JavaClassSet/Jar/reportbuilder
> wizard/done

that problem sounds familiar.

the fix for it is commit 111e10bd401b3fee981f32f5f98fc7512a5c47f8 which
is unfortunately not on the libreoffice-3-5 branch.

you can try to cherry-pick it:
 git cherry-pick 111e10bd401b3fee981f32f5f98fc7512a5c47f8

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

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Meeks-2 Michael Meeks-2
Reply | Threaded
Open this post in threaded view
|

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.

--
[hidden email]  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

test.diff (2K) Download Attachment
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

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 [[hidden email]]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: [hidden email]; 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.

--
[hidden email]  <><, 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.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

build_error_ToMailing_list_helppack.log (91K) Download Attachment
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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 [[hidden email]]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: [hidden email]; 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.

--
[hidden email]  <><, 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.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Meeks-2 Michael Meeks-2
Reply | Threaded
Open this post in threaded view
|

Re: RE : Difficulties to build LO for windows

In reply to this post by matthieu.gay
Hi there,

On Thu, 2013-04-04 at 08:17 +0000, Gay, Matthieu wrote:
> Yes it works! Thanks for your activity !

        I pushed that to the -3-5 branch then; thanks for testing.

>  I met others problems here the problem and solution:

        I'll leave these to others; Fridrich - do you have any ideas ? the unit
tests are run on Windows during our build are they not ?

> 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
...
> Now the error is still in "creating help pack" step, here the log:

        Of course, it is rather sad to see all this legacy stuff in -3-5 and so
many bugs subsequently fixed rearing their heads again - but ... c'est
la vie as they say ;-)

        Thanks !

                Michael.

--
[hidden email]  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Fridrich Strba-4 Fridrich Strba-4
Reply | Threaded
Open this post in threaded view
|

Re: RE : Difficulties to build LO for windows

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salut, Matthieu,

comme les problèmes de Windows ne sont souvent pas déterministes, la
meilleure solution serait que je puisse accéder à ta machine par RDP.
Auparavant, il faut être un utilisateur non-privilégié pour builder LO
et aussi il faut être positionné dans un répertoire qui commence par
/cygdrive/... un autre répertoire virtuel est la bonne façon d'avoir
des problèmes.

F.

On 04/04/13 13:07, Michael Meeks wrote:

> Hi there,
>
> On Thu, 2013-04-04 at 08:17 +0000, Gay, Matthieu wrote:
>> Yes it works! Thanks for your activity !
>
> I pushed that to the -3-5 branch then; thanks for testing.
>
>> I met others problems here the problem and solution:
>
> I'll leave these to others; Fridrich - do you have any ideas ? the
> unit tests are run on Windows during our build are they not ?
>
>> 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
>
>>
...

>> Now the error is still in "creating help pack" step, here the
>> log:
>
> Of course, it is rather sad to see all this legacy stuff in -3-5
> and so many bugs subsequently fixed rearing their heads again - but
> ... c'est la vie as they say ;-)
>
> Thanks !
>
> Michael.
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFdYI8ACgkQu9a1imXPdA+n7gCfe0Kivi7/kdoyyAP1JrOKJ6zl
5NYAnjkIwt3T4wby7oYw2ILiB8KvHkyD
=cVcy
-----END PGP SIGNATURE-----
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

RE : RE : Difficulties to build LO for windows

In reply to this post by matthieu.gay
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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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 [[hidden email]]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: [hidden email]; 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.

--
[hidden email]  <><, 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.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

RE : RE : Difficulties to build LO for windows

Hello again,

I still have problem to generate globlmn.hrc file when "with-lang" is setted.
Have you any idea ?
Do I have to compile first dictionnary module? Is there step that I forgot to do?
At this moment I only do autogen and make in core sources.

Thanks in advance for any answers or any advice.

Matthieu.



________________________________________
De : libreoffice-bounces+matthieu.gay=[hidden email] [libreoffice-bounces+matthieu.gay=[hidden email]] de la part de Gay, Matthieu [[hidden email]]
Date d'envoi : lundi 22 avril 2013 10:54
À : [hidden email]; Michael Stahl
Cc: [hidden email]; Jan Holesovsky
Objet : RE : RE : Difficulties to build LO for windows

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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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 [[hidden email]]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: [hidden email]; 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.

--
[hidden email]  <><, 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.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|

Re: RE : RE : Difficulties to build LO for windows

On 27/04/13 13:15, Gay, Matthieu wrote:
> Hello again,
>
> I still have problem to generate globlmn.hrc file when "with-lang" is setted.
> Have you any idea ?

not really... only thing i've found that looks relevant is this
commit... it does seem to apply to the 3.5 branch:

 git cherry-pick 28cb2ca7956cd79704089ad4ca7cedd3dc0c207f

not sure if that has anything to do with your problem, you can try to
"(cd svx && make -r clean)" and cherry-pick the patch and see if that is
better.

i wonder if this problem is something that is also related to the "make"
program that is used (like your other problem with Java classpath
was)... the 3.5 release branch was maintained at a time when the build
system used "cygwin paths", and with commit
f4f4e3c050b117a8bfaa95a865b3b37bcb637516 in May 2012 we switched to
using "native" paths (with drive letters), which requires the LO patched
make... i am not sure if it works to build the 3.5 release branch with
the LO patched make because i did not have a Windows VM back in those days.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
matthieu.gay matthieu.gay
Reply | Threaded
Open this post in threaded view
|

RE : RE : Difficulties to build LO for windows

In reply to this post by matthieu.gay

Hello, it's me again :)

I still have difficulties to build LO with languages on Windows so I try to cross-sompile, but i also failed in version 3.6.6.

I have two requests:

- Is it possible to add "--with-lang" to the windows and linux daily-build of dev-builds.libreoffice.org ?

- Do you have any cross-compile build on this server? If not Is this possible to add one?

Thanks for your answers.



________________________________________
De : Gay, Matthieu
Date d'envoi : lundi 22 avril 2013 10:54
À : [hidden email]; Michael Stahl
Cc: [hidden email]; Jan Holesovsky
Objet : RE : RE : Difficulties to build LO for windows

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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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
À : [hidden email]; Michael Stahl
Cc: [hidden email]; 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 [[hidden email]]
Date d'envoi : mardi 2 avril 2013 15:38
À : Michael Stahl; Gay, Matthieu
Cc: [hidden email]; 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.

--
[hidden email]  <><, 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.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice