# Bug during 3DSlicer installation

**URL:** <https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413>\
**Category:** Development\
**Tags:** installation\
**Created:** [July 4, 2019, 3:44pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413 "2019-07-04T15:44:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [July 4, 2019, 3:44pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/1 "2019-07-04T15:44:16Z")

</div>

Hi, guys.

I’m trying to install **Slicer release 4.10.2** in my Linux Mint 18.3 Sylvia Desktop.  
I correctly installed **CMake 3.13.4 and Qt 5.11.0**.  
I go with CMake, configure and generate, everything goes ok!

But when I do **sudo make** in the slicer build folder… it runs and **crashes** with the following error:

```
CMake Error at PCRE-prefix/src/PCRE-stamp/download-PCRE.cmake:159 (message):
Each download failed!
error: downloading 
'https://github.com/Slicer/SlicerBinaryDependencies/releases/download/PCRE/pcre-8.38.tar.gz' failed
     status_code: 1
     status_string: "Unsupported protocol"
     log:
     --- LOG BEGIN ---
     Protocol "https" not supported or disabled in libcurl

Closing connection -1

```

As trials to fix it, I did reinstall to the latest version **OpenSSL** and **Clurl --with-ssl** , with the last one not working well (I then installed that through synaptic). But no success at all.

Any help is very welcome.  
Thanks!

P.S. I just installed pure ITK 5.0, everything worked very well!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 4, 2019, 5:12pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/2 "2019-07-04T17:12:20Z")

</div>

This error seems to be a CMake SSL configuration error, which is not related to Slicer. There are several similar error reports on the web (such as [this](https://stackoverflow.com/questions/29816529/unsupported-protocol-while-download-tar-gz-package)) - one of the suggested solutions should work for you, too.

---

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [July 4, 2019, 5:39pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/3 "2019-07-04T17:39:06Z")

</div>

Thanks, Andrass.

Checking that right now!

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [July 5, 2019, 2:06am UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/4 "2019-07-05T02:06:16Z")

</div>

> [@MachadoL](#):
>
> when I do **sudo make** in the slicer build folder

Just curious, why do you use sudo for building Slicer?

---

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [July 5, 2019, 5:46pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/5 "2019-07-05T17:46:57Z")

</div>

I guess I do this just to be sure it will not stop with some “permission denied” error… haha

---

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [July 8, 2019, 1:06pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/6 "2019-07-08T13:06:30Z")

</div>

**[SOLVED]**

In fact, as Andrass pointed out, it was a **CMAKE PROBLEM**. I did as it follows:

install the **lib libcurl4-openssl-dev:** :

```
sudo apt-get install libcurl4-openssl-dev

```

**Rebuild CMake from source** with the following comands:

```
sudo ./bootstrap --system-curl
Make
Make install

```

Finally, I ran the standard recommendations for building 3D SLICER!

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [July 8, 2019, 1:48pm UTC](https://discourse.slicer.org/t/bug-during-3dslicer-installation/7413/7 "2019-07-08T13:48:56Z")

</div>

Thanks for the update.

To simplify your workflow. Instead of building CMake from source, I suggest you download the CMake binaries available at [https://cmake.org/download/](https://cmake.org/download/)
