Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9186

cmake configure fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.12/04
    • Fix Version/s: 6.14/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Debian 9.3

      Description

      Running cmake configure with the following settings

      INSTALLDIR=/opt/root/v6-12-04
      SOURCEDIR=/home/user/root
      NUMCORES=4
      cmake -j$NUMCORES -DCMAKE_INSTALL_PREFIX=$INSTALLDIR -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_BINDIR=$INSTALLDIR/bin -DCMAKE_INSTALL_LIBDIR=$INSTALLDIR/lib -DCMAKE_INSTALL_INCLUDEDIR=$INSTALLDIR/include -DCMAKE_INSTALL_SYSCONFDIR=$INSTALLDIR/etc -DCMAKE_INSTALL_MANDIR=$INSTALLDIR/man -DCMAKE_INSTALL_DATAROOTDIR=$INSTALLDIR/share -DCMAKE_INSTALL_DATADIR=$INSTALLDIR/share -DCMAKE_INSTALL_MACRODIR=$INSTALLDIR/macros -DCMAKE_INSTALL_ICONDIR=$INSTALLDIR/icons -DCMAKE_INSTALL_FONTDIR=$INSTALLDIR/fonts -DCMAKE_INSTALL_SRCDIR=$INSTALLDIR/src -DCMAKE_INSTALL_DOCDIR=$INSTALLDIR/doc -DCMAKE_INSTALL_TESTDIR=$INSTALLDIR/test -DCMAKE_INSTALL_TUTDIR=$INSTALLDIR/tutorials -DCMAKE_INSTALL_ACLOCALDIR=$INSTALLDIR/aclocal -DCMAKE_INSTALL_ELISPDIR=$INSTALLDIR/elisp -DCMAKE_INSTALL_CMAKEDIR=$INSTALLDIR/cmake -D afdsmgrd=off -D afs=off -D alien=off -D all=off -D asimage=on -D astiff=on -D bonjour=off -D builtin_afterimage=off -D builtin_fftw3=off -D builtin_ftgl=off -D builtin_freetype=off -D builtin_glew=off -D builtin_pcre=off -D builtin_zlib=off -D builtin_lzma=off -D builtin_davix=off -D builtin_gsl=off -D builtin_cfitsio=off -D builtin_xrootd=off -D builtin_llvm=off -D builtin_tbb=off -D cxx11=off -D cxx14=on -D cxx17=off -D libcxx=off -D castor=off -D ccache=off -D chirp=off -D cling=on -D cocoa=off -D davix=off -D dcache=off -D exceptions=on -D fail-on-missing=on -D fftw3=on -D fitsio=on -D fortran=on -D gdml=on -D geocad=off -D genvector=on -D gfal=off -D glite=off -D globus=off -D gminimal=off -D gnuinstall=on -D gsl_shared=on -D gviz=on -D hdfs=off -D http=off -D imt=on -D jemalloc=off -D krb5=on -D ldap=on -D mathmore=on -D memstat=on -D minimal=off -D minuit2=on -D monalisa=off -D mt=on -D mysql=off -D odbc=off -D opengl=on -D oracle=off -D pgsql=on -D pythia6=off -D pythia8=off -D python=on -D qt=on -D qtgsi=on -D roofit=on -D root7=off -D roottest=off -D ruby=on -D r=on -D rfio=off -D rpath=off -D sapdb=off -D shadowpw=on -D shared=on -D soversion=on -D sqlite=on -D srp=off -D ssl=on -D tbb=on -D table=off -D tcmalloc=off -D testing=off -D thread=on -D tmva=on -D unuran=on -D vc=off -D vdt=off -D winrtdebug=off -D xft=on -D xml=on -D xrootd=off -D x11=on -D python3=on $SOURCEDIR

      I obtain the following error

      CMake Error at interpreter/llvm/src/cmake/modules/AddLLVM.cmake:439 (add_library):
      add_library cannot create target "LLVMSupport" because an imported target
      with the same name already exists.
      Call Stack (most recent call first):
      interpreter/llvm/src/cmake/modules/AddLLVM.cmake:575 (llvm_add_library)
      interpreter/llvm/src/lib/Support/CMakeLists.txt:33 (add_llvm_library)
       
       
      CMake Error at interpreter/llvm/src/cmake/modules/AddLLVM.cmake:546 (target_link_libraries):
      Cannot specify link libraries for target "LLVMSupport" which is not built
      by this project.
      Call Stack (most recent call first):
      interpreter/llvm/src/cmake/modules/AddLLVM.cmake:575 (llvm_add_library)
      interpreter/llvm/src/lib/Support/CMakeLists.txt:33 (add_llvm_library)

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            wieneman Peter Wienemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: