# Slicer compile behind proxy (clone into dcmtk through http)

**URL:** <https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423>\
**Category:** Development\
**Tags:** build\
**Created:** [June 2, 2017, 8:27am UTC](https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423 "2017-06-02T08:27:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpenzkofer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tpenzkofer/32/4806_2.png) [@tpenzkofer](https://discourse.slicer.org/u/tpenzkofer)\
**Post date:** [June 2, 2017, 8:27am UTC](https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423/1 "2017-06-02T08:27:56Z")

</div>

Operating system: Ubuntu 16.04  
Slicer version: Git  
Expected behavior: compiles  
Actual behavior: does not compile (does not clone into dcmtk through http)

Hi all,

I just set up a new development environment which sits behind a http/https proxy, no full internet access, especially no git access. I tried to compile Slicer but it stops at the Cloning into ‘DCMTK’ step. When setting the Slicer\_USE\_GIT\_PROTOCOL option to ‘NO’ the error looks like this (with yes it stops at any git:// link).

Cloning into ‘DCMTK’…  
fatal: repository ‘[http://git.dcmtk.org/dcmtk/](http://git.dcmtk.org/dcmtk/)’ not found

Thank you,  
Tobias

---

<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:** [June 2, 2017, 1:41pm UTC](https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423/2 "2017-06-02T13:41:58Z")

</div>

See discussion here: [Building Slicer behind a firewall](https://discourse.slicer.org/t/building-slicer-behind-a-firewall/385)

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [June 2, 2017, 1:57pm UTC](https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423/3 "2017-06-02T13:57:07Z")

</div>

Is there some reason not to switch to github by default, and update our branch as-needed? We aren’t tracking master anyway.

---

<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:** [June 2, 2017, 2:42pm UTC](https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423/4 "2017-06-02T14:42:20Z")

</div>

Waiting we hear back from @fedorov , I will switch back to our github fork

---

<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:** [June 2, 2017, 3:20pm UTC](https://discourse.slicer.org/t/slicer-compile-behind-proxy-clone-into-dcmtk-through-http/423/5 "2017-06-02T15:20:22Z")

</div>

@tpenzkofer Et voila, following [http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26069](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26069) clone of DCMTK should work behing proxy.

Hth  
Jc
