Compiling from source on a 64 bit machine

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

savannah.cern.ch/bugs/?36606

btw, it is fixed in the trunk, as far as I know.

Hi,
could you please tell few words about what trunk is?
I did svn co … v5-19-04, but apparently - it is the same as what I downloaded from the web. Should I replace the files that are cited in the reference bellow?
(the arnt any newer svn’s than this…)

Compiled on fedora 9, gcc 4.3.0
and suse 11, gcc 4.3.1

since tomorrow is next production version comming out,
I am going to test it.

thank you

savannah.cern.ch/bugs/?36606

btw, it is fixed in the trunk, as far as I know.[/quote]

[quote=“jaromrax”]Hi,
could you please tell few words about what trunk is?
I did svn co … v5-19-04, but apparently - it is the same as what I downloaded from the web. Should I replace the files that are cited in the reference bellow?
(the arnt any newer svn’s than this…)

thank you

savannah.cern.ch/bugs/?36606

btw, it is fixed in the trunk, as far as I know.[/quote][/quote]
svn co root.cern.ch/svn/root/trunk root
:wink:

Ah. thank you

svn co root.cern.ch/svn/root/trunk root
:wink:[/quote]