前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >解决“configure: line 2747: -g: command not found”

解决“configure: line 2747: -g: command not found”

作者头像
一见
发布2018-08-07 15:44:39
8890
发布2018-08-07 15:44:39
举报
文章被收录于专栏:蓝天

下面这个错误是因为没有安装g++

$ ./configure --prefix=/data1/mooon/run

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

./configure: line 2747: -g: command not found

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether the C++ compiler works... no

configure: error: in `/data1/mooon/src/common_library/src':

configure: error: C++ compiler cannot create executables

See `config.log' for more details

执行“$ sudo apt-get install g++”成功安装后,问题即可解决

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2012/06/09 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档