Problem by installing VTK on Solaris 2.5.1

Tobias Hoevekamp tobias.hoevekamp at ilw.agrl.ethz.ch
Mon May 29 13:27:09 EDT 2000


Hi there,

I've been trying to install VTK but in the end - after getting
mesa, tcl8.3.1, tk8.3.1 installed - it seems to be some 
compiler problem that keeps me from entering the real of
beauty. (I have had some experince with AVS :-)

As indicated in the installation guidelines, I did

   setenv PATH /usr/local/bin/:/usr/sbin:/usr/bin:/usr/ccs/bin
   setenv CXX /usr/local/bin/gcc
   setenv CC /usr/local/bin/gcc

(setenv CXX /usr/local/bin/gcc CC /usr/local/bin/gcc ./configure
 did not work)

ran

   ./configure --with-tcl --with-mesa

I edited 

   user.make (you can see my changes in the attached file) 

and finally typed

   make

with the following result

   raider# make
   /usr/local/bin/gcc -o targets ./targets.cxx ./makedepend.cxx
   ./makedepend.cxx:7: fstream.h: No such file or directory
   *** Error code 1
   make: Fatal error: Command failed for target `targets'

The environment variables used were

   HOME=/
   HZ=100
   LOGNAME=root
   PATH=/usr/local/bin/:/usr/sbin:/usr/bin:/usr/ccs/bin
   PS1=# 
   SHELL=/sbin/sh
   TERM=sun-cmd
   TZ=MET
   PWD=/
   USER=root
   CXX=/usr/local/bin/gcc
   CC=/usr/local/bin/gcc


Is there anybody who could help me with my problem?

Thank you very much.


With best regards,




Tobias Hoevekmap 
________________________________________________________________________

    _/_/_/_/_/_/_/_/_/    _/
   _/        _/    _/    _/  Ecole polytechnique federale de Zurich
  _/_/_/    _/    _/_/_/_/  Politecnico federale di Zurigo
 _/        _/    _/    _/  Swiss Federal Institute of Technology Zurich
_/_/_/_/  _/    _/    _/

Tobias Hoevekamp                                    Tel: +41 1 632 33 04
Institute of Food Science                           Fax: +41 1 632 11 55
ETH Zentrum, LFO E21                   tobias.hoevekamp at ilw.agrl.ethz.ch
CH-8092 Zuerich                 http://www.vt.ilw.agrl.ethz.ch/~hoevekam

Home:   Bucheggstrasse 50    CH-8037 Zuerich    Tel/Fax: +41 1 350 70 51 
________________________________________________________________________
-------------- 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

### orig
#
#TCL_INCLUDE=-I/home/ausable/software/src/tcl7.6/tcl7.6/generic
#TCL_LIB=/common/software/tcl7.6/sun4/5.4/lib/libtcl7.6.a
#
#TK_INCLUDE=-I/home/ausable/software/src/tcl7.6/tk4.2/generic
#TK_LIB=/common/software/tk4.2/sun4/5.4/lib/libtk4.2.a
#
#MESA_INCLUDE=-I/home/martink/storage/Mesa-1.2.6/include
#MESA_LIB=/home/martink/storage/Mesa-1.2.6/lib-sun4-solaris/libMesaGL.a
# 
### end orig

TCL_INCLUDE=-I/opt/tcl/tcl8.3.1/generic
TCL_LIB=/opt/tcl/lib/libtclstub8.3.a

TK_INCLUDE=-I/opt/tk/tk8.3.1/generic
TK_LIB=/opt/tk/lib/libtkstub8.3.a

MESA_INCLUDE=-I/opt/mesa/Mesa-3.2/include
MESA_LIB=/opt/mesa/Mesa-3.2/lib/libGL.a

# for python you must set this 
# PYTHON_INCLUDES=-I/home/schroede/montnaro/Python-1.4/Include

# Add additional CFLAGS and CXXFLAGS for compilation
# uncomment the following two lines to set your own flags
#USER_CFLAGS =  
#USER_CXXFLAGS = 

# 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
#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