Difficulties to build LO for windows

Michael Stahl mstahl at redhat.com
Thu Mar 28 13:06:24 PDT 2013


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.



More information about the LibreOffice mailing list