On 14.10.2011 00:44, Pedro Giffuni wrote: > Hi; > > FreeBSD has a tinderbox that checks all the ports and > OpenOffice 3.4-RC appears broken in configure: > > http://pointyhat.freebsd.org/errorlogs/amd64-9-full-logs/openoffice.org-3.4.20110409.log > > building manually I get this: > ____ > .... > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall > -Wl,--version-script=./libxslt.syms -version-info 2:26:1 > -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec -o > libxslt.la -rpath /usr/local/lib attrvt.lo xslt.lo xsltlocale.lo xsltutils.lo > pattern.lo templates.lo variables.lo keys.lo numbers.lo extensions.lo > extra.lo functions.lo namespaces.lo imports.lo attributes.lo documents.lo > preproc.lo transform.lo security.lo > -L/usr/ports/editors/openoffice.org-3-RC/work/OOO340_m1/solver/340/unxfbsdx.pro/lib > -lxml2 -lm > libtool: link: gcc -shared .libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o > .libs/xsltutils.o .libs/pattern.o .libs/templates.o .libs/variables.o > .libs/keys.o .libs/numbers.o .libs/extensions.o .libs/extra.o > .libs/functions.o .libs/namespaces.o .libs/imports.o .libs/attributes.o > .libs/documents.o .libs/preproc.o .libs/transform.o .libs/security.o > -L/usr/ports/editors/openoffice.org-3-RC/work/OOO340_m1/solver/340/unxfbsdx.pro/lib > -lxml2 -lm -Wl,--version-script=./libxslt.syms -Wl,-rpath > -Wl,\$ORIGIN:\$ORIGIN/../ure-link/lib -Wl,-noinhibit-exec -Wl,-soname > -Wl,libxslt.so.1 -o .libs/libxslt.so.1 > /usr/bin/ld: cannot find -lxml2
if your build is configured to use the internal libxml2, then the libxml2 module should deliver a patched xml2-config script into the solver bin directory, which should (when called by the internal libxslt configure script) put the solver lib directory onto the linker search path (looks like that is the case here with "-L/usr/ports/editors/openoffice.org-3-RC/work/OOO340_m1/solver/340/unxfbsdx.pro/lib -lxml2"). if you build --with-system-libxml, then the xml2-config from your system should be found instead. on MacOSX OOo does not build the internal libxml2/libxslt but instead uses the system libraries; perhaps it could make sense to do the same on FreeBSD? regards, michael
