[vtkusers] installation of VTK under RedHat Enterprise Linux 5 (64 bit)

Levine, Zachary zlevine at nist.gov
Fri Dec 5 15:38:18 EST 2008


A couple of days ago, I posted a note that I was unable to compile VTK.  I was advised that I needed the developer version of openGL.  I had to appeal to my able systems administrator Steve Conn for help.  The following are his notes ...


Here is what I did to get VTK to compile:



1. Installed developer versions of OpenGL and other packages:

libXau-devel - 1.0.1-3.1.i386

mesa-libGL-devel - 6.5.1-7.5.el5.i386

xorg-x11-proto-devel - 7.1-9.fc6.i386

libXdmcp-devel - 1.0.1-2.1.i386

libX11-devel - 1.0.3-9.el5.i386

mesa-libGLU-devel - 6.5.1-7.5.el5.x86_64 mesa-libGLU-devel - 6.5.1-7.5.el5.i386 mesa-libOSMesa-devel - 6.5.1-7.5.el5.i386 mesa-libOSMesa-devel - 6.5.1-7.5.el5.x86_64 xorg-x11-proto-devel - 7.1-9.fc6.x86_64 xorg-x11-xtrans-devel - 1.0.1-1.1.fc6.i386 xorg-x11-xtrans-devel - 1.0.1-1.1.fc6.x86_64 libICE-devel - 1.0.1-2.1.x86_64 libSM-devel - 1.0.1-3.1.x86_64 libXt-devel - 1.0.2-3.1.fc6.x86_64 libXt-devel - 1.0.2-3.1.fc6.i386 ncurses-devel - 5.5-24.20060715.i386 ncurses-devel - 5.5-24.20060715.x86_64 python-devel - 2.4.3-21.el5.x86_64 python-devel - 2.4.3-21.el5.i386 mesa-libGL-devel - 6.5.1-7.5.el5.x86_64 libX11-devel - 1.0.3-9.el5.x86_64



You won't have to install these one at a time; most of them get installed as dependencies if you work from the top of the list.

Also, yum installs both the 32-bit and 64-bit packages automatically.



2. Unpack the tarball, go to the VTK source directory and do the

following:



      cmake -DCMAKE_LIBRARY_PATH=/lib64:/usr/lib64

      make


Note that the -D parameter on the cmake line obviates the necessity of manually changing the library paths in ccmake.


---------------
So now I have a compiled version.    Perhaps this will be useful to others who find themselves without the developer versions of openGL and with a 64 bit system.


Zachary Levine
Physicist, NIST

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081205/bf9fcdc7/attachment.htm>


More information about the vtkusers mailing list