[Insight-users] SimpleITK build error

Andriy Fedorov fedorov at bwh.harvard.edu
Sat Oct 15 19:04:03 EDT 2011


Hi,

I have the error below while trying to compile SimpleITK from source.
I am following instructions here:
http://www.itk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted, with
Python bindings only.

OSX 10.6.8 (Snow Leopard), gcc-4.2.1, python 2.7.1.

[ 63%] Built target ConfigureFileBuildtime
Linking CXX shared module
/Users/fedorov/Software/SimpleITK-build/lib/_SimpleITK.so
Creating Python virtualenv
Already using interpreter
/Library/Frameworks/EPD64.framework/Versions/Current/bin/python2.7
New python executable in
/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv/bin/python2.7
Also creating executable in
/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv/bin/python
ERROR: The executable
/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv/bin/python2.7
is not functioning
ERROR: It thinks sys.prefix is
u'/Library/Frameworks/EPD64.framework/Versions/7.0' (should be
'/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv')
ERROR: virtualenv is not compatible with this system or executable
make[5]: *** [/Users/fedorov/Software/SimpleITK-build/lib/_SimpleITK.so]
Error 100
make[4]: *** [Wrapping/CMakeFiles/_SimpleITK.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
make: *** [all] Error 2

Can someone help?

AF


More information about the Insight-users mailing list