找回密码
 注册
查看: 3560|回复: 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
  a8 |+ j- l/ r* V- bchecking host system type... x86_64-unknown-linux-gnu
0 o* P& }" w$ S" X+ U3 |checking target system type... x86_64-unknown-linux-gnu% _4 }$ m7 a+ H6 w) e# Y. M
checking for a BSD-compatible install... /usr/bin/install -c1 n- Z0 I" [  F5 g, i
checking whether build environment is sane... yes
( t8 y% d, C" {" E9 w% L. j! xchecking for gawk... gawk
7 n  W  T# |& Y6 @+ ]. e$ b: \checking whether make sets ${MAKE}... yes
3 {: h% v+ p9 i/ l, Kchecking for gcc... no
0 a3 [4 j9 Q/ h0 Xchecking for cc... no/ P! z* l- M: M4 E# D9 i; ]
checking for cc... no
* C( q' c5 o; V! j: bchecking for cl... no$ M$ k* f  C. ^9 T/ I6 `8 I
configure: error: no acceptable C compiler found in $PATH
2 m1 c3 f. P- k  J
! H% D8 [, i4 _0 k0 x8 X1 \3 V0 O* ?# l) o# m
安装iftop的时候遇到了这个问题,解决办法如下:
安装GCC软件套件
/ o( t8 v' a% R4 b, O) {8 ?
#yum install -y gcc gcc-c++

; E  X6 |7 K1 U, E3 v8 H8 C0 n* i
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 01:58 , Processed in 0.017528 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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