Hi, I have installed Fedora 9, x86_64 architecture and I was installing from source ROOT v5.19.04. I got the errors (after ~20 minutes of good compiling) you can see below. This is what I did:
setenv ROOTSYS /usr/share/root_v5.19.04
./configure
make
Any suggestion? Thanks a lot in advance for your help!
Davide
===================================
Writing GNUmakefile … done
Writing src/GNUmake.env … done
Writing src/GNUmake.options … done
*** Building xrootd …
make[1]: Entering directory /home/dperego/Scaricati/root/net/xrootd/src/xrootd' Making sys component... cd src/XrdSys;\ make all ARCH=x86_64_linux_26 --no-print-directory Compiling XrdSysDir.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__linux__ -O2 -DXrdDEBUG=0 -I. -I.. XrdSysDir.cc -o ../../obj/XrdSysDir.o Compiling XrdSysError.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__linux__ -O2 -DXrdDEBUG=0 -I. -I.. XrdSysError.cc -o ../../obj/XrdSysError.o XrdSysError.cc:26:21: error: stropts.h: No such file or directory In file included from ../XrdSys/XrdSysLogger.hh:26, from XrdSysError.cc:39: ../XrdSys/XrdSysPthread.hh: In member function ‘void XrdSysCondVarHelper::Lock(XrdSysCondVar*)’: ../XrdSys/XrdSysPthread.hh:97: warning: suggest explicit braces to avoid ambiguous ‘else’ ../XrdSys/XrdSysPthread.hh: In member function ‘void XrdSysMutexHelper::Lock(XrdSysMutex*)’: ../XrdSys/XrdSysPthread.hh:179: warning: suggest explicit braces to avoid ambiguous ‘else’ ../XrdSys/XrdSysPthread.hh: In member function ‘int XrdSysSemaphore::CondWait()’: ../XrdSys/XrdSysPthread.hh:240: warning: suggest explicit braces to avoid ambiguous ‘else’ make[5]: *** [../../obj/XrdSysError.o] Error 1 make[4]: *** [Linuxall] Error 2 make[3]: *** [all] Error 2 make[2]: *** [XrdSys] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/home/dperego/Scaricati/root/net/xrootd/src/xrootd’
make: *** [net/xrootd/src/xrootd/lib/libXrdSec.so] Error 2
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx