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

doesn't work #2

Open
harvey56 opened this issue Mar 24, 2023 · 3 comments
Open

doesn't work #2

harvey56 opened this issue Mar 24, 2023 · 3 comments

Comments

@harvey56
Copy link

harvey56 commented Mar 24, 2023

Thanks for the effort to offer a solution, but with your suggestion, I still get the same error message I get when installing the DB following the official doc :

GCC 11.3 or newer is required to build MongoDB

It won't install GCC 11.3 on Debian 11 and that relatively old HW I have here.

@vgraba
Copy link

vgraba commented Mar 24, 2023

I struggle with the MonoDB installation on Debian 11 at the same point. Even with the parameter "--disable-warnings-as-errors" i get the error:
Checking if C compiler is GCC 11.3 or newer...no
Checking if C++ compiler is GCC 11.3 or newer...no
ERROR: Refusing to build with compiler that does not meet requirements

Update: I switched to Debian Testing to be able to use a newer compiler and then it worked. Thanks for providing this solution.

@GermanAizek
Copy link
Owner

@vgraba, @harvey56, I don't follow docker container, if you know how to fix it, then offer a patch or pull request.

@popov654
Copy link

Same problem on Cent OS 7. I did yum install devtoolset-11-gcc devtoolset-11-gcc-c++ and scl enable devtoolset-11 -- bash, but in no way it helped me to fix this.

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

4 participants