View Issue Details

IDProjectCategoryView StatusLast Update
0001491Slicer4Core: Building (CMake, Superbuild)public2012-02-06 18:06
Reporterfinetjul Assigned Tojcfr  
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionfixed 
PlatformlinuxOSubuntuOS Version11.10
Product VersionSlicer 4.0.0 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.0.1 
Summary0001491: Fail to build Numpy on ubuntu 11.10
Description

From Luke Bloy: Wed, Oct 19, 2011 at 9:04 AM

I'm having trouble getting the superbuild of Slicer4 to work on Ubuntu
11.10.

It fails during the configure step
Configuring NUMPY:
/home/bloyl/Projects/Namic/Slicer4-SuperBuild/NUMPY
CMake Error
at /home/bloyl/Projects/Namic/Slicer4-SuperBuild/NUMPY_configure_step.cmake:65 (message):
Error in config of NUMPY. See configure_step_output.txt and
configure_step_error.txt

Attached is configure_step_error.txt
but it fails with ImportError: No module named _sha256

What is interesting is I can build NUMPY fine outside of cmake.

IE the lines that cmake calls
"/home/bloyl/Projects/Namic/Slicer4-SuperBuild/python-build/bin/python2.6" setup.py config
and
"/home/bloyl/Projects/Namic/Slicer4-SuperBuild/python-build/bin/python2.6" setup.py install

both succeed, although they seem to be using the the system lapack etc (ignoreing the local site.cfg maybe?).
attached are the stdouts of both those cmds.

If i disable the use numpy flag slicer builds fine.
Thanks
Luke

Additional Information

From Luke Bloy:
Digging alittle deeper. while setting Slicer_USE_NUMPY to off allows
slicer4 to build without errors, there is still an issue with python.

in the python interpreter

import hashlib

Traceback (most recent call last):
File "<console>", line 1, in <module>
File
"/home/bloyl/Projects/Namic/Slicer4-SuperBuild/python-build/lib/python2.6/hashlib.py", line 138, in <module>
sha224 = get_builtin_constructor('sha224')
File
"/home/bloyl/Projects/Namic/Slicer4-SuperBuild/python-build/lib/python2.6/hashlib.py", line 66, in
get_builtin_constructor
import _sha256
ImportError: No module named _sha256

So it seems this problem originates in building python and linking to
openssl in a nonstandard location (perhaps from cmcurl directory?)

http://www.gossamer-threads.com/lists/python/python/649734

This makes it impossible to install ipython or nibable.

I'm not sure how to progress farther then this so any suggestions would
be great.

-Luke

TagsNo tags attached.

Issue History

Date Modified Username Field Change
2011-10-19 09:04 finetjul New Issue
2011-10-19 09:04 finetjul Status new => assigned
2011-10-19 09:04 finetjul Assigned To => jcfr
2011-11-17 07:52 inorton Note Added: 0003324
2011-12-19 14:57 jcfr Status assigned => resolved
2011-12-19 14:57 jcfr Fixed in Version => Slicer 4.0 AHM Winter 2012
2011-12-19 14:57 jcfr Resolution open => fixed
2011-12-19 14:58 jcfr Note Added: 0003465
2011-12-19 14:59 jcfr Status resolved => assigned
2011-12-19 14:59 jcfr Assigned To jcfr => finetjul
2011-12-19 14:59 jcfr Status assigned => resolved
2011-12-19 17:06 finetjul Assigned To finetjul => jcfr
2012-02-06 18:06 jcfr Status resolved => closed