# Build Issue with Slicer-4.10.2 on centOS8

**URL:** <https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101>\
**Category:** Support\
**Created:** [June 18, 2020, 7:39pm UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101 "2020-06-18T19:39:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidCai1246](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@DavidCai1246](https://discourse.slicer.org/u/DavidCai1246)\
**Post date:** [June 18, 2020, 7:39pm UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101/1 "2020-06-18T19:39:38Z")

</div>

Operating system: centOS8  
Slicer version: 4.10.2

I’m following the instructions on [nightly build](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#BUILD_Slicer).

However when I start building the slicer, I get the following error:  
[10%] No install step for ‘DCMTK’  
[10%] Completed ‘DCMTK’  
[10%] Built target DCMTK  
make: \*\*\* [Makefile:95: all] Error 2

If I run make without the -j option I get:

Creating ‘bin/./Modules/Setup.local’  
…/…/lib/libpython2.7.so: undefined reference to `minor’

…/…/lib/libpython2.7.so: undefined reference to `major’

…/…/lib/libpython2.7.so: undefined reference to `makedev’  
collect2: error: ld returned 1 exit status  
make[5]: \*\*\* [CMakeBuild/python/CMakeFiles/python.dir/build.make:92: bin/python] Error 1  
make[4]: \*\*\* [CMakeFiles/Makefile2:3596: CMakeBuild/python/CMakeFiles/python.dir/all] Error 2  
make[3]: \*\*\* [Makefile:141: all] Error 2  
make[2]: \*\*\* [CMakeFiles/python.dir/build.make:118: python-prefix/src/python-stamp/python-build] Error 2  
make[1]: \*\*\* [CMakeFiles/Makefile2:1032: CMakeFiles/python.dir/all] Error 2  
make: \*\*\* [Makefile:95: all] Error 2

Thank you in advance for any help or suggestions!

---

<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 18, 2020, 8:17pm UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101/2 "2020-06-18T20:17:52Z")

</div>

I would not recommend to develop anything for Slicer-4.10, as we will soon release Slicer-5 and then Slicer-4.10 will not be used anymore. Slicer-5 will be based on latest Slicer-4.11, it uses Python3, and contains lots of important new features and improvements.

---

<div class="post-metadata">

**Author:** ![DavidCai1246](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@DavidCai1246](https://discourse.slicer.org/u/DavidCai1246)\
**Post date:** [June 18, 2020, 9:01pm UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101/4 "2020-06-18T21:01:39Z")

</div>

I would still like th have slicer 4.10.2 built on my system because it is the most recent stable release

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 19, 2020, 4:34am UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101/5 "2020-06-19T04:34:35Z")

</div>

The term ‘stable’ doesn’t mean that preview version is unstable. In fact, when Slicer 5.0 ‘stable’ is released in the next few months, it will be based on the current 4.11 preview as @lassoan indicated above, at which time 4.10.2 will be considered ‘unsupported’.

If you are just starting with Slicer, you will be investing a lot time learning things that won’t apply to the new upcoming stable version.

---

<div class="post-metadata">

**Author:** ![DavidCai1246](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@DavidCai1246](https://discourse.slicer.org/u/DavidCai1246)\
**Post date:** [June 20, 2020, 3:47am UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101/6 "2020-06-20T03:47:19Z")

</div>

I see, thank you very much!

---

<div class="post-metadata">

**Author:** ![DavidCai1246](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@DavidCai1246](https://discourse.slicer.org/u/DavidCai1246)\
**Post date:** [June 20, 2020, 3:47am UTC](https://discourse.slicer.org/t/build-issue-with-slicer-4-10-2-on-centos8/12101/7 "2020-06-20T03:47:53Z")

</div>

Thats a good point and I agree, thank you very much!
