[mlpack] Compilation issue of mlpack on Ubuntu

Jaskaran Singh jaskaranvirdi1 at gmail.com
Thu Jan 29 09:51:53 EST 2015


Hi
I was trying to build mlpack from source according to instructions given on
the github page.
Here is what the compilation log says after I did
>>cmake ../
CMake Error at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
(MESSAGE):
  Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
  (Required is at least version "2.6.0")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindLibXml2.cmake:50
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:126 (find_package)

But I have libxml2 installed with version 2.7.8.
jaskaran at ubuntu:~/Desktop/mlpack-1.0.12/build$ dpkg -s libxml2
Package: libxml2
Status: install ok installed
Multi-Arch: same
Priority: standard
Section: libs
Installed-Size: 1750
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Version: 2.7.8.dfsg-5.1ubuntu4.11
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.2.3.3.dfsg)
Pre-Depends: multiarch-support
Recommends: xml-core

Could somebody please help me out.

Cheers
*Jaskaran Singh Virdi*
*Final Year Undergrad Computer Science*
*IIT Ropar*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cc.gatech.edu/pipermail/mlpack/attachments/20150129/0ef689df/attachment-0002.html>


More information about the mlpack mailing list