Date: Mon, 10 Oct 2005 20:06:57 +0200 From: Gregory Nou <gregorynou@altern.org> To: freebsd-openoffice@freebsd.org Cc: Gregory Nou <gregorynou@altern.org> Subject: Re: in reply to : [BUG] localized OOo causes compilation error Message-ID: <434AADC1.8020705@altern.org> In-Reply-To: <434A254B.2050708@altern.org> References: <434A254B.2050708@altern.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I investigate the problem today, and found a beginning of solution on http://permalink.gmane.org/gmane.os.netbsd.devel.packages/21318 Apparently, it comes from a bug in OOo which was ignored by libxml, until a recent time. This is due to the fact that you cannot use variables in match strings. They even suggest a dirty patch, but it works,... (to make it short : delete $ at line 87 : "$locale" becomes "locale") To avoid bad surprises, I changed the fallback-locale at line 73. Gregory Nou wrote: > Exactly same problem here : > > -------------+ creating locale dependent resource bundles > mkdir -p ../../unxfbsd.pro/misc/registry/res/de/org/openoffice/ > /usr/local/bin/xsltproc -o > ../../unxfbsd.pro/misc/registry/res/de/org/openoffice/Inet.properties \ > --stringparam locale de \ > ../../util/resource.xsl org/openoffice/Inet.xcs > XPath error : Undefined variable > compilation error: file ../../util/resource.xsl line 87 element template > Failed to compile predicate > XPath error : Undefined variable > compilation error: file ../../util/resource.xsl line 87 element template > Failed to compile predicate > dmake: Error code 5, while making > '../../unxfbsd.pro/misc/registry/res/de/org/openoffice/Inet.properties' > ---* TG_SLO.MK *--- > > ERROR: Error 65280 occurred while making > /usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/officecfg/registry/schema > > dmake: Error code 1, while making 'build_all' > ---* TG_SLO.MK *--- > *** Error code 255 > > Stop in /usr/ports/editors/openoffice.org-1.1. > zsh: exit 1 make LOCALIZED_LANG=fr -DWITHOUT_JAVA > > freebsd 7.0 from yesterday, cvsup from yesterday (in fact, everything > from yesterday...) > Still, I'm experiencing this problem for at least on month. (was already > on 7.0) > (in case of reply, please add me in cc) > -- Grégory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434AADC1.8020705>