V5.34.36 Install Error macOS Sierra

I’m trying to install root 5.34.36 on a macbook pro running macOS Sierra. I had this working earlier, then I got rid of my anaconda scientific python files, and tried reinstalling and got this error, so that might be part of the problem.

I really need to do ./configure --enable-python --enable-minuit2 but I figured I need to get the simpler way working first.

Thanks a bunch for any help.

Lees-MBP:root leehagaman$ ./configure
Checking for source directory ... /Users/leehagaman/Desktop/RAT_stuff/root
Configuring for macosx64
Checking for Fink/MacPorts directory ... /opt/local
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... no F77 compiler gfortran found
Checking whether to build native MacOS X Cocoa backend ... yes
Checking for Xcode OSX SDK ... no
Checking for system OSX SDK ... yes
Checking for freetype-config ... using builtin freetype
Checking whether to build included libfreetype6 ... yes
Checking for pcre-config ... not found
Checking whether to build included libpcre ... yes
Checking for zlib.h ... /opt/local/include
Checking for libz ... /usr/lib
Checking whether to build included zlib ... no
Checking for lzma.h ... /usr/local/include
Checking for liblzma ... /usr/local/lib
Checking whether to build included lzma ... no
Checking for GL/gl.h, or gl.h ... /System/Library/Frameworks/OpenGL.framework/Headers
Checking for libGL, or libMesaGL ... no
Checking for libGLU, or libMesaGLU ... /System/Library/Frameworks/OpenGL.framework/Libraries
Checking for mysql_config ... not found
Checking for mysql.h ... no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient ... no
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for libpq-fe.h ... no
Checking for libpq ... /usr/lib
Checking for sqlite3.h ... /opt/local/include
Checking for libsqlite3 ... /opt/local/lib
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... no
Checking for libiodbc, libodbc, or odbc32 ... /usr/lib
Checking for rfio_api.h ... no
Checking for librfio, libdpm, libcastorrfio, libshift, shiftmd, or shift ... no
Checking for rfio_api.h ... no
Checking for stager_api.h ... no
Checking for libcastorrfio, libshift, shiftmd, or shift ... no
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for gfal_srm_ifce_types.h ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for fitsio.h ... no
Checking for libcfitsio, or cfitsio ... no
Checking for gvc.h ... no
Checking for libgvc, or gvc ... no
Checking for libgraph, graph, libcgraph, or cgraph ... no
Checking for libcdt, or cdt ... no
Checking for libpathplan, or pathplan ... no
Checking for libexpat, or expat ... /opt/local/lib
Checking for libgvplugin_dot_layout, or gvplugin_dot_layout ... no
Checking for libPythia6 ... no
Checking for Pythia8/Pythia.h ... no
Checking for libpythia8 ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for davix.hpp ... no
Checking for libdavix ... no
Checking for chirp_reli.h ... no
Checking for libchirp_client ... no
Checking for hdfs.h ... no
Checking for jni.h ... /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/include
Checking for libhdfs ... no
Checking for libjvm ... no
Checking for libglite-api-wrapper ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... /usr/include
Checking for libldap ... /usr/lib
Checking for liblber ... /usr/lib
Checking for Python.h ... /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
Checking for python2.7, libpython2.7, libpython, python, or Python ... /Library/Frameworks/Python.framework/Versions/2.7/lib
Checking for xml2-config ... /usr/bin/xml2-config
Checking for libxml2 version >= 2.4.x ... ok
Checking for XrdVersion.hh ... no
Checking for libssl ... /opt/local/lib
Checking for libcrypto ... /opt/local/lib
Checking for openssl/bio.h ... /opt/local/include
Checking for openssl/blowfish.h ... /opt/local/include
Checking for openssl/err.h ... /opt/local/include
Checking for openssl/pem.h ... /opt/local/include
Checking for openssl/rand.h ... /opt/local/include
Checking for openssl/rsa.h ... /opt/local/include
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... no
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... /usr/include
Checking for krb5.h redirect ... /usr/include/krb5/krb5.h
Checking for krb5_c_valid_cksumtype in krb5.h ... yes
Checking for valid_cksumtype in krb5.h ... no
Checking for libk5crypto ... /usr/lib
Checking whether we're using MIT Kerberos ... yes
Checking for krb5_c_valid_cksumtype in /usr/lib/libk5crypto.dylib ... ok
Checking for valid_cksumtype in /usr/lib/libk5crypto.dylib ... ok
Checking for libkrb5 ... /usr/lib
Checking for kinit ... /usr/bin/kinit
Checking for libcom_err ... /usr/lib
Checking for shadow passwords ... no
Checking for gsl/gsl_version.h ... no
Checking for gsl-config ... not found
Checking whether to build libMathMore ... no
Checking whether to build libGenVector ... yes
Checking whether to build libCintex ... yes
Checking whether to build libReflex ... yes
Checking whether to build libRooFit ... no
Checking whether to build libMinuit2 ... no
Checking whether to build libUnuran ... no
Checking whether to build libVc ... no
Checking whether to install VDT ... yes
Checking whether to build libGdml ... no
Checking whether to build libTable ... no
Checking whether to build libTMVA ... yes
Checking whether to build libRHTTP ... no
Checking whether to build libMemStat ... yes
Checking whether to build afdsmgrd ... no
Checking whether to integrate experimental cling ... no 
Checking what type of dictionaries to build ... cint
Writing config/Makefile.config ... done
Writing config/Makefile.comp ... done
Writing include/RConfigure.h ... done
Writing include/RConfigOptions.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/system.rootauthrc ... done
Writing etc/system.rootdaemonrc ... done
Writing etc/root.mimes ... done
Writing etc/daemons/rootd.rc.d ... done
Writing etc/daemons/rootd.xinetd ... done
Writing etc/daemons/proofd.rc.d ... done
Writing etc/daemons/proofd.xinetd ... done
Writing main/src/proofserv.sh ... done
Writing main/src/roots.sh ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing bin/thisroot.sh ... done
Writing bin/thisroot.csh ... done
Writing bin/setxrd.sh ... done
Writing bin/setxrd.csh ... done
Writing bin/genreflex ... done
Writing bin/genreflex-rootcint ... done
Writing config.status ... done

