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 732735 - Compilation fails with --without-xpath --without-xptr --without-xinclude --without-c14n
Compilation fails with --without-xpath --without-xptr --without-xinclude --wi...
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-04 11:25 UTC by Joel Holdsworth
Modified: 2014-07-15 03:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
./configure --without-xpath --without-xptr --without-xinclude --without-c14n (98.51 KB, text/plain)
2014-07-04 13:31 UTC, Joel Holdsworth
Details
make with --without-xpath --without-xptr --without-xinclude --without-c14n (18.00 KB, text/plain)
2014-07-04 13:31 UTC, Joel Holdsworth
Details

Description Joel Holdsworth 2014-07-04 11:25:42 UTC
If libxml2 git HEAD (c35af8b18dd) or v2.9.1 is configured like so...

 $ ./configure --without-xpath --without-xptr --without-xinclude --without-c14n

...compilation fails with undefined references inside schematron.c. If libxml2 is recompiled like so...

 $ ./configure --without-xpath --without-xptr --without-xinclude --without-c14n --without-schematron

...there are undefined references to XPath in libxml.c. Looks like these options aren't very well supported. Maybe they should be removed.
Comment 1 André Klapper 2014-07-04 12:25:27 UTC
Can you please post the literal output of the failure?
Comment 2 Joel Holdsworth 2014-07-04 13:31:00 UTC
Created attachment 279905 [details]
./configure --without-xpath --without-xptr --without-xinclude --without-c14n
Comment 3 Joel Holdsworth 2014-07-04 13:31:27 UTC
Created attachment 279906 [details]
make with --without-xpath --without-xptr --without-xinclude --without-c14n
Comment 4 Daniel Veillard 2014-07-15 03:16:04 UTC
Okay, I have made a fix for this, commited as 319e159b11e3bb7ddd8307169362bfb9b8b33561

It still break when building the python bindings since they
rely on XPath but at least it allows to build the core

  thanks,

Daniel