Re: Download and run MongoDB source code

396 views
Skip to first unread message

Stephen Steneker

unread,
Aug 4, 2012, 7:21:06 PM8/4/12
to mongod...@googlegroups.com
I want to install mongodb source code and want to make some contribution in its code. While looking for its installation, i am confused. Please tell me step by step installation of its code. How can i run its source code and then modify it to make my own contribution?

I have downlaoded mongodb source files, intsall the python and now i was installing scon. But scon can only be installed in win32 and i have win64. Moreover, what is boost and when it will be used in mongodb?

Hi Rahat,

Scons is written in Python so despite the ".win32" filename in the installer download, it's the same version for 32- or 64-bit Windows.  The scons scripts are installed to your Python\scripts dir (eg: c:\Python27\Scripts\..).

The MongoDB server is written in C++.  Boost (http://www.boost.org/) is a set of open source C++ libraries used throughout the codebase.

If you haven't come across Boost yet, then you probably have a fair learning curve ahead before you should attempt getting into the C++ coding for a database server ;-).

For some tips on building Boost with Windows see: http://www.mongodb.org/display/DOCS/Boost+and+Windows.

Cheers,
Stephen

Rahat Masood

unread,
Aug 5, 2012, 4:03:25 AM8/5/12
to mongod...@googlegroups.com
Sir,

Is there any video tutorial that can help me in completely building mongodb source code?....I am really confused.....I have also searched MongoDB website and tried to follow the building instruction given in their pages. But still i am unable to understand the sequence.

Please if possible can you provide me with step-by-step instructions?

Regards,
Rahat.

--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb

Stephen Steneker

unread,
Aug 5, 2012, 7:05:03 AM8/5/12
to mongod...@googlegroups.com
Is there any video tutorial that can help me in completely building mongodb source code?....I am really confused.....I have also searched MongoDB website and tried to follow the building instruction given in their pages. But still i am unable to understand the sequence.  

Please if possible can you provide me with step-by-step instructions?

Hi Rahat,

The build steps are listed on the wiki, either for latest source (2.2rc0):


I also noticed on the wiki instructions that scons *does* want 32-bit Python for Windows. I had mentioned earlier that I thought it was the same version .. sorry!

Those are the most detailed instructions available.

Cheers,
Stephen

Rahat Masood

unread,
Aug 5, 2012, 8:23:29 AM8/5/12
to mongod...@googlegroups.com
Dear Stephen,

Thank you for your reply. I am trying to follow these instructions from last two days, however, I found no effective results. I will try again and if I will get stuck at some point on building MongoDB, i will bother you again.

Thanx in advance.

Regards,
Rahat.


Cheers,
Stephen

--

Hira Ahmed

unread,
Jul 16, 2014, 5:12:43 AM7/16/14
to mongod...@googlegroups.com
Hi 
did you have any success in building mongodb?


On Sunday, August 5, 2012 3:03:42 AM UTC+5, Rahat Masood wrote:
Hello everyone,


I want to install mongodb source code and want to make some contribution in its code. While looking for its installation, i am confused. Please tell me step by step installation of its code. How can i run its source code and then modify it to make my own contribution?

I have downlaoded mongodb source files, intsall the python and now i was installing scon. But scon can only be installed in win32 and i have win64. Moreover, what is boost and when it will be used in mongodb?

Please give me step by step instructions. Thanx in advance.

Stephen Steneker

unread,
Jul 16, 2014, 5:32:41 AM7/16/14
to mongod...@googlegroups.com
On Wednesday, 16 July 2014 21:12:43 UTC+12, Hira Ahmed wrote:
did you have any success in building mongodb?

Hi Hira,

Please start a new discussion rather than replying to old posts. This one in particular is almost two years old :).

If you're interested in building from source, the current documentation can be found at:
 http://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/

If you're having any troubles building based on those instructions, please feel free to start a new discussion with information on your build environment and the specific error(s) you are getting.

I would note that unless you are planning on contributing to MongoDB, there is typically no need to build from source as there are packaged installations available for common O/S environments: http://docs.mongodb.org/manual/installation/.

Regards,
Stephen

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages