# Workaround for offline installation problems with LZ4

**URL:** <https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639>\
**Category:** ROOT\
**Created:** [April 11, 2018, 9:54am UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639 "2018-04-11T09:54:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luru](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/53a042/32.png) [@luru](https://root-forum.cern.ch/u/luru)\
**Post date:** [April 11, 2018, 9:54am UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639/1 "2018-04-11T09:54:02Z")

</div>

Hi,  
I’m trying to install root 6.12/06 on an offline Debian 8.1 machine using cmake 3.11, but encounter the same problem with the LZ4 libary described here: [ROOT 6.12/02 and LZ4](https://root-forum.cern.ch/t/root-6-12-02-and-lz4/27259). Cmake tries to download the libary and isn’t able to, stopping the installation. I’ve tried to deactivate builtin\_LZ4 in CMakeCache, but the problem persists.  
Until the ticket related to this issue ([https://sft.its.cern.ch/jira/browse/ROOT-9163](https://sft.its.cern.ch/jira/browse/ROOT-9163)) is resolved, is there a workaround?  
Cheers

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [April 11, 2018, 12:46pm UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639/2 "2018-04-11T12:46:14Z")

</div>

If you can, please try using the development release (6.13), or the master branch. The problem has been resolved already, but was not backported to eariler branches since it involved several changes. Cheers,

---

<div class="post-metadata">

**Author:** ![luru](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/53a042/32.png) [@luru](https://root-forum.cern.ch/u/luru)\
**Post date:** [April 11, 2018, 3:46pm UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639/3 "2018-04-11T15:46:47Z")

</div>

The development release 6.13 unfortunately doesn’t work without a network connection either. Cmake encounters an error at ExternalProject.cmake:3100 (\_ed\_add\_download\_command) when trying to find git for clone of clad. This looks to me as if it unsuccessfully tries to download this libary. CMakeCache contains no mention of clad, so I can’t turn the inclusion off.

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [April 12, 2018, 8:54am UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639/4 "2018-04-12T08:54:55Z")

</div>

Please try the master version then, that’s been fixed too (although right after the dev release was made).  
Are you trying to use external LLVM?

---

<div class="post-metadata">

**Author:** ![luru](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/53a042/32.png) [@luru](https://root-forum.cern.ch/u/luru)\
**Post date:** [April 12, 2018, 11:20am UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639/5 "2018-04-12T11:20:01Z")

</div>

I can’t confirm whether this works, we ended up moving the machine to connect it to a network. Thank you for your help and time!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [April 26, 2018, 11:20am UTC](https://root-forum.cern.ch/t/workaround-for-offline-installation-problems-with-lz4/28639/6 "2018-04-26T11:20:03Z")

</div>

Closed on April 26, 2018, 11:20am UTC

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