Make sure that you have the “libxml2-dev” package installed.
Use “CMake / make” with ROOT 6 (the classical “configure / make” based method is known to be broken, i.e. not supported any more).
Yes, I am sure that I have the “libxml2-dev” package installed. As you can see the locate libxml2.so output too.
As mentioned before I already tried Cmake before which failed too, that’s why I returned to the classic configure/make procedure.
Yes, I tried the binary distributions which works well. But I wanted to build the root myself…
Are you sure that error is the first one you get? The make-based build system is deprecated in 6.12 and will be removed in 6.14. If you can try with CMake instead, it should work. Please attach a full build log so that I can try to diagnose what exactly is the problem. Thanks,
3. Installing using CMake
a. created another build directory mkdir root_build outside the root directory.
b. cd root_build
c. cmake -Droofit=ON -Dfftw3=ON /home/physics/Downloads/root/
d. cmake --build .
e. the added these lines in the .bashrc : source /path/to/install-or-build/dir/bin/thisroot.sh