Chinaunix首页 | 论坛 | 博客
  • 博客访问: 8133756
  • 博文数量: 594
  • 博客积分: 13065
  • 博客等级: 上将
  • 技术积分: 10324
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-26 16:44
个人简介

推荐: blog.csdn.net/aquester https://github.com/eyjian https://www.cnblogs.com/aquester http://blog.chinaunix.net/uid/20682147.html

文章分类

全部博文(594)

分类: LINUX

2012-06-09 00:10:32

下面这个错误是因为没有安装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++”成功安装后,问题即可解决
阅读(2046) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~