[Insight-users] SimpleITK build error

Johnson, Hans J hans-johnson at uiowa.edu
Sun Oct 16 09:33:26 EDT 2011


This is where I got the information:


https://gist.github.com/845545



The patch is:

https://github.com/satra/virtualenv/tree/fix/EPDpatch

https://github.com/satra/virtualenv/commit/458fa9acb72b789499676b1760f699e4
518e4822


All I did was to replace the virtualenv.py file in SimpleITK with this
version.


Hans




On 10/15/11 7:17 PM, "Matt McCormick" <matt.mccormick at kitware.com> wrote:

>Hi Hans,
>
>Do you remember the where the virtualenv update was, I think it was on
>the Mac, that fixed this issue?  It looks like he is using the
>Enthought Python Distribution, and hopefully a similar fix would work.
>
>Thanks,
>Matt
>
>On Sat, Oct 15, 2011 at 7:04 PM, Andriy Fedorov <fedorov at bwh.harvard.edu>
>wrote:
>> 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/Installat
>>ion/PythonVirtualenv/bin/python2.7
>> Also creating executable in
>>
>>/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installat
>>ion/PythonVirtualenv/bin/python
>> ERROR: The executable
>>
>>/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installat
>>ion/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/Installa
>>tion/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
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-users mailing list