Re: installing ROOT in RHL 6.0

From: Fons Rademakers (rdm@pcsalo.cern.ch)
Date: Sun May 30 1999 - 12:15:56 MEST


Hi Allister,

   the new version of ROOT which we plan to finally release next week
is ported for RH6.0 (actuall for glibc2.1). However, the port required
a single line change so if you apply the following to your sources it
should compile fine.

Change in BASE_MapFile.cxx:

    defined(R__AIX) || defined(R__HIUX) || defined (R__MKLINUX)
union semun {

to

    defined(R__AIX) || defined(R__HIUX) || defined (R__MKLINUX) || \
    __GLIBC_MINOR__ > 0
union semun {


That's all.


Cheers, Fons.




> Hi rooters,
> 
> I also tried installing ROOT in Red Hat Linux 6.0 but I get the same
> result:
> 
> g++ -O -Wall -fPIC -DR__GLIBC -fno-rtti -fno-exceptions -c
> BASE_MapFile.cxx
> BASE_MapFile.cxx: In method `void TMapFile::CreateSemaphore(int = 0)':
> BASE_MapFile.cxx:806: aggregate `union semun set' has incomplete type and
> cannot be initialized
> BASE_MapFile.cxx:808: confused by earlier errors, bailing out
> make: *** [BASE_MapFile.o] Error 1
> 
> I guess this is just because RHLinux 6.0 is not yet supported.
> 
> Thanks in advance for any help.
> 
> Cheers,
> 
> Allister Levi C. Sanchez                               |
> Department of Physics                             `---(*)---'
> MSU - Iligan Institute of Technology          _      / - \      _
> 9200 Iligan City                         `--=(*)===@|  .  |@===(*)=--'
> Philippines                                      []  \___/  []
> WWWeb: http://bahal.msuiit.edu.ph/~allister/
> email: allister@physics.msuiit.edu.ph
> 


-- 
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 7677910



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