GNOME Bugzilla – Bug 326442
configure --with-minimum --with-sax1 fails
Last modified: 2006-10-13 22:32:40 UTC
Please describe the problem: The #ifdefs for including xmlValidateNCName does not include LIBXML_SAX_ENABLED. This means that if configure is run like this ./configure --with-minimum --with-sax1 You get the following output when building: /opt/src/libxml2-2.6.22/SAX2.c: In function `xmlSAX2AttributeInternal': /opt/src/libxml2-2.6.22/SAX2.c:1325: warning: implicit declaration of function `xmlValidateNCName' ... ./.libs/libxml2.so: undefined reference to `xmlValidateNCName' Steps to reproduce: 1. ./configure --with-minimum --with-sax1 2. make Actual results: compilation fails Expected results: compilation success Does this happen every time? yes Other information:
This is similar, but not identical, to bug 142917.
I tried adding --with-schemas to make it work, but then it fails to include xmlGetNsList. That function is only included when tree or xpath is enabled.
Okay I fixed the compilation for ./configure --with-minimum --with-sax1 and ./configure --with-minimum --with-sax1 --with-schemas and for good measure I checked --with minimum and --with minimum --with-schemas , but the combinations quickly explode so testing all of them is near impossible. thanks Daniel