Re: [ROOT] compiling problems

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Nov 02 2001 - 18:07:06 MET


Hi Thomas,

   check $ROOTSYS/cint/Module.mk for GCCVERS and make sure that with this
compiler you get the number 3. This is downstream used to select the
right libstrm.cxx to be compiled (actually gcc3strm.cxx will be used).

Cheers, Fons.



Thomas Eberl wrote:
> 
> Dear rooters,
> 
> I have a RedHat 7.1 system with the following compiler installed from
> the official rpm-package:
> [teberl@coeus ~> g++3 -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.0.2 20011002 (Red Hat Linux 7.1 3.0.1-4)
> 
> I have downloaded the sources for ROOT 3.02.02 and I followed the
> INSTALL procedure, i.e.:
> ./configure linux
> (.. now I changed g++/gcc in all Makefiles to g++3/gcc3 to use this
> compiler, g++ is version 2.96 on this "out-of-the-box" system, with this
> it compiles fine)
> gmake
> 
> Unfortunately, the compilation aborts with the following message:
> 
> g++3 -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude  -DG__REGEXP
> -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO
> -Icint/lib/stream -o cint/src/libstrm.o -c cint/src/libstrm.cxx
> In file included from include/libstrm.h:29,
>                  from cint/src/libstrm.cxx:4:
> cint/lib/stream/stdiostr.h:25:25: stdiostream.h: No such file or
> directory
> 
> My question is: Is somebody else observing this ? Am I doing something
> wrong ? Why does it work with 2.96, but not with 3.0.2 ???
> 
> Thanks for any helping comment !
> --
> 
>                  Thomas Eberl, TUM PD E12
> 
> Email: Thomas.Eberl@ph.tum.de

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET