Thanks, Hanspeter
mayavi is working now
Alex
On Tue, Jun 19, 2012 at 2:21 PM, Hanspeter Niederstrasser <
f...@snaggledworks.com> wrote:
> On 6/18/2012 12:46 PM, Martin Costabel wrote:
>
>> On 18/06/12 16:58, Hanspeter Niederstrasser wrote:
>> []
>>
>>> +# cmake is broken even after setting DYLD_LIBRARY_PATH and needs help
>>> +# finding libvtkDICOMParser.5.8.dylib when linking vtkpython. So let's
>>> +# add an explicit -L flag to the linker for that case (only).
>>> + cd Wrapping/Python/CMakeFiles/**vtkpython.dir
>>> + echo `cat link.txt` -L../../bin> link.txt
>>> + cd ../../../..
>>> + make -w
>>>
>>
>> OK, so this is not too hard. But it would be interesting to understand
>> (maybe you do?) why this is necessary. Here is an additional data point
>> (but with this I'll have to stop; I'll be on the road for 3 weeks
>> starting tomorrow; feel free to fix vtk58; I can always undo it
>> afterwards ;-) ):
>>
>> Suspecting cmake (obviously), I downgraded cmake from 2.8.8-2 to 2.8.6-2
>> and rebuilt vtk58. It went through without problem, which explains why I
>> was successful earlier. The linker line in question is now much longer.
>> There appears not only this library, but quite a few others:
>>
>
> Looks like newer cmake does not propagate all dependent dylibs into the
> linker line, but that's the level of analysis I'm going to be able to
> provide (does anyone really understand how cmake does anything?). I've
> checked in the -L../../bin fix above, and forced a newer cmake so that
> everyone would get built the same. Hopefully this leads to a working
> downstream solution.
>
> Alex M: please test this vtk58 and if it works with mayavi2-py27. Thanks.
>
> Hanspeter
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users