[MacPorts] #34171: root: add cling variant
MacPorts
noreply at macports.org
Mon Apr 23 09:25:00 PDT 2012
#34171: root: add cling variant
--------------------------------------+-------------------------------------
Reporter: Deil.Christoph@… | Owner: mattiafrancescomoro@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: root
--------------------------------------+-------------------------------------
Comment(by jonesc@…):
Looking at your post to the ROOT forum, I believe your configure arguments
are wrong. You need to pass the full path to the 'llvm-config' script, not
just the directory it is in. The following seems to work (well, at least
configure, not tried building) for me
{{{
dhcp-128-232-140-137 ~/Projects/root > ./configure --with-llvm-
config=/opt/local/bin/llvm-config-mp-3.1 --with-clang --enable-cling
--with-cc=/opt/local/bin/clang-mp-3.1 --with-
cxx=/opt/local/bin/clang++-mp-3.1 --with-ld=/opt/local/bin/clang++-mp-3.1
Checking for source directory ... /Users/chris/Projects/root
Configuring for macosx64
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... /opt/local/bin/clang-mp-3.1
Checking for C++ compiler ... /opt/local/bin/clang++-mp-3.1
Checking for linker (LD) ... /opt/local/bin/clang++-mp-3.1
Checking for F77 compiler ... gfortran
Checking for libX11 ... /opt/local/lib
Checking for X11/Xlib.h ... /opt/local/include
Checking for X11/xpm.h ... /opt/local/include
Checking for X11/Xft/Xft.h ... /opt/local/include
Checking for X11/extensions/shape.h ... /opt/local/include
Checking for libXpm ... /opt/local/lib
Checking for libXft ... /opt/local/lib
Checking for libXext ... /opt/local/lib
Checking for freetype-config ... /opt/local/bin/freetype-config
Checking for libfreetype version >= 9.3.0 ... ok
Checking whether to build included libfreetype6 ... no
Checking for pcre-config ... /opt/local/bin/pcre-config
Checking for libpcre version >= 3.9 ... ok
Checking whether to build included libpcre ... no
Checking for zlib.h ... /opt/local/include
Checking for libz ... /usr/lib
Checking whether to build included zlib ... no
Checking for lzma.h ... /opt/local/include
Checking for liblzma ... /opt/local/lib
Checking whether to build included lzma ... no
Checking for GL/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 ... /opt/local/bin/pkg-config
Checking for libftgl ... ok
Checking for ftgl version > 2.1.2 ... ok
Checking whether to build included libftgl ... no
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 ... /usr/include
Checking for libpq ... /usr/lib
Checking for sql.h ... /opt/local/include
Checking for libsqlod ... no
Checking for sqlext.h ... /opt/local/include
Checking for libiodbc, libodbc, or odbc32 ... /opt/local/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 ApMon.h ... no
Checking for libapmoncpp ... no
Checking for fftw3.h ... /opt/local/include
Checking for libfftw3, or libfftw3-3 ... /opt/local/lib
Checking for fitsio.h ... /opt/local/include
Checking for libcfitsio, or cfitsio ... /opt/local/lib
Checking for gvc.h ... /opt/local/include/graphviz
Checking for libgvc, or gvc ... /opt/local/lib
Checking for libgraph, or graph ... /opt/local/lib
Checking for libcdt, or cdt ... /opt/local/lib
Checking for libpathplan, or pathplan ... /opt/local/lib
Checking for libexpat, or expat ... /opt/local/lib
Checking for libgvplugin_dot_layout, or gvplugin_dot_layout ...
/opt/local/lib/graphviz
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
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 ... /opt/local/include
Checking for png.h ... /opt/local/include
Checking for tiffio.h ... /opt/local/include
Checking for gif_lib.h ... /opt/local/include
Checking for libjpeg ... /opt/local/lib
Checking for libtiff ... /opt/local/lib
Checking for libungif ... no
Checking for libz ... /opt/local/lib
Checking for libpng ... /opt/local/lib
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... /opt/local/include
Checking for libldap ... /opt/local/lib
Checking for liblber ... /opt/local/lib
Checking for Python.h ...
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
Checking for python2.7, libpython2.7, libpython, python, or Python ...
/opt/local/Library/Frameworks/Python.framework/Versions/2.7
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 ... /opt/local/include
Checking for GSL version >= 1.8 ... ok
Checking for libgsl, gslML, or gsl ... /opt/local/lib
Checking for libgslcblas, gslcblasML, gslcblas, or cblas ...
/opt/local/lib
Checking whether /opt/local/lib/libgsl.a is compiled with -fPIC ... yes
Checking whether /opt/local/lib/libgslcblas.a is compiled with -fPIC ...
yes
Checking whether to build libMathMore ... yes
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 for Clarens support ... yes
Checking for PEAC support ... yes
Checking whether to build afdsmgrd ... no
Checking whether to integrate experimental cling ... yes
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_glew, cintex, clarens, cling, exceptions, explicitlink, fftw3,
fitsio, gviz, genvector, krb5, ldap, mathmore, memstat, odbc, opengl,
peac, pgsql, python, reflex, rpath, shared, ssl, tmva, x11, xft, xml.
To build ROOT type:
make
}}}
Please try the same, and report back if it builds or not ;)
Chris
--
Ticket URL: <https://trac.macports.org/ticket/34171#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list