Hi,
I tried to build the ROOT trunk version (r44898) using cmake and got the following error:
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
"CINTTARGET" of type UTILITY
depends on "cint_tmp" (strong)
"Cint_static" of type STATIC_LIBRARY
depends on "IOSENUM_H" (strong)
"IOSENUM_H" of type UTILITY
depends on "CINTTARGET" (strong)
depends on "cint_tmp" (strong)
"cint_tmp" of type EXECUTABLE
depends on "Cint_static" (weak)
At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries.
At least the first of the dependencies seems to be an experimental hack. Am I doing something wrong or is the above a known issue?
I’ve built with
Output of cmake command below.
Cheers,
Jan.
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 3.1.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Setting default installation prefix CMAKE_INSTALL_PREFIX to /Applications/root/trunk
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/local/bin/gfortran
-- Check for working Fortran compiler: /usr/local/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/bin/gfortran supports Fortran 90
-- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes
-- CMAKE_BUILD_TYPE: RelWithDebInfo
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found a Mac OS X System 10.7
-- Found a 64bit system
-- Found LLVM compiler collection
-- ROOT Platform: macosx
-- ROOT Architecture: macosx64
-- Build Type: RelWithDebInfo
-- Compiler Flags: -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common
-- Looking for ZLib
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Looking for Freetype
-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib (found version "2.4.7")
-- Looking for PCRE
-- PCRE not found. Switching on builtin_pcre option
-- Looking for LZMA
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.0.3 included in ROOT itself
-- Looking for X11
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.dylib
-- X11_INCLUDE_DIR: /usr/X11R6/include
-- X11_LIBRARIES: /usr/X11R6/lib/libSM.dylib;/usr/X11R6/lib/libICE.dylib;/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- X11_Xpm_INCLUDE_PATH: /usr/X11R6/include
-- X11_Xpm_LIB: /usr/X11R6/lib/libXpm.dylib
-- X11_Xft_INCLUDE_PATH: /usr/X11R6/include
-- X11_Xft_LIB: /usr/X11R6/lib/libXft.dylib
-- X11_Xext_INCLUDE_PATH:
-- X11_Xext_LIB: /usr/X11R6/lib/libXext.dylib
-- Looking for AfterImage
-- AfterImage not found. Switching on builtin_afterimage option
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.5.4")
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Looking for GSL
-- FindGSL: gsl-config not found.
-- GSL not found. Set variable GSL_DIR to point to your GSL installation
-- Alternatively, you can also enable the option 'builtin_gsl' to build the GSL libraries internally'
-- For the time being switching OFF 'mathmore' option
-- Looking for Python
-- Found PythonInterp: /usr/bin/python (found version "2.7.1")
-- Found Python interpreter version 2.7
-- Found PythonLibs: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (found version "2.7.1")
-- Looking for GCCXML
-- Looking for OpenGL
-- Looking for Graphviz
-- Graphviz not found. Switching off gviz option
-- Looking for Bonjour
-- Checking whether Bonjour/Avahi is supported
-- Looking for Kerberos 5
-- Looking for LibXml2
-- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.7.3")
-- Looking for OpenSSL
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib (found version "0.9.8r")
-- Looking for Castor
-- Castor not found. Switching off castor/rfio option
-- Looking for MySQL
-- Found MySQL libraries: /usr/local/mysql/lib/libmysqlclient.dylib
-- Found MySQL includes: /usr/local/mysql/include
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
-- currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
-- currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for ODBC
-- ODBC not found. Switching off odbc option
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- FFTW3 not found. Switching off fftw3 option
-- Looking for CFITSIO
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
-- For the time being switching off 'fitsio' option
-- Support Shadow password not found. Switching off shadowpw option
-- Alien API not found. Set variable ALIEN_DIR to point to your Alien installation
-- For the time being switching OFF 'alien' option
-- Monalisa not found. Set variable MONALISA_DIR to point to your Monalisa installation
-- For the time being switching OFF 'monalisa' option
-- Looking for XROOTD
-- XROOTD not found. Set enviroment variable XRDSYS to point to your XROOTD installation
-- Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally'
-- For the time being switching OFF 'xrootd' option
-- >>> Option 'chirp' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'clarens' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'cling' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'dcache' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'gfal' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'glite' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'hdfs' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'pch' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'peac' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'pgsql' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'sapdb' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- >>> Option 'srp' not implemented yet! Signal your urgency to pere.mato@cern.ch
-- Enabled support for: asimage astiff bonjour builtin_afterimage builtin_ftgl builtin_glew builtin_pcre builtin_lzma cintex exceptions explicitlink genvector krb5 ldap memstat minuit2 mysql opengl python reflex roofit shared ssl tmva xft xml x11
-- Configuring done
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
"CINTTARGET" of type UTILITY
depends on "cint_tmp" (strong)
"Cint_static" of type STATIC_LIBRARY
depends on "IOSENUM_H" (strong)
"IOSENUM_H" of type UTILITY
depends on "CINTTARGET" (strong)
depends on "cint_tmp" (strong)
"cint_tmp" of type EXECUTABLE
depends on "Cint_static" (weak)
At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries.
-- Build files have been written to: /Applications/root/binTrunk