[vtkusers] Problems installing VTK3.1 on HP-UX 10.20

Sashi Kollipara sashik at hadron.mgh.harvard.edu
Fri Sep 8 09:11:19 EDT 2000


I am trying to install vtk31 on HP-UX 10.20 with gcc 2.95.2 using the
following configure command:
./configure  --with-tcl --with-tkwidget --with-shared --with-patented
--with-contrib --with-java

and my java environment variables are:

JDKHOME=/opt/java
JAVAC=${JDKHOME}/bin/javac
JAVA_CLASS_HOME=/home/sashik/vtk/vtk31/java
JAVAH=${JDKHOME}/bin/javah
JAVA_INCLUDES=-I${JDKHOME}/include -I${JDKHOME}/include/hp-ux
JAVA_CXX_LIB=/usr/tools/gnu/gcc/lib/libiberty.a /usr/tools/gnu/gcc/lib/libstdc++.sl /usr/tools/gnu/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/libgcc.a

The make dies while trying to make java the stuff with this error:

make[1]: Entering directory `/home/sashik/vtk/vtk31/common'
/opt/java/bin/javac -d /home/sashik/vtk/vtk31/java ../java/vtk/vtkActor2D.java 

../java/vtk/vtkActor2D.java:5: Package vtk not found in import.
import vtk.*;
       ^
../java/vtk/vtkActor2D.java:7: Cyclic class inheritance or scoping.
public class vtkActor2D extends vtkProp
             ^
../java/vtk/vtkActor2D.java:7: Superclass vtk.vtkProp of class
vtk.vtkActor2D not found.
public class vtkActor2D extends vtkProp
                                ^
3 errors
make[1]: *** [../java/vtk/vtkActor2D.class] Error 1


Any clues??  Has anyone tried installing the Java support on HPUX?

Thanks for you input(s).


-- Sashi
-- 
Sashi Kollipara
Department of Radiation Oncology
Harvard Medical School
Massachusetts General Hospital
55 Fruit St.  COX 3
Boston,  MA  02114
sashik at protons.mgh.harvard.edu / shashik at acm.org




More information about the vtkusers mailing list