Problem with install xrootd

Hello,
I have problem with install xrootd with “today CVS version of ROOT”:

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-deprecated -D__l
inux__  -DXrdDEBUG=0 -I. -I.. -o ../../obj/XrdXrClientWorker.o \
XrdXrClientWorker.cc
../XrdXrootd/XrdXrootdProtocol.hh:219: error: ISO C++ forbids declaration of ‘XrdXrootdAioReq’ with no type
../XrdXrootd/XrdXrootdProtocol.hh:219: error: expected ‘;’ before ‘*’ token
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 `/cern/root_2005-07-28/xrootd/src/xrootd'
make: *** [xrootd/src/xrootd/lib/libXrdSec.so] Error 2

OK, after ./configure --disable-xrootd, make, make install and
cd test
make

g++ -O -Wall -fPIC -pthread -I/cern/root/include -c stressVector.cxx
stressVector.cxx:47:31: error: MathCore/Vector4D.h: No such file or directory
stressVector.cxx:48:33: error: MathCore/VectorUtil.h: No such file or directory
stressVector.cxx:54: error: expected namespace-name before ‘;’ token
stressVector.cxx:54: error: ‘<type error>’ is not a namespace
stressVector.cxx: In member function ‘void VectorTest::genData()’:
stressVector.cxx:107: error: ‘PtEtaPhiEVector’ was not declared in this scope
stressVector.cxx:107: error: expected `;' before ‘q’
stressVector.cxx:108: error: ‘q’ was not declared in this scope

Linux he112-37.jinr.ru 2.6.12-1.1398_FC4 #1 Fri Jul 15 00:52:32 EDT 2005 i686 athlon i386 GNU/Linux
gcc version 4.0.1 20050727

Jan

Dear Jan,

This problem with gcc4 has already ben fixed in xrootd CVS; we will import soon in ROOT an updated version including the fix. If you need xrootd I can send the fix; otherwise disabling is the right thing to do.

Your second problem should be related to the fact that MathCore is not build by default, so that include/MathCore is not created. Please add ‘–enable-mathcore’ to configure and retry. Of course test/Makefile should try to compile stressVector.cxx only if mathcore is available. This needs to be fixed.

Gerri Ganis