Forum

cmake .. Could NOT find LibXml2 LibXslt

Schatz
13 June 2013, 20:46
root@crunchbang:~/hiawatha-9.1/build# cmake ..
-- The C compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find LibXslt (missing: LIBXSLT_LIBRARIES LIBXSLT_INCLUDE_DIR)
-- Looking for crypt.h
-- Looking for crypt.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for include files sys/types.h, netinet/in.h
-- Looking for include files sys/types.h, netinet/in.h - found
-- Looking for include files sys/types.h, netinet/tcp.h
-- Looking for include files sys/types.h, netinet/tcp.h - found
-- Looking for rpcsvc/crypt.h
-- Looking for rpcsvc/crypt.h - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for clearenv
-- Looking for clearenv - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for crypt_r in crypt
-- Looking for crypt_r in crypt - found
-- Looking for socket in network
-- Looking for socket in network - not found
-- Looking for gzdopen in z
-- Looking for gzdopen in z - not found
-- Looking for SO_ACCEPTFILTER
-- Looking for SO_ACCEPTFILTER - not found.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBXML2_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/hiawatha-9.1
used as include directory in directory /root/hiawatha-9.1
used as include directory in directory /root/hiawatha-9.1
used as include directory in directory /root/hiawatha-9.1
LIBXML2_LIBRARIES (ADVANCED)
linked by target "hiawatha" in directory /root/hiawatha-9.1
LIBXSLT_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/hiawatha-9.1
used as include directory in directory /root/hiawatha-9.1
used as include directory in directory /root/hiawatha-9.1
used as include directory in directory /root/hiawatha-9.1
LIBXSLT_LIBRARIES (ADVANCED)
linked by target "hiawatha" in directory /root/hiawatha-9.1

-- Configuring incomplete, errors occurred!
root@crunchbang:~/hiawatha-9.1/build#


Hiawatha version: 9.1
Operating System: Crunchbang Waldorf (Debian Wheezy)

Hugo Leisink
13 June 2013, 21:05
Have you tried installing those libraries?
Heiko
16 June 2013, 23:26
I think Debian is here similar to Ubuntu:
sudo apt-get install libc6-dev libssl-dev dpkg-dev debhelper fakeroot libxml2-dev libxslt1-dev
This topic has been closed.