[vtkusers] Re: unable to build vtk
Antonio Coralles
noche.suapie at reflex.at
Wed Mar 30 18:26:31 EST 2005
William A. Hoffman wrote:
> Can you run ldd /mnt/saddam/downloads/VTK/CMake/libcmVTK_WRAP_TCL2.so?
This doesn't seem ok:
ldd CMake/libcmVTK_WRAP_TCL2.so
not a dynamic executable
>
> One other thing that sort of sticks out is the -fomit-frame-pointer flag.
> Can you try building cmake without that flag? Perhaps what is
> happening is
> that the .so is built without the flag and cmake is built with it, and
> it is incompatible.
>
> If that does not work, try rebuilding cmake with just -O2.
Well, I tried that too, without sucess ...
>
>
> -Bill
>
>
> At 10:19 PM 3/28/2005, you wrote:
>>Bill Hoffman wrote:
>>
>>> So, can you answer a few questions. Did you build cmake,
>>> or did you get the binary? If you got the binary, where did
>>> you get it from? If you built cmake from source what flags did
>>> you use?
>>
>>As a user of gentoo linux i built cmake from source using 'emerge
>>cmake'. I use the following user defined flags:
>>-O2 -march=athlon-xp -mmmx -msse -m3dnow -pipe -fomit-frame-pointer
>>
>>>
>>> What is the output of ls -l
>>> /mnt/saddam/downloads/VTK/CMake/libcmVTK_WRAP_TCL2.so
>>
>>-rwxr-xr-x 1 antonio users 15828 Mar 26 11:38 libcmVTK_WRAP_TCL2.so
>>
>>>
>>> Basically, cmake builds a shared library and loads into itself.
>>> The library is strictly "C" code so it should be portable. Trouble
>>> can come from 64/32 bit incompatibilities. Are you running 64 bit?
>>
>>No, as my flags suggest i've an athlon-xp running with linux-2.6.10.
>>
>>>
>>> -Bill
>>
>>Thanks for thinking about my problem, which may be a gentoo specific
> bug ...
>>antonio
>>
>>>
>>>
>>>>I'm using gentoo linux with gcc-3.3.5 and cmake 2.0.5 .
>>>>
>>>>When i enter ccmake in my VTK directory, which contains the VTK-4.2
>>>>release, and then hit c [for configure] i get the following error:
>>>>
>>>> CMake Error: Error in cmake code at
>>>> /mnt/saddam/downloads/VTK/CMake/vtkLoadCMakeExtensions.cmake:7:
>>>> LOAD_COMMAND Attempt to load the library
>>>>/mnt/saddam/downloads/VTK/CMake/libcmVTK_WRAP_TCL2.so failed. Additional
>>>>error
>>>> info is:
>>>> /mnt/saddam/downloads/VTK/CMake/libcmVTK_WRAP_TCL2.so: failed to map
>>>>segment from shared object: Operation not permitted
>>>>
>>>
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list