ROOT and FC4?

From: John Pye <john.pye_at_student.unsw.edu.au>
Date: Tue, 30 Aug 2005 18:40:16 +1000


Hi all,

I just tried to build ROOT on Fedora Core 4, but it seems there are some problems. There is some output below. My configure command was "./configure linux --prefix=/opt/root".

Has anyone succeeded in building on this or any other GCC 4.0.1 platform? I want to be able to run ROOT version 4 so that I can check out gTybalt.

Cheers
JP

> Making XrdXr component...
> cd src/XrdXr;\
> make all ARCH=i386_linux26 --no-print-directory
> Compiling XrdXrClientWorker.cc ...
> g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_ALL_SOURCE -D_REENTRANT -D_GNU_SOURCE -fPIC
> -rdynamic -Wall -Wno-de precated -D__linux__ -DXrdDEBUG=0 -I. -I.. -o
> ../../obj/XrdXrClientWor ker.o \
> XrdXrClientWorker.cc
> ../XrdXrootd/XrdXrootdProtocol.hh:216: error: ISO C++ forbids
> declarati on of 'XrdXrootdAioReq' with no type
> ../XrdXrootd/XrdXrootdProtocol.hh:216: error: expected ';' before '*'
> t oken
> make[5]: *** [../../obj/XrdXrClientWorker.o] Error 1
> make[4]: *** [Linuxall] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [XrdXr] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/root/xrootd/src/xroot d'
> make: *** [xrootd/src/xrootd/lib/libXrdSec.so] Error 2
> make: *** Waiting for unfinished jobs....
> error: Bad exit status from /var/tmp/rpm-tmp.55050 (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.55050 (%build)
>
> [root_at_cruncher2 SPECS]# gcc -v
> Using built-in specs.
> Target: i386-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-libgcj-multifile
> --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
Received on Tue Aug 30 2005 - 10:42:22 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET