# Ubuntu 18.04,Slicer 4.10.2, build error

**URL:** https://discourse.slicer.org/t/ubuntu-18-04-slicer-4-10-2-build-error/11888
**Category:** Development
**Created:** [June 6, 2020, 4:27am UTC](https://discourse.slicer.org/t/ubuntu-18-04-slicer-4-10-2-build-error/11888 "2020-06-06T04:27:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![leemoncn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/leemoncn/32/5706_2.png) [@leemoncn](https://discourse.slicer.org/u/leemoncn)
#### Post date: [June 6, 2020, 4:27am UTC](https://discourse.slicer.org/t/ubuntu-18-04-slicer-4-10-2-build-error/11888/1 "2020-06-06T04:27:46Z")

</div>

On unbuntu 18.04, i build Slicer 4.10.2 from source code, it shows error:

‘/home/biso/Slicer-SuperBuild-Release/python-install/bin/PythonSlicer’ ‘setup.py’ ‘install’

error: Failed to obtain launcher executable name !

---

<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 6, 2020, 4:55am UTC](https://discourse.slicer.org/t/ubuntu-18-04-slicer-4-10-2-build-error/11888/2 "2020-06-06T04:55:22Z")

</div>

Thanks for the report 🙏

For reference, the problem has been discussed in the this post [error: Failed to obtain launcher executable name !](https://discourse.slicer.org/t/error-failed-to-obtain-launcher-executable-name/10913)

While the problem has been addressed in recent version of Slicer, a workaround is also discussed in [https://github.com/Slicer/Slicer/issues/4787#issuecomment-606220350](https://github.com/Slicer/Slicer/issues/4787#issuecomment-606220350)

Now, is there a specific reason you are trying to build version 4.10.2 from source ? If not, I suggest you build the latest version.

---

<div class="post-metadata">

### Author: ![leemoncn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/leemoncn/32/5706_2.png) [@leemoncn](https://discourse.slicer.org/u/leemoncn)
#### Post date: [June 6, 2020, 5:24am UTC](https://discourse.slicer.org/t/ubuntu-18-04-slicer-4-10-2-build-error/11888/3 "2020-06-06T05:24:51Z")

</div>

I have made a lot of change in 4.10.2. It’s difficult to upgrade to a higher version.  
If I want to compile successfully Slicer 4.10.2, Which version is more recommended? Is Ubuntu16.04 can compile it?

---

<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 6, 2020, 5:39am UTC](https://discourse.slicer.org/t/ubuntu-18-04-slicer-4-10-2-build-error/11888/4 "2020-06-06T05:39:48Z")

</div>

If you send a pull request with your changes to the Slicer-4.10 branch then we’ll check if we can port them for you to Slicer-4.11. In general, the best is to minimize Slicer core patches, but instead do all customizations using the CustomSlicer template and extensions. These Slicer core updates much easier. You can usually even keep your code compatible with both the stable and latest Slicer for a good while.

Slicer-4.11 (soon to be released as Slicer 5) is so much better than Slicer-4.10 that you really need to find a way to upgrade. If you run into any specific issues that the migration guide does not answer then let us know.
