Here’s my “report” from building ROOT v5-34-00-patches (as of 2016.06.11 09:27 UTC) and v5-34-36 on Ubuntu 16.04 LTS / x86_64 with gcc 5.3.1 (5.3.1-14ubuntu2.1 20160413) and “./configure”.
Configure does not find the installed “PYTHIA 8” and one needs to manually set: --with-pythia8-incdir=/usr/include/Pythia8"
Configure does not find the installed “iODBC” and one needs to manually set: --with-odbc-incdir=/usr/include/iodbc"
Building of “davix” generates a warning: /opt/ROOT/debug/v5-34-00-patches/net/davix/src/TDavixSystem.cxx: In member function ‘virtual Int_t TDavixSystem::Locate(const char*, TString&)’:
/opt/ROOT/debug/v5-34-00-patches/net/davix/src/TDavixSystem.cxx:168:41: warning: ‘dav_ssize_t Davix::DavFile::getAllReplicas(const Davix::RequestParams*, Davix::ReplicaVec&, Davix::DavixError**)’ is deprecated [-Wdeprecated-declarations]
&davixErr)) < 0) {
^
In file included from /usr/include/davix/utils/davix_types.hpp:43:0,
from /usr/include/davix/davix_file_types.hpp:25,
from /usr/include/davix/davix.hpp:48,
from /opt/ROOT/debug/v5-34-00-patches/net/davix/src/TDavixSystem.cxx:45:
/usr/include/davix/file/davfile.hpp:382:28: note: declared here
DEPRECATED(dav_ssize_t getAllReplicas(const RequestParams* params,
^
/usr/include/davix/utils/davix_config.hpp:127:26: note: in definition of macro ‘DEPRECATED’
#define DEPRECATED(func) func __attribute__ ((deprecated))
^
Building of “gfal” dies with an error: g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -I/usr/include/python2.7 -o bindings/pyroot/src/TSetItemHolder.o -c /opt/ROOT/debug/v5-34-00-patches/bindings/pyroot/src/TSetItemHolder.cxx
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx: In member function ‘virtual Int_t TGFALFile::SysOpen(const char*, Int_t, UInt_t)’:
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx:211:16: error: ‘::gfal_open64’ has not been declared
Int_t ret = ::gfal_open64(pathname, flags, (Int_t) mode);
^
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx: In member function ‘virtual Long64_t TGFALFile::SysSeek(Int_t, Long64_t, Int_t)’:
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx:253:19: error: ‘::gfal_lseek64’ has not been declared
Long64_t ret = ::gfal_lseek64(fd, offset, whence);
^
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx: In member function ‘virtual Int_t TGFALFile::SysStat(Int_t, Long_t*, Long64_t*, Long_t*, Long_t*)’:
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx:271:11: error: ‘::gfal_stat64’ has not been declared
if (::gfal_stat64(fRealName, &statbuf) >= 0)
^
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx: In member function ‘virtual void* TGFALSystem::OpenDirectory(const char*)’:
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx:388:8: error: ‘::gfal_stat64’ has not been declared
if (::gfal_stat64(url.GetFileAndOptions(), &finfo) < 0)
^
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx: In member function ‘virtual const char* TGFALSystem::GetDirEntry(void*)’:
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx:428:12: error: ‘::gfal_readdir64’ has not been declared
dp = ::gfal_readdir64((DIR*)dirp);
^
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx: In member function ‘virtual Int_t TGFALSystem::GetPathInfo(const char*, FileStat_t&)’:
/opt/ROOT/debug/v5-34-00-patches/io/gfal/src/TGFALFile.cxx:448:16: error: ‘::gfal_stat64’ has not been declared
if (path && ::gfal_stat64(url.GetFileAndOptions(), &sbuf) >= 0) {
^
so, one needs to enforce: --disable-gfal
Building of “ruby” dies with an error: In file included from /usr/include/ruby-2.3.0/ruby.h:33:0,
from /opt/ROOT/debug/v5-34-00-patches/bindings/ruby/src/TRuby.cxx:15:
/usr/include/ruby-2.3.0/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
compilation terminated.
Makefile:701: recipe for target 'bindings/ruby/src/TRuby.o' failed
make: *** [bindings/ruby/src/TRuby.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/ruby-2.3.0/ruby.h:33:0,
from /opt/ROOT/debug/v5-34-00-patches/bindings/ruby/src/drr.cxx:26:
/usr/include/ruby-2.3.0/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
compilation terminated.
Makefile:701: recipe for target 'bindings/ruby/src/drr.o' failed
make: *** [bindings/ruby/src/drr.o] Error 1
so, one needs to enforce: --disable-ruby
Note: the “missing” (?) file is there: /usr/include/x86_64-linux-gnu/ruby-2.3.0/ruby/config.h
BTW. on Ubuntu 14.04, this file exists as: /usr/include/ruby-1.9.1/x86_64-linux/ruby/config.h
Please fix the reported problems.