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

Install Issue on RHEL7 VM #379

Closed
server2245 opened this issue Nov 25, 2021 · 1 comment
Closed

Install Issue on RHEL7 VM #379

server2245 opened this issue Nov 25, 2021 · 1 comment

Comments

@server2245
Copy link

I was trying to build KeyDB 6.2.1 on RHEL7 VM which has GCC-C++ 4.8.5 but got below error while running MAKE command

g++: error: unrecognized command line option ‘-std=c++14’

What's the minimum OS version supported by KeyDB ?

@VivekSainiEQ
Copy link
Contributor

Hi @server2245,

In order to use the -std=c++14 flag, you need at least GCC-C++ 5.2.0, so I suppose that's the minimum version required.

Alternatively, you can modify the Makefile (under the src/ directory) and change the flag to -std=c++1y, then run make distclean; make from the command line. That may allow KeyDB to compile, but I would recommend upgrading GCC to a suitable version if you are able to.

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

2 participants