# Problems compiling on os x 10.9

**URL:** <https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774>\
**Category:** ROOT\
**Created:** [October 21, 2013, 2:24am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774 "2013-10-21T02:24:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lpf](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/c89c15/32.png) [@lpf](https://root-forum.cern.ch/u/lpf)\
**Post date:** [October 21, 2013, 2:24am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/1 "2013-10-21T02:24:40Z")

</div>

Errors compiling on OS X 10.9

I had no problems compiling on OS X previous to installing 10.9. But after running ./configure it returns this:

[code]Checking for Fink/MacPorts directory …  
Checking for GNU Make version \>= 3.80 … ok  
Checking for C compiler … clang  
Checking for C++ compiler … clang++  
Checking for linker (LD) … clang++  
Checking for F77 compiler … no F77 compiler gfortran found  
Checking for libX11 … /usr/X11R6/lib  
Checking for X11/Xlib.h … /usr/X11R6/include  
Checking for X11/xpm.h … /usr/X11R6/include  
Checking for X11/Xft/Xft.h … /usr/X11R6/include  
Checking for X11/extensions/shape.h … /usr/X11R6/include  
Checking for libXpm … /usr/X11R6/lib  
Checking for libXft … /usr/X11R6/lib  
Checking for libXext … /usr/X11R6/lib  
Checking for freetype-config … /opt/X11/bin/freetype-config  
Checking for libfreetype version \>= 9.3.0 … ok  
Checking whether to build included libfreetype6 … no  
Checking for pcre-config … not found  
Checking whether to build included libpcre … yes  
Checking for zlib.h … /usr/include  
Checking for libz … /usr/lib  
Checking whether to build included zlib … no  
Checking for lzma.h … no  
Checking for liblzma … /usr/lib  
Checking whether to build included lzma … yes  
Checking for GL/gl.h, or gl.h … /usr/X11/include  
Checking for libGL, or libMesaGL … /usr/X11R6/lib  
Checking for libGLU, or libMesaGLU … /usr/X11R6/lib  
Checking for GL/glew.h … no  
Checking for libGLEW … no  
Checking whether to build included GLEW … yes  
Checking for pkg-config … not found  
Checking whether to build included libftgl … yes  
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 … /usr/include  
Checking for libsqlite3 … /usr/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 … /usr/lib  
Checking for libgvplugin\_dot\_layout, or gvplugin\_dot\_layout … no  
Checking for libPythia6 … no  
Checking for Pythia.h … no  
Checking for libpythia8 … no  
Checking for dcap.h … no  
Checking for libdcap … no  
Checking for chirp\_reli.h … no  
Checking for libchirp\_client … no  
Checking for hdfs.h … no  
Unable to find any JVMs matching version “(null)”.  
No Java runtime present, try --request to install.  
Checking for jni.h … no  
Checking for libhdfs … no  
Checking for libjvm … no  
Checking for libglite-api-wrapper … no  
Checking for gapiUI.h … no  
Checking for libgapiUI … no  
Checking for jpeglib.h … no  
Checking for png.h … /usr/X11/include  
Checking for tiffio.h … no  
Checking for libjpeg … no  
Checking for libtiff … no  
Checking for libz … /usr/lib  
Checking for libpng … /usr/X11/lib  
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 … /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7  
Checking for python2.7, libpython2.7, libpython, python, or Python … /System/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 … /usr/lib  
Checking for libcrypto … /usr/lib  
Checking for openssl/bio.h … /usr/include  
Checking for openssl/blowfish.h … /usr/include  
Checking for openssl/err.h … /usr/include  
Checking for openssl/pem.h … /usr/include  
Checking for openssl/rand.h … /usr/include  
Checking for openssl/rsa.h … /usr/include  
Checking for t\_server.h … no  
Checking for libsrp … no  
Checking for libgmp … /usr/local/lib  
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 libGdml … no  
Checking whether to build libTable … no  
Checking whether to build libTMVA … yes  
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\_ftgl, builtin\_glew, builtin\_pcre, builtin\_lzma, cintex, explicitlink, fink, genvector, krb5, ldap, memstat, opengl, python, reflex, shared, sqlite, ssl, tmva, x11, xft, xml.  
[/code]

I tried compiling but 20 errors were generated:

`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: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:791:207: error: expected expression
  ...>::__streambuf_type*) libp->para[0].ref, (basic_istream<char,char_traits...
                         ^
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: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:207: error: expected expression
  ...>::__streambuf_type*) libp->para[0].ref);
                         ^
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
`

If anyone can tell me what I’m missing or need, it will be greatly appreciated. Thanks

---

_[View the full topic](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774)._
