Hi there,

build breaks on Linux in writerfilter/source/ooxml:

LD_LIBRARY_PATH=/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 /mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/bin/xsltproc 
gperffasttokenhandler.xsl ../../unxlngx6.pro/misc/model_preprocessed.xml | tr 
-d '\r' |  -I -t -E -S1 -c -G -LC++ > 
../../unxlngx6.pro/inc/ooxml/gperffasttoken.hxx
/bin/bash: -I: command not found
dmake:  Error code 127, while making
'../../unxlngx6.pro/inc/ooxml/gperffasttoken.hxx'
dmake:  '../../unxlngx6.pro/inc/ooxml/gperffasttoken.hxx' removed.
ERROR: error 65280 occurred while making
/mnt/build/openoffice/apache/trunk/main/writerfilter/source/ooxml

this is trunk/main/writerfilter/source/ooxml/makefile.mk:

$(GPERFFASTTOKENHXX): $(OOXMLGPERFFASTTOKENXSL) $(MODELPROCESSED)
    @echo "Making:   " $(@:f)   
        $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLGPERFFASTTOKENXSL) $(MODELPROCESSED) 
| tr -d '\r' | $(GPERF) -I -t -E -S1 -c -G -LC++ > $@


GPERF is not exported due to changes in
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/set_soenv.in?r1=1174172&r2=1179044&pathrev=1179044&diff_format=h

I added linux to the platform test to keep build

   if ($platform =~ m/solaris|darwin|freebsd|linux/)

but I guess this will break on other platforms too.
I don't get why it was moved inside the if.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgp0i6kUvmDhW.pgp
Description: PGP signature

Reply via email to