[vtkusers] Compiling VTK 3.2 on RedHat 7.0

David D. Marshall gte552m at prism.gatech.edu
Fri Mar 9 10:48:17 EST 2001


On Friday 09 March 2001 05:46, Carlos Martinez Burgos wrote:
> Hello again.
>
> I have upgraded Red Hat 7.0 with the bug fixes and nothing has changed. I
> get the same error message and when I run an example, I get a core dump.
>
I think that the general consensus is that in RH 7.0 both the compiler and 
the mesa libraries are broken for VTK.  They say that RH has a patch for the 
compiler, and I think people have recompiled the mesa libraries and gotten it 
to work (however since your using the NVIDIA drivers, the mesa comment 
doesn't apply to you).

> I have a Geforce 2 MX with the NVIDIA rpm drivers. Could this be the
> problem? I think not because everything is OK but VTK.
>
> I think that I could install Mandrake 7.2, the NVIDIA drivers, and compile
> VTK again. Has anybody compiled VTK in Mandrake 7.2? Will I get the same
> problems?
>
I am using Mandrake 7.2 and VTK without any problems.  I however did have a 
problem with the nvidia drivers for my TNT2 card which I now believe to be 
related to my AGP chipset.  If you can get the nvidia stuff working, then VTK 
should not be a problem.

> If I can't resolve this problem I'm going to install VTK and JDK on
> Windows, but I prefer Linux to develop software. Do you understand me?
>
You unfortunately picked the wrong rev of RH (or more precisely, RH released 
a questionable product).  Good luck.

> Well, I use VTK on work but I need to use it in home, where I can't have
> it run. Please help me!!
>
> Thanks a lot.
>
> On Wed, 7 Mar 2001, David Gobbi wrote:
> > Hi Carlos,
> >
> > The fix for this was mentioned earlier today.  Go to
> > http://www.redhat.com/errata and download (under Bug Fixes)
> > the latest gcc and glibc.
> >
> > The problem is not with VTK at all, it is with the version
> > of gcc that RedHat included with 7.0.
> >
> >  - David
> >
> > On Wed, 7 Mar 2001, Carlos Martinez Burgos wrote:
> > > Hello.
> > >
> > > I have problems compiling VTK 3.2 on RedHat 7.0. I fill the user.make
> > > file and
> > > set the CLASSPATH for Java wrappers. Then I run ./configure with this
> > > command line:
> > >
> > > ./configure --prefix=/usr/local/vtk3.2 --with-shared --with-tcl \
> > > --with-java --with-python --with-tkwidget --with-patented
> > > --with-contrib
> > >
> > > I configure it without --with-mesa and --with-opengl because of I think
> > > opengl option is suposed.
> > >
> > > Then I run gmake and everything is OK until vtk binary file (TCL) is
> > > compiled. It reports an error with something about __sysconf.
> > >
> > > To solve this error I change USING_VTK_LINK_LIBS directive (I don't
> > > rememer well) by USING_VTK_BUILD_LIBS in the Makefile of tcl
> > > subdirectory. Everything is allright now.
> > >
> > > The problem is that when I run programs compiling cxx or with vtk
> > > binary file I get a segmentation fault.
> > >
> > > Could you tell me the correct way to run VTK 3.2 on RedHat 7.0?
> > >
> > > Thanks.

-- 
David D. Marshall
ARTLab System Administrator/GRA
Georgia Institute of Technology, Atlanta Georgia, 30332
http://www.ae.gatech.edu/research/artlab/artl/artlab.html
mailto:gte552m at prism.gatech.edu
7 lines that will bring down the MPAA? No, but now you can watch DVDs!
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72, at z=(64,72,$a^=12*($_%16
-2?0:$m&17)),$b^=$_%64?12:0, at z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
=5;$_=unxb24,join"", at b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d>>12^$d>>4^
$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
(($h>>=8)+=$f+(~$g&$t))for at a[128..$#a]}print+x"C*", at a}';s/x/pack+/g;eval




More information about the vtkusers mailing list