g ++错误:/ usr / lib / rpm / redhat / redhat-hardened-cc1不存在该文件和目录 [英] g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1 No that file and directory

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

问题描述

我正在研究qt平台Fedora linux,它抛出一个g ++错误如下,而我做一个示例cpp

  g ++错误:/ usr / lib / rpm / redhat / redhat-hardened-cc1没有文件和目录



解决方案

您需要安装 redhat-rpm- qt 开关所需的

$

> sudo dnf install redhat-rpm-config

AskFedora


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 that file and directory

Would who indicate how to do for me please?

解决方案

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

sudo dnf install redhat-rpm-config

From AskFedora.

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

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