找回密码
 注册
查看: 3561|回复: 0

configure: error: no acceptable C compiler found in $PATH

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-5-18 12:36:59 | 显示全部楼层 |阅读模式
checking build system type... x86_64-unknown-linux-gnu
. O/ |- K6 {8 B" Rchecking host system type... x86_64-unknown-linux-gnu! b, l  y' X9 l. ^' }
checking target system type... x86_64-unknown-linux-gnu
1 J8 q0 Q# |; z! c3 I+ I; echecking for a BSD-compatible install... /usr/bin/install -c
2 J7 x% {* G4 m( G" o+ U5 O/ }checking whether build environment is sane... yes
0 D$ C. c! O7 Y0 J% C# kchecking for gawk... gawk
" r) |6 G' S- N. w  {checking whether make sets ${MAKE}... yes
" y( Y9 s- ^" O; E% bchecking for gcc... no
% ?9 d# `, M& a7 bchecking for cc... no
4 i* x3 y  ~% h, {8 Z3 L/ ~checking for cc... no. |/ r5 g2 O5 h7 P
checking for cl... no
4 ?6 K. F. M6 m5 ~configure: error: no acceptable C compiler found in $PATH
( a3 F$ ^" }  l! z( K& j7 k$ u8 r
6 w; D- H# Y( ^0 W9 U3 f
安装iftop的时候遇到了这个问题,解决办法如下:
安装GCC软件套件

# e9 x7 A6 ^. P! h: G4 l2 P
#yum install -y gcc gcc-c++

' w5 |, M# p* W+ B5 m+ q$ q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:59 , Processed in 0.012120 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表