[vtkusers] Trouble installing VTK on Solaris.

Mukta Nandwani mnandwan at vt.edu
Tue Jun 12 12:19:44 EDT 2001


...and now I have a new error!!

c++  -O2 -fpermissive -pipe -fPIC   -I.  -I. -I./../graphics 
-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../patented 
-DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB  
-I/home/nandwani/Mesa-3.4.2/include   -I/usr/openwin/include  -I./../common 
-I../common -I/home/ausable/software/src/tcl7.6/tk4.2/generic 
-I/home/ausable/software/src/tcl7.6/tcl7.6/generic -I/usr/java1.2/include 
-I/usr/java1.2/include/solaris -I/home/schroede/montnaro/Python-1.4/Include 
-Wl,-G -o \
libVTKCommon.so \
   vtkActor2D.o vtkActor2DCollection.o (and other .o files)
ld: elf error: file vtkPointLocator2D.o: elf_strptr: Request error: no string 
table
ld: fatal: File processing errors. No output written to libVTKCommon.so
collect2: ld returned 1 exit status
gmake[1]: *** [libVTKCommon.so] Error 1

I have no idea what an 'elf' error' is.

Help!!
Mukta.


>===== Original Message From Jeff Lee <jeff at cdnorthamerica.com> =====
>setenv CLASSPATH /home/nandwani/vtk3.2/java/vtk:. -or-
>add -classpath /home/nandwani/vtk3.2/java/vtk to your javac line in user.make
>
>Mukta Nandwani wrote:
>
>> I tried setting the CXXFLAGS and CFLAGS, and did a ./configure clean;
>> reconfigured and tried gmake again, but now, even before I reach the same
>> place, i get the following error:
>>
>> /usr/java1.2/bin/javac -d /home/nandwani/vtk3.2/java/vtk
>> java/vtk/vtkActor2D.java
>> java/vtk/vtkActor2D.java:7: Superclass vtk.vtkProp of class vtk.vtkActor2D 
not
>> found.
>> public class vtkActor2D extends vtkProp
>>
>> I had encountered this error yesterday, but when I set env variables CC and
>> CXX to gcc and c++ respectively, it worked.  Now it is again not working,
>> though all the environment variables are set.
>>
>> Any ideas?
>>
>> Thanks,
>> Mukta.
>>
>> >===== Original Message From Eric Wies <Eric.Wies at loria.fr> =====
>> >Mukta Nandwani wrote:
>> >>
>> >> Hi there,
>> >>
>> >> I am trying to install vtk on sun4.  I configured as:
>> >> ./configure --with-mesa --with-shared --with-java --with-patented
>> >> --with-contrib
>> >>
>> >> Now, when i try gmake, i get the following compilation error:
>> >>
>> >> c++  -g -O2  -I.  -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging
>> >> -DVTK_USE_IMAGING  -I/usr/openwin/share/include/   
-I/usr/openwin/include
>> >> -I./../common -I../common 
-I/home/ausable/software/src/tcl7.6/tk4.2/generic
>> >> -I/home/ausable/software/src/tcl7.6/tcl7.6/generic 
-I/usr/java1.2/include
>> >> -I/usr/java1.2/include/solaris 
-I/home/schroede/montnaro/Python-1.4/Include
>> -c
>> >> vtkOpenGLImageActor.cxx -o vtkOpenGLImageActor.o
>> >> In file included from vtkOpenGLRenderWindow.h:53,
>> >>                  from vtkOpenGLImageActor.cxx:49:
>> >> /usr/openwin/share/include/X11/Xlib.h:2063: ANSI C++ forbids declaration
>> >> `XSetTransientForHint' with no type
>> >> /usr/openwin/share/include/X11/Xlib.h:2071: ANSI C++ forbids declaration
>> >> `XActivateScreenSaver' with no type
>> >>
>> >> ..and lots of other such terms (in Xlib.h, and Xutil.h) that seem to 
have
>> no
>> >> type.  I tried looking into the Xlib.h file, and found that all these 
terms
>> >> are declared as (for example):
>> >>
>> >> extern XSetTransientForHint
>> >>
>> >> Am I missing some include file here?
>> >>
>> >> Thanks,
>> >> Mukta.
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>> >Hello,
>> >       I'm using VTK on solaris 2.7, you must do this
>> >       setenv CXXFLAGS="-O2 -fpermissive -pipe" CFLAGS="-O2 -fpersmissive
>> >-pipe" before run configure script.
>> >
>> >       I hope i can help you
>> >
>> >--
>> >                            ----------------------------------
>> >  |\/\/\/|                 | Doctorant en informatique        |
>> >  |      |    ___________  |           LORIA                  |
>> >  |      |   /           \ | Campus Scientifique - BP 239     |
>> >  | (o)(o)   | Eric WIES | | 54506 VANDOEUVRE-lès-NANCY CEDEX |
>> >  C      _)  \___ _______/ |                                  |
>> >  | ,___|  __/             | Tel : 03 83 59 20 21             |
>> >  |   /                    | Fax : 03 83 27 83 19             |
>> > /____\                           | Mail : wies at loria.fr             |
>> >/      \                    ----------------------------------
>> >                           | Moniteur en informatique         |
>> >                           | Département d'informatique       |
>> >                           |       Université de Metz         |
>> >                           | Ile du Saulcy BP 80794           |
>> >                           | F-57012 Metz Cedex 01            |
>> >                            ----------------------------------
>>
>> _______________________________________________
>> 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
>
>--
>J.A. Lee





More information about the vtkusers mailing list