In SConstruct:479 we try to extract version information using "git describe" when version.json is not present in the repo (which is the new default, see
Since there may be users building without a git repo it would be nice to add another fallback, such as environment variable or some other mechanism.
- adding a fake version.json file before compiling that looks as follows:
- Setting MONGO_VERSION in ~/.scons/site_scons/mongo_custom_variables.py:
- is duplicated by
SERVER-25144 Failure to compile mongod server and mongo shell from 3.2.8 sources