G ++错误:/ usr / lib / rpm / redhat / redhat-hardened-cc1:没有这样的文件或目录 [英] G++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

查看:150
本文介绍了G ++错误:/ usr / lib / rpm / redhat / redhat-hardened-cc1:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Fedora linux平台上研究qt,当我制作示例cpp时它抛出了g ++错误

I'm studying qt on platform Fedora linux, It threw a g++ error as below while I make a sample cpp

g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

请问谁指示我该怎么做?

Would who indicate how to do for me please?

推荐答案

您需要安装 redhat-rpm -config ,这是某些 qt 开关所必需的,

You need to install redhat-rpm-config which is required by some of the qt switches, probably:

sudo dnf install redhat-rpm-config

来自AskFedora

这篇关于G ++错误:/ usr / lib / rpm / redhat / redhat-hardened-cc1:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