[xml] 2.4.10 --without-debug -> libxslt 1.0.7 make error
- From: Elizabeth Mattijsen <liz dijkmat nl>
- To: xml gnome org
- Subject: [xml] 2.4.10 --without-debug -> libxslt 1.0.7 make error
- Date: Thu, 22 Nov 2001 16:25:05 +0100
If you
./configure --without-debug
libxml 2.4.10 and then attempt to create libxslt 1.0.7, you get the
following error in make:
mkdir .libs
gcc -g -O2 -o .libs/xsltproc xsltproc.o ../libxslt/.libs/libxslt.so -lm
../libexslt/.libs/libexslt.so -lm ../breakpoint/.libs/libxsltbreakpoint.so
-lm -L/usr/local/lib /usr/local/lib/libxml2.so -L/lib -lm -lz -lm -lm
-Wl,--rpath -Wl,/usr/local/lib
../libxslt/.libs/libxslt.so: undefined reference to `xmlGetLineNo'
collect2: ld returned 1 exit status
make[2]: *** [xsltproc] Error 1
make[2]: Leaving directory `/usr/local/src/libxslt-1.0.7/xsltproc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libxslt-1.0.7'
make: *** [all-recursive-am] Error 2
If the ./configure is done --with-debug (the default, by the way), there is
no error in the libxslt make. Seems like "xmlGetLineNo" is not declared
properly when using --without-debug.
The reason I'm trying to make libxml without debugging support, is that
xsltproc outputs debugging information to stdout in some cases when the
HTML-parser is used, which breaks the XML generated on stdout.
I realise that you could use the --output parameter in xsltproc to force
the output to a file, but that just makes it nasty when using xsltproc as
part of a filter.
Elizabeth Mattijsen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]