Re: failure to compile ROOT latest production version

From: Alex Martin (a.j.martin@qmw.ac.uk)
Date: Sat Aug 07 1999 - 00:02:04 MEST


On Fri, 06 Aug 1999, George Heintzelman wrote:
> Hi,
> 
> I had a great deal of trouble compiling root as well on a RedHat 5.2 
> system.  I found after a long tribulation that the problem is not with 
> root but with RedHat 5.2.  RedHat 5.2 default installation installs its 
> compilers with
> 
> gcc = gcc 2.7.2.3 and
> g++ = egcs 1.1.2
> 
> This is just a bad situation for any mixed C/C++ code compilation.
> 
> I recommend changing and unifying your compilers. The way I did this 
> was just to compile egcs locally, a process which takes a while but is 
> straightforward.  Egcs source is available at egcs.cygnus.com.
> 
Hi,
     There is a good reason why the old version of gcc was the default 
compiler with RH 5.2, as you may find if you ever recompile a 
2.0.x kernel with egcs.  In general I've found that changing the default 
compiler can be  a real pain, particularly now there is a lot more C++ libs 
around e.g. KDE.  Best option seems to be to stick  the updated compilers 
in /usr/local....but even that can cause confusion. 

cheers,
Alex



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:37 MET