Error ‘fatal error: TXMLNode.h: No such file or directory’ I met while installing ROOT

Dear developer

I want install package ROOT on my computer, It should be done with command./configure && make && make install, at the step of make, I met an error:

In file included from /home/wm/root-6.10.02/hist/unfold/src/TUnfoldBinningXML.cxx:123:0:
include/TUnfoldBinningXML.h:47:22: fatal error: TXMLNode.h: No such file or directory
compilation terminated.
Makefile:723: recipe for target 'hist/unfold/src/TUnfoldBinningXML.o' failed
make: *** [hist/unfold/src/TUnfoldBinningXML.o] Error 1

my OS is Ubuntu 16.04 LTS

Then I check for config.log

  98    Checking for libXpm ...
  99    libraries to check for: libXpm.tbd libXpm.dylib libXpm.dll.a  libXpm.a libXpm.lib libXpm

 100   Checking in directories /usr/local/lib64 /usr/local/lib/x86_64-linux-gnu /usr/local/lib64 /usr/local/lib for libXpm.tbd libXpm.     dylib libXpm.dll.a  libXpm.a libXpm.lib libXpm
 101   Checking for library in directory /usr/local/lib
 102    Checking /usr/local/lib/
 103 not found in /usr/local/lib
 104   Checking for library in directory /usr/local/lib
 105    Checking /usr/local/lib/
 106 not found in /usr/local/lib
 107   Checking for library libXpm.tbd in directory /usr/local/lib
 108    Checking /usr/local/lib/libXpm.tbd
 109   libXpm.tbd not found in /usr/local/lib
 110   Checking for library libXpm.dylib in directory /usr/local/lib
 111    Checking /usr/local/lib/libXpm.dylib
 112   libXpm.dylib not found in /usr/local/lib
 113   Checking for library libXpm.dll.a in directory /usr/local/lib
 114    Checking /usr/local/lib/libXpm.dll.a
 115   libXpm.dll.a not found in /usr/local/lib
 116   Checking for library libXpm.a in directory /usr/local/lib
 117    Checking /usr/local/lib/libXpm.a
 118   libXpm.a not found in /usr/local/lib
 119   Checking for library libXpm.lib in directory /usr/local/lib
 120    Checking /usr/local/lib/libXpm.lib
 121   libXpm.lib not found in /usr/local/lib
 122   Checking for library libXpm in directory /usr/local/lib
 123    Checking /usr/local/lib/libXpm
 124   libXpm not found in /usr/local/lib
 125  Checking in directories /usr/lib64 /usr/lib/x86_64-linux-gnu /usr/lib64 /usr/lib for libXpm.tbd libXpm.dylib libXpm.dll.a  libX     pm.a libXpm.lib libXpm
 126   Checking for library in directory /usr/lib/x86_64-linux-gnu
 127    Checking /usr/lib/x86_64-linux-gnu/
 128    Found file /usr/lib/x86_64-linux-gnu/
 129 Checking if /usr/lib/x86_64-linux-gnu/ is a 64-bit library
 130  file -L /usr/lib/x86_64-linux-gnu/ | grep '64-bit'
 131  result: 1
 132  is a 64bit library

and several mistakes like this. but I have installed for example libxpm-dev

$ sudo apt-get install libxpm-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libxpm-dev is already the newest version (1:3.5.11-1ubuntu0.16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 321 not upgraded.

The “configure” script is known to be broken in ROOT 6.
Use the CMake based building method.

Please note also that the ROOT Team provides ready to use binary distributions, and the “Ubuntu 16 gcc5.4” is one of the supported systems.

BTW. I don’t understand why you complain about “libXpm”. In the “config.log” output that you show, it properly finds the system library.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.