unable to execute 'gcc': No such file or directory error: command 'gcc' failed with

Posted wind-chaser

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了unable to execute 'gcc': No such file or directory error: command 'gcc' failed with 相关的知识,希望对你有一定的参考价值。

推测是找不到gcc,怀疑过去机器gcc未配置好环境变量,于是尝试卸载gcc

sudo apt-get remove gcc

技术图片

此次报错显示需要g++编译,于是安装g++

sudo apt install g++

之后使用g++代替gcc跑通了编译部分

 

以上是关于unable to execute 'gcc': No such file or directory error: command 'gcc' failed with 的主要内容,如果未能解决你的问题,请参考以下文章

Unable to execute 'doFinal' with cipher instance [javax.crypto.Cipher@4e025e0a]

unable to execute 'gcc': No such file or directory error: command 'gcc' failed with

GenericJDBCException: Unable to open JDBC Connection for DDL execution ,切换pgsql报错?

Process refuced to die after 10 seconds,and couldn't taskkill it:Unable to find executable for:t

org.apache.shiro.crypto.CryptoException: Unable to execute ‘doFinal‘ with cipher instance

AS问题解决系列1—Unable to execute DX错误