Unable to build MongoDB from source in Ubuntu

Hello everyone,

We were trying to build MongoDB from source code in our Ubuntu system following this document: https://github.com/mongodb/mongo/blob/master/docs/building.md

But we are unable to build it. We tried to follow all the options given but still getting the error. By running the following command: $ python3 buildscripts/scons.py install-mongod -j1
it is taking more than 6 hours to run and throwing the following error.:
WhatsApp Image 2024-03-10 at 2.41.55 PM
Ubuntu version is: 20.04
Python version: 3.10.x

Could anyone please help us with this issue?

Thanks in advance!

Two things:

  1. That’s not a complete problem report. If you want help on this, you probably will have to rerun the build and capture all the output and attach that, as well as any log files you can find that are produced by the build, to a MongoDB Core Server Issue report
  2. Just taking a wild guess: are you sure your platform conforms to the CPU requirements?