Can't compile VTK on RedHat 6.0... can you help?
Aleksey Naumov
naumov at acsu.buffalo.edu
Thu Jul 8 13:16:45 EDT 1999
Dear VTK users on RedHat Linux,
I am trying to compile VTK2.3 on RedHat 6.0 Linux. I read the
Linux-HOWTO and checked
the FAQ, but didn't see anything like this... Any ideas/pointers will be
appreciated!
The compilation aborts right away, at the first 'gcc ...' command.
Here is the log of compilation - it's very short...
------
[aleksey at Kenozero vtk]$ make
cd wrap; make - all
make[1]: Entering directory `/home/aleksey/VTK/vtk2.3/vtk/wrap'
gcc -O2 -D__NO_MATH_INLINES -fPIC -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H
-DHAVE_UNISTD_H -I. -I/usr/src/redhat/SOURCES/tk8.0/generic
-I/usr/src/redhat/SOURCES/tcl8.0/generic -I/usr/include/GL
-DVTK_USE_OGLR -I/usr/X11R6/include -I./../graphics -DVTK_USE_GRAPHICS
-I./../imaging -DVTK_USE_IMAGING -I. -c
-o vtkParse.o ./vtkParse.tab.c -lm
In file included from vtkParse.y:813:
lex.yy.c:45: initializer element for `yyin' is not constant
lex.yy.c:45: initializer element for `yyout' is not constant
make[1]: *** [vtkParse.o] Error 1
make[1]: Leaving directory `/home/aleksey/VTK/vtk2.3/vtk/wrap'
make: *** [build_wrap] Error 2
[aleksey at Kenozero vtk]$
------
To configure VTK I used:
./configure --with-mesa --with-tcl --with-shared
The "user.make" does not contain anything except the usual Tcl, Tk, and
Mesa flags.
I don't use any other flags.
I use the following versions of packages:
VTK : 2.3
Mesa: 3.1beta2
TclTk: 8.0.4-29
Thanks for your help!
Aleksey
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list