Hi all,
I would like to share some issues I faced when building OOo2.0,
(source balls m125 and m130) on Windows XP SP2 FR.
BTW my build experience was useful to validate the local data file br_FR.xml,
submitted to Eike for 2.0.1, and this will allow us to distribute OOo2.0 in
Breton,
on Windows plateforms (only).
FIRST BUILD OF THE SOURCE TREE:
* problem with /config_office/set_soenv.in
excerpt:
if ('@LOCAL_SOLENV@' eq "DEFAULT")
{ $platform = `../solenv/bin/config.guess`;
}
else
{ $platform = `PosixFormat('@LOCAL_SOLENV@')/bin/config.guess`;
}
Failure at the line = `../solenv/bin/config.guess`;
I had to hardcode the value of the platform. I got the right one in the
confi.guess file.
$platform = "i686..."
* problem with /postprocess/rebase/makefile.mk
.IF "$(product)"=="full"
+$(PERL) rebase.pl -C $(BASEADDRESSES) -b $(STARTADDRESS) -d -e 10000
-l $(LOGFILE) -m $(MISC) -v -R $(SOLARBINDIR) -N $(EXCLUDELIST) $(IMAGENAMES)
.ELSE
I had to move the statement "-e 10000" at the end of the line otherwise I got a
"/e option not found" error.
INCREMENTAL BUILDS OF THE SOURCE TREE:
If you have to do an incremental build, you might encounter a problem with the
"zip -u ..." command.
* problem with file /solenv/inc/tg_jar.mk
.IF "$(JARMANIFEST)"!=""
+cd $(CLASSDIR)$/$(TARGET) && zip -u -rX ..$/$(@:f)
$(subst,$(CLASSDIR)$/$(TARGET)$/, $(JARMANIFEST)) $(CHECKZIPRESULT)
.ENDIF # "$(JARMANIFEST)"!=""
+cd $(CLASSDIR) && zip -u -rX $(@:f) $(subst,\,/ $(JARCLASSDIRS))
$(CHECKZIPRESULT)
.ENDIF
I had to remove the "-u" option because my zip.exe version (PKZIP 2.51, march
2005) seems to return an error when nothing has to be updated in the jar file,
what breaks the incremental builds.
May this report help somebody in the future...
Cheers,
Philippe
(http://oo.drouizig.org)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]