Enabled support for asimage, astiff, bonjour, builtin_afterimage, builtin_freetype, builtin_pcre, cintex, cocoa, explicitlink, fink, genvector, krb5, ldap, memstat, python, reflex, rpath, shared, sqlite, ssl, tmva, vdt, xml.

To build ROOT type:

   make 

Lees-MBP:root leehagaman$ make
bin/rmkdepend -R -fcint/cint/src/dict/gcc4strm.d -Y -w 1000 -- -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude   -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION    -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY  -I/Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/inc -I/Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/src -I/Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/src/dict -pthread -Icint/cint/lib/gcc4strm -Wno-strict-aliasing -I. -D__cplusplus -- cint/cint/src/dict/gcc4strm.cxx
g++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude   -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION    -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY  -I/Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/inc -I/Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/src -I/Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/src/dict -pthread -Icint/cint/lib/gcc4strm -Wno-strict-aliasing -I. -o cint/cint/src/dict/gcc4strm.o -c cint/cint/src/dict/gcc4strm.cxx
In file included from cint/cint/src/dict/gcc4strm.cxx:7:
In file included from /Users/leehagaman/Desktop/RAT_stuff/root/cint/cint/src/dict/gcc4strm.h:30:
cint/cint/lib/gcc4strm/iostrm.h:85:17: error: no type named '__streambuf_type'
      in 'std::__1::basic_ostream<char>'
static ostream::__streambuf_type *G__store_cout;
       ~~~~~~~~~^
cint/cint/lib/gcc4strm/iostrm.h:86:17: error: no type named '__streambuf_type'
      in 'std::__1::basic_ostream<char>'
static ostream::__streambuf_type *G__store_cerr;
       ~~~~~~~~~^
cint/cint/lib/gcc4strm/iostrm.h:87:17: error: no type named '__streambuf_type'
      in 'std::__1::basic_istream<char>'
static istream::__streambuf_type *G__store_cin;
       ~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:760:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:771:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:781:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:791:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:791:207: error: expected expression
  ...>::__streambuf_type*) libp->para[0].ref, (basic_istream<char,char_traits...
                         ^
cint/cint/src/dict/gcc4strm.cxx:791:190: error: no member named
      '__streambuf_type' in 'std::__1::basic_istream<char>'
  ...G__getstructoffset())->get(*(basic_istream<char,char_traits<char> >::__s...
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:801:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:801:207: error: expected expression
  ...>::__streambuf_type*) libp->para[0].ref);
                         ^
cint/cint/src/dict/gcc4strm.cxx:801:190: error: no member named
      '__streambuf_type' in 'std::__1::basic_istream<char>'
  ...G__getstructoffset())->get(*(basic_istream<char,char_traits<char> >::__s...
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:811:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:822:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:832:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:844:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:851:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:863:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cint/cint/src/dict/gcc4strm.cxx:891:56: error: no type named '__istream_type' in
      'std::__1::basic_istream<char>'
         const basic_istream<char,char_traits<char> >::__istream_type& o...
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [cint/cint/src/dict/gcc4strm.o] Error 1```

I would not install ROOT5 but rather move to ROOT version 6.10 released some days ago.

Thanks for the response, but I’m trying to install this as a dependency for rat-pac reactor analysis tool, so unfortunately I need this specific version.

Hi,

could you pin-point the reason(s) why you cannot migrate to ROOT6? The 6 series is being used in production by LHC experiments, among many others, since 4 years…

Cheers,
D

I don’t really know, I’m trying to follow these instructions, but I think they’re pretty outdated. http://rat.readthedocs.io/en/latest/installation.html

Right now I’m trying on Linux instead, kind of inconvenient, but I’ll see if that helps.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.