|
Note: Binaries are available for most platforms. Most users won't need to compile mongo themselves; in addition every prebuilt binary has been regression tested. See the Downloads page for these prebuilt binaries. PrerequisitesSpiderMonkeyMost pre-built Javascript SpiderMonkey libraries do not have UTF-8 support compiled in; MongoDB requires this. Additionally, Ubuntu has a weird version of SpiderMonkey that doesn't support everything we use. If you get any warnings during compile time or runtime, we highly recommend building SpiderMonkey from source. See Building SpiderMonkey for more information. We currently support SpiderMonkey 1.6 and 1.7, although there is some degradation with 1.6, so we recommend using 1.7. We have not yet tested 1.8, but will once it is officially released. V8 support is under development. FedoraThe following steps have been reported to work for Fedora versions from 8 to 13. (If they don't work on newer versions, please report this to mongodb-user@googlegroups.com.) sudo yum -y install git tcsh scons gcc-c++ glibc-devel sudo yum -y install boost-devel pcre-devel js-devel readline-devel #for release builds: sudo yum -y install boost-devel-static readline-static ncurses-static UbuntuNote: See SpiderMonkey note above. Use cat /etc/lsb-release to see your version. Ubuntu 8.04apt-get -y install tcsh git-core scons g++ apt-get -y install libpcre++-dev libboost-dev libreadline-dev xulrunner-1.9-dev apt-get -y install libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev libboost-date-time-dev Ubuntu 9.04 and 9.10apt-get -y install tcsh git-core scons g++ apt-get -y install libpcre++-dev libboost-dev libreadline-dev xulrunner-1.9.1-dev apt-get -y install libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev libboost-date-time-dev Ubuntu 10.04+apt-get -y install tcsh git-core scons g++ apt-get -y install libpcre++-dev libboost-dev libreadline-dev xulrunner-1.9.2-dev apt-get -y install libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev libboost-date-time-dev Building
Troubleshooting
|

PLEASE POST QUESTIONS IN THE USER GROUPS FORUM. Post non-question comments and helpful hints here.
blog comments powered by Disqus