@Rahul_Arora1 - That’s great, I’m happy to hear we were able to get it working.
One subtle thing that I did want to point out. You are using DESTDIR but not PREFIX. By using DESTDIR like that, you are basically requiring that your /opt/IBM/mongo-distro path be writeable by the build. That may not always be what you want. Instead, you should be able to do:
scons ... PREFIX=/opt/IBM/mongo-distro
That will create a tree within the mongodb source clone like build/install/opt/IBM/mongo-distro, without needing write permissions to the real /opt/IBM/mongo-distro, and ensure that targets like archive-core build archives that contain the prefix path opt/IBM/mongo-distro so that if you unpack them in / (presumably with sudo) they populate the directory you want.
So, that may be something to play with if you are interested.