After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326442 - configure --with-minimum --with-sax1 fails
configure --with-minimum --with-sax1 fails
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.22
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-10 10:37 UTC by David Kågedal
Modified: 2006-10-13 22:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description David Kågedal 2006-01-10 10:37:36 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:
Comment 1 David Kågedal 2006-01-10 10:38:05 UTC
This is similar, but not identical, to bug 142917.
Comment 2 David Kågedal 2006-01-10 10:48:56 UTC
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.
Comment 3 Daniel Veillard 2006-10-13 22:32:40 UTC
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