Re: GCC Issue: Compiling Mongodb 3.0 from source

From: Andrew Morrow <andrew.morrow@xxxxxxxxxxx>
To: "mongodb-user@xxxxxxxxxxxxxxxx" <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Mon, 9 May 2016 11:23:57 -0400
Why ads?
Hi -

We did recently update the required compilers on the master branch, and the
GitHub wiki for the project has unfortunately not yet been updated to
reflect those changes. We will make sure to update it.

However, those changes only affect the master branch, which holds our
current development version, currently 3.3.5. The v3.0 branch that you
intend to build has not had the required compilers upgraded, and should
still match the information on the wiki.

Can you double check that you succesfully checked out the v3.0 branch after
you cloned? What does running 'git describe' print for you in your clone?

Thanks,
Andrew



On Mon, May 9, 2016 at 6:34 AM, Astro <andhareatish@xxxxxxxxx> wrote:


I am compiling mongodb from source using this
<https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source> doc.
Cloned source v3.0 from this repo https://github.com/mongodb/mongo.git

The doc states that :

       To build MongoDB, you will need:

   - *C++11* to build 3.0.x branches or later
   - A modern C++ compiler. One of the followings is required.
      - *GCC 4.8.2* or newer
      - *Clang 3.4* (or Apple XCode 5.1.1 Clang) or newer
      - Visual Studio 2013 Update 4 or newer
   - *Python 2.7*
   - SCons 2.3

Despite all of the available dependencies met I got following error
message and process exists:


*Checking if C++ compiler is GCC 5.3.0 or newer...no*
*Checking if C compiler is GCC 5.3.0 or newer...no*

Any help?

--
You received this message because you are subscribed to the Google Groups
"mongodb-user"
group.

For other MongoDB technical support options, see:
https://docs.mongodb.org/manual/support/
---
You received this message because you are subscribed to the Google Groups
"mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/79ba758c-48ec-470f-8f34-ee5cb02bb40e%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/79ba758c-48ec-470f-8f34-ee5cb02bb40e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAHX05qEC-cGHdUGAq5aqWAE1KccvOfzac0tL%3DaJ-44C9JahdEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?