[vtkusers] new user attempting install on mac OSX

Byron Amerson byronea at u.washington.edu
Wed Apr 16 21:48:36 EDT 2003


Glen,

Thanks for your comments earlier...things moved along great for two hours
or
more...and then a make error was returned (see below).  I do not know what
it is complaining about.  you mentioned "ld'ing" a file path - I do not
know how it applies here- forgive my ignorance, I am still riding the unix
learning curve. Any help in this regard would be appreciated.  Thanks.

Building shared library /usr/local/VTK-4.2.2/bin/libvtkRendering.dylib...
ld: Undefined symbols:
_glXChooseVisual
_glXCreateContext
_glXDestroyContext
_glXGetClientString
_glXGetConfig
_glXGetCurrentContext
_glXIsDirect
_glXMakeCurrent
_glXQueryExtension
_glXQueryExtensionsString
_glXQueryServerString
_glXSwapBuffers
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/usr/local/VTK-4.2.2/bin/libvtkRendering.dylib] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2


Byron Amerson
MS student
University of Washington
Department of Earth and Space Sciences

On Wed, 16 Apr 2003, Glen Lehmann wrote:

> Hi Byron,
>
> your CMakeCache.txt should have this line;
>
> PYTHON_LIBRARY:FILEPATH=/sw/lib/python2.2/config/libpython2.2.dylib
>
> as a general rule if you can't "ld" the filepath in a terminal then
> cmake will complain on os x.
>
> glen
>
> Byron Amerson wrote:
>
> >Hello,
> >
> >I am attempting an install of VTK with the goal of then installing mayavi.
> >Im using a mac imac  ppc running OSX.2.4 with developer tools
> >installed, all relevant unix apps are installed via fink -- and here is
> >where I think the problem is. The make sequence gets hung up looking for
> >the python2.2 libs and python utils lib (does this mean 'distutils'??).
> >
> >Fink moves things around a bit, here are what I think are the correct
> >paths to the pythons libs: /sw/lib/python2.2/   and
> >/sw/lib/python2.2/distutils/  --Are these correct??
> >
> >Are there any fink users out there who have install VTK with the python
> >wrappers succesfully?  Any help would be greatly appreciated.  Thanks!
> >
> >The following errors are returned by make:
> >
> >Building shared module
> >/usr/local/VTK-4.2.2/bin/libvtkCommonPython.so...
> >ld: can't map file: /sw/lib ((os/kern) invalid argument)
> >make[3]: *** [/usr/local/VTK-4.2.2/bin/libvtkCommonPython.so] Error 1
> >make[2]: *** [default_target] Error 2
> >make[1]: *** [default_target_Common] Error 2
> >make: *** [default_target] Error 2
> >
> >
> >Byron Amerson
> >MS student
> >University of Washington
> >Department of Earth and Space Sciences
> >
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> >Follow this link to subscribe/unsubscribe:
> >http://public.kitware.com/mailman/listinfo/vtkusers
> >
> >
> >
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list