Jonathan Clarke @ Beilabs.com

21/01/2010

Ubuntu & MongoDB, match made in heaven

install dependencies:

sudo aptitude install build-essential git-core libboost-dev libpcre3 libpcre3-dev scons xulrunner-1.9-dev  libboost-thread-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev fakeroot dpkg-dev libpcap-dev

$ git clone --depth=1 git://github.com/mongodb/mongo.git
$ cd mongo
$ chmod 755 debian/rules

edit debian/control and remove ", xulrunner-1.9-dev" from "Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9-dev"

$ dpkg-buildpackage -rfakeroot -b
$ sudo dpkg -i ../mongodb_1.3.1_i386.deb

blog comments powered by Disqus
Beilabs