Build fails on Ubuntu 14.04

%] 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

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

-Steve

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

I updated my cmake to 10.3.1 and it builds now.

What CMake version did you try to use before?

Build instructions require CMake 3.7-rc2 as a minimum but minimum version in the code is just set to CMake 3.5.

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