linux - ubuntu安装clang依赖报错, 如果降版本安装?
巴扎黑
巴扎黑 2017-04-17 13:25:45
[Linux讨论组]

我本地的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)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号