Skip to content

configure is missing a check for libxml2 #68

Description

@roman-neuhauser

i get the snippet below even with libxml2 installed including the header files. you should not assume the existence of the /usr/include/libxml -> libxml2/libxml symlink. libxml comes with a description for pkg-config, query that.

make  all-recursive
make[1]: Entering directory '/home/roman/wc/MINE/libstorage'
Making all in storage
make[2]: Entering directory '/home/roman/wc/MINE/libstorage/storage'
grep BIN StorageDefines.h | sed -e "/PARTEDCMD/d" -e "s/^[^ ]*[ ]\+//" -e "s/ .*/,/" >gen_pathlist.cc
make  all-recursive
make[3]: Entering directory '/home/roman/wc/MINE/libstorage/storage'
Making all in SystemInfo
make[4]: Entering directory '/home/roman/wc/MINE/libstorage/storage/SystemInfo'
  CXX      SystemInfo.lo
In file included from ../../storage/Geometry.h:26:0,
                 from ../../storage/SystemInfo/CmdParted.h:27,
                 from ../../storage/SystemInfo/SystemInfo.h:34,
                 from SystemInfo.cc:27:
../../storage/XmlFile.h:27:25: fatal error: libxml/tree.h: No such file or directory
 #include <libxml/tree.h>
                         ^
compilation terminated.
Makefile:434: recipe for target 'SystemInfo.lo' failed
make[4]: *** [SystemInfo.lo] Error 1
make[4]: Leaving directory '/home/roman/wc/MINE/libstorage/storage/SystemInfo'
Makefile:672: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/roman/wc/MINE/libstorage/storage'
Makefile:486: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/roman/wc/MINE/libstorage/storage'
Makefile:470: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/roman/wc/MINE/libstorage'
Makefile:378: recipe for target 'all' failed
make: *** [all] Error 2

Activity

  1. kobliha commented on Jun 13, 2014

    @kobliha
    Member

    Could you create a patch to fix it PLS? Arvin is gonna be off for one more week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions