[vtkusers] instructions to build VTK on SGI230 with RedHat6.2

David Gobbi dgobbi at irus.rri.on.ca
Wed Mar 7 17:30:37 EST 2001


Hi Chandra,

Here is what I use on the SGI 330:

First, copy the attached user.make into the vtk directory.  Then, do
./configure --with-shared --with-tcl --with-python --with-tkwidget \
 --with-patented --with-contrib

Note the '--with-shared' and also that there is no '--with-mesa'

make
make install

Next, you will probably have to edit /etc/ld.so.conf and add
'/usr/local/lib' if it is not there already, and then run
/sbin/ldconfig to force the system to re-read /etc/ld.so.conf.

That should be it!

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

On Wed, 7 Mar 2001, Chandragupta Ganguly wrote:

> Hi
> 	I was wondering if anybody has a step by step instruction to build
> VTK on RedHat 6.2. I am using a SGI 230L. I am abit confused as to what
> version of tcl/tk and mesa to use in this case. 
> Also, should I use 
> ./configure --with-mesa or --with-opengl
> please let me know
> thanks
> Chandra
> 
> 
> _______________________________________________
> 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
> 
-------------- next part --------------
# this file can be used to override any of the values selected
# by configure in system.make.  At a minimum you should set
# the following Tcl/Tk values if you are planning to use Tcl/Tk

TCL_INCLUDE=
TCL_LIB= -ltcl8.0

TK_INCLUDE=
TK_LIB= -ltk8.0

MESA_INCLUDE=
MESA_LIB=-lMesaGL -lXt

# for python you must set this 
PYTHON_INCLUDES=-I/usr/include/python1.5

# Add additional CFLAGS and CXXFLAGS for compilation
# uncomment the following two lines to set your own flags
CC = gcc
CXX = g++
USER_CFLAGS = -g -O3 -march=pentiumpro -pedantic -Wall 
USER_CXXFLAGS = -g -O3 -march=pentiumpro -pedantic -Wall 

# if you want to try the java support you'll need to set the following
# variables to match your environment and uncomment them
#
#JDKHOME=/home/calvin/content/ITL/java-packages/dev-kits/JDK/jdk1.1
#JAVAC=${JDKHOME}/bin/javac
#JAR=${JDKHOME}/bin/jar
#JAVA_CLASS_HOME=/home/martink/java
#JAVAH=${JDKHOME}/bin/javah
#JAVA_INCLUDES=-I${JDKHOME}/include -I${JDKHOME}/include/solaris
#JAVA_CXX_LIB=/common/software/g++-2.7.1/sun4/5.4/lib/libiberty.a /common/software/g++-2.7.1/sun4/5.4/lib/libstdc++.a /common/software/g++-2.7.1/sun4/5.4/lib/gcc-lib/sparc-sun-solaris2.4/2.7.1/libgcc.a








More information about the vtkusers mailing list