Error during ROOT installation, 1.7.5.tar.gz

when I make the ROOT file, it says:

*** Downloading
/bin/sh: 5: curl: not found
*** Building core/lz4/src/lz4-1.7.5/lib/liblz4.a…
gzip: /home/wzm/program/ROOT/root-6.10.08/core/lz4/src/1.7.5.tar.gz: unexpected end of file
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
/bin/sh: 11: cd: can’t cd to lz4-1.7.5
make[1]: Entering directory ‘/home/wzm/program/ROOT/root-6.10.08/core/lz4/src’
make[1]: *** No rule to make target ‘lib’. Stop.


You need to install the “curl” system package.

yes, thank you very much.

Hi,thanks for your help, but now I have another problem.

In the end of make, it says:

g++ -shared -Wl,-soname, -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o lib/ hist/unfold/src/TUnfoldDensity.o hist/unfold/src/TUnfoldBinning.o hist/unfold/src/TUnfold.o hist/unfold/src/TUnfoldBinningXML.o hist/unfold/src/TUnfoldSys.o hist/unfold/src/G__Unfold.o -Llib -lCore -ldl -Llib -lHist -lMatrix -lXMLParser
/usr/bin/ld: cannot find -lXMLParser
collect2: error: ld returned 1 exit status
/home/wzm/program/ROOT/root-6.10.08/hist/unfold/ recipe for target ‘lib/’ failed
make: *** [lib/] Error 1

It seems that there is no lxml in my systerm. I try to install it using “apt-get install python-lxml”, however, the error is still there. why?

thank you!

Search for “xml” in: ROOT Build Prerequisites

It is “libxml2-devel”, but I have installed it. My linux systerm is Ubuntu16.04.

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

OK, I see it, thank you.
However, I still can’t understand why there is such a error.

You are using an older version of ROOT that may still be affected by a bug in the build system that broke parallel builds. Please try make -j1. If that works, you have an affected version. If possible, it is recommended that you move to a more recent version of ROOT, such as the latest 6.12 release, instead of using 6.10. Cheers,

Thank you for your reply.
I tried to install 6.12 on Ubuntu16, but still failed.
It has reached the point:
" [100%] Linking CXX executable …/…/bin/llvm-strings"
and starts to install
"Install the project…
– Install configuration: “Release”.

But in the very end, it says:
" /usr/bin/ld: cannot find -lXMLParser
collect2: error: ld returned 1 exit status
/home/wzm/program/root-6.12.06/hist/unfold/ recipe for target ‘lib/’ failed
make: *** [lib/] Error 1"


Maybe you are having the same problem as described in this post?

Yes, my problem is the same with the link. Now I get success. :grin: Thank you very much !