Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mklove/modules/configure.base: line 1104: c++: command not found #667

Closed
1 task
yxw2014 opened this issue May 24, 2016 · 2 comments
Closed
1 task

mklove/modules/configure.base: line 1104: c++: command not found #667

yxw2014 opened this issue May 24, 2016 · 2 comments

Comments

@yxw2014
Copy link

yxw2014 commented May 24, 2016

Description

Configure failed

Accumulated failures:

cxx (WITH_CXX) C++ compiler (c++)
module: cc
action: fail
reason:
command 'c++ --version' failed:
mklove/modules/configure.base: line 1104: c++: command not found

[root@ librdkafka]# cat /etc/issue
CentOS release 6.7 (Final)
Kernel \r on an \m

[root@librdkafka]# uname -a
Linux yizhibo-test-51 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

How to reproduce

./configure

Checklist

Please provide the following information:

  • librdkafka version: git master branch
@edenhill
Copy link
Contributor

You need to install a C++ compiler, e.g. g++

@gylgylgyl123
Copy link

gylgylgyl123 commented Mar 2, 2022

You need to install a C++ compiler, e.g. g++

but I do "yum install g++"?still the same error.thx

G++没有装或却没有更新

查看:

g++ --version

以下方法都可以试试:

centos:

yum -y update gcc (更新)

yum -y install gcc+ gcc-c++

ubuntu:

apt-get update gcc(更新)

apt-get install g++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants