linux - ubuntu安装clang依赖报错, 如果降版本安装?
巴扎黑
巴扎黑 2017-04-17 13:25:45
0
0
841

我本地的g

liu@liu-XPS-13-9343:~/.vim/bundle$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.

报错信息:

liu@liu-XPS-13-9343:~/.vim/bundle$ sudo apt-get install clang-3.5 libclang1-3.5 libobjc-4.8-dev
Reading package lists... Done
​Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libobjc-4.8-dev : Depends: gcc-4.8-base (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
Depends: libgcc-4.8-dev (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
Depends: libobjc4 (>= 4.8.2-19ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

意思是我现在的gcc 4.8.4-2不满足clang的安装要求么, 不过现在版本比gcc-4.8-base这个要更高吧, 竟然没有向前兼容么, clang我能装的最高的版本是3.5.

请问我是应该把本地的gcc降降低版本到 4.8.2-19ubuntu1 才能安装么, 后面那个ubuntu1是什么意思.

巴扎黑
巴扎黑

全部回覆(0)
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!