Root installation problem when trying to download lz4 file from github repository

Dear Experts,

I wanted to install root 5.34/38 version on my ubuntu 18.04 machine with gcc 7.3, below is my problem showing when I trying to install it,
xz-5.0.3/src/liblzma/api -o core/lzma/src/ZipLZMA.o -c /home/arup/root-5.34/root/core/lzma/src/ZipLZMA.c
*** Downloading http://github.com/lz4/v1.7.5.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:02:10 --:–:-- 0curl: (7) Failed to connect to github.com port 443: Connection timed out
*** Building core/lz4/src/lz4-1.7.5/lib/liblz4.a…

gzip: /home/arup/root-5.34/root/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/arup/root-5.34/root/core/lz4/src’
make[1]: *** No rule to make target ‘lib’. Stop.
make[1]: Leaving directory ‘/home/arup/root-5.34/root/core/lz4/src’
/home/arup/root-5.34/root/core/lz4/Module.mk:81: recipe for target ‘core/lz4/src/lz4-1.7.5/lib/liblz4.a’ failed
make: *** [core/lz4/src/lz4-1.7.5/lib/liblz4.a] Error 2

I am behind the proxy firewall, but I’ve set the username and password on the global gitgub

git config --global http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port

after this also the same problem is coming, can you help me out from this

Hi,

5.34 is an old and unsupported version. Do you have the same problem with 6.16?

Cheers,
P

I guess you should be able to compile ROOT 5.34/38 thought I would say that you should better take the head of the v5-34-00-patches branch (you may need to add “--enable-gsl-shared --disable-fitsio” when configuring it) for ROOT 5 or the newest ROOT 6 release.

Maybe the problem is that “curl” actually tries to download files using “https”, not “http” (and maybe it is missing an appropriate “proxy”). You need to make sure that the following command works:

curl -L https://github.com/lz4/lz4/archive/v1.7.5.tar.gz > 1.7.5.tar.gz

Yes, you are right, somewhere the proxy is missing, my problem is in which file should I set it?

In case of the following command the same problem arises
curl -L https://github.com/lz4/lz4/archive/v1.7.5.tar.gz > 1.7.5.tar.gz

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0curl: (7) Failed to connect to github.com port 443: Connection timed out

See the “FILES” and “ENVIRONMENT” sections in the “man curl”.

Thank you very much. After setting the proxy to .curlrc file and adding “–enable-gsl-shared --disable-fitsio” root5.34/38 installed successfully in my machine. Thank you very much for directing

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