【发布时间】:2016-01-06 01:56:26
【问题描述】:
我正在Fedora linux平台上学习qt,在我制作示例cpp时它抛出了如下g++错误
g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
谁能告诉我该怎么做?
【问题讨论】:
-
好像g++没有安装或者没有正确安装
我正在Fedora linux平台上学习qt,在我制作示例cpp时它抛出了如下g++错误
g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
谁能告诉我该怎么做?
【问题讨论】:
【讨论】:
redhat-rpm-config 包(qt?),或者 OP 确实以某种不同的方式安装了 QT 或其他工具,他跳过了依赖项,但很难猜测。
根据this主题安装包redhat-rpm-config应该可以解决这个问题。
/usr/lib/rpm/redhat/redhat-hardened-cc1 包含在软件包 redhat-rpm-config 中。我在本地开发系统上遇到了类似的问题,安装这个包为我解决了这个问题。
【讨论】: