# Build fails on Ubuntu 14.04

**URL:** https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330
**Category:** Support
**Created:** [June 28, 2018, 5:19pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330 "2018-06-28T17:19:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)
#### Post date: [June 28, 2018, 5:19pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330/1 "2018-06-28T17:19:37Z")

</div>

%] Built target python-appdirs  
[20%] No configure step for ‘python-pyparsing’  
[20%] No build step for ‘python-pyparsing’  
[21%] Performing install step for ‘python-pyparsing’  
Traceback (most recent call last):  
File “setup.py”, line 15, in   
from pyparsing import **version** as pyparsing\_version  
File “/home/lorensen/ProjectsGIT/Slicer-Superbuild/python-pyparsing/pyparsing.py”,  
line 78, in   
from datetime import datetime  
ImportError: No module named datetime  
make[2]: \*\*\* [python-pyparsing-prefix/src/python-pyparsing-stamp/python-pyparsing-install]  
Error 1  
make[1]: \*\*\* [CMakeFiles/python-pyparsing.dir/all] Error 2

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [July 2, 2018, 3:19pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330/2 "2018-07-02T15:19:11Z")

</div>

Hi Bill - Not sure what’s up there. I did a fresh build on ubuntu 16.04 and didn’t run into this.

-Steve

---

<div class="post-metadata">

### Author: ![brhoom](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/brhoom/32/1228_2.png) [@brhoom](https://discourse.slicer.org/u/brhoom)
#### Post date: [July 2, 2018, 3:42pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330/3 "2018-07-02T15:42:37Z")

</div>

I just want to note that sometimes using **make -j** makes a problem as some stuff depends on other stuff. I usually use **make** for a few minutes until the error pass then I go back to **make -j**

---

<div class="post-metadata">

### Author: ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)
#### Post date: [July 2, 2018, 3:48pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330/4 "2018-07-02T15:48:58Z")

</div>

I updated my cmake to 10.3.1 and it builds now.

---

<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 2, 2018, 5:13pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330/5 "2018-07-02T17:13:26Z")

</div>

What CMake version did you try to use before?

[Build instructions](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#Linux) require CMake 3.7-rc2 as a minimum but minimum version in the code is just set to CMake 3.5.

---

<div class="post-metadata">

### Author: ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)
#### Post date: [July 2, 2018, 6:03pm UTC](https://discourse.slicer.org/t/build-fails-on-ubuntu-14-04/3330/6 "2018-07-02T18:03:03Z")

</div>

I think it was 3.7rc2. I’m pretty sure. I did try a clean build with that cmake but it also failed.
