Comment faire pour installer Clang et LLVM 3.9 sur CentOS 7

J'ai pris les paquets rpm de
https://copr-be.cloud.fedoraproject.org/results/alonid/llvm-3.9.0/epel-7-x86_64/00505197-clang-3.9.0/ pour Clang 3.9.

Je suis d'installer les packages rpm par la commande

rpm -ivh clang-3.9.0-3.9.0-3.1.el7.centos.alonid.src.rpm

Mais quand je fais

rpm -ivh clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64.rpm

J'obtiens l'erreur suivante :

error: Failed dependencies:
    clang-3.9.0-libs(x86-64) = 3.9.0-3.1.el7.centos.alonid is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libLLVM-3.9.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclang.so.3.9()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangAST.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangBasic.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangCodeGen.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangDriver.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangFormat.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangFrontend.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangFrontendTool.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangIndex.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangRewrite.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangRewriteFrontend.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangStaticAnalyzerFrontend.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangTooling.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64
    libclangToolingCore.so()(64bit) is needed by clang-3.9.0-3.9.0-3.1.el7.centos.alonid.x86_64

Où dois-je installer toutes ces dépendances?

Essayez la clang-libs rpm dans le répertoire.
Je suis de l'installation de clang 3.9 sur centos 7.3 . rpm dois-je installer à partir du lien suivant : rpmfind.net/linux/rpm2html/search.php?query=clang-libs
Votre post contient le lien vers copr-be.cloud.fedoraproject.org/results/alonid/llvm-3.9.0/... , il existe plusieurs rpm. Le message d'erreur que vous avez posté, dit "clang-3.9.0-libs(x86-64) = 3.9.0-3.1.el7.centos.alonid est nécessaire ..." Avez-vous essayez d'installer à la fois le llvm et clang-libs tr / min à partir du lien que vous avez posté ?

OriginalL'auteur Seetu Agarwal | 2017-05-27