Created
January 14, 2013 12:36
-
-
Save ngsw/4529773 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum -y install gcc-c++.x86_64 pcre-devel.x86_64 boost-devel.x86_64 make.x86_64 git.x86_64 | |
| spmky_ver="1.7.0" | |
| cd /usr/local/src/ | |
| wget http://ftp.mozilla.org/pub/mozilla.org/js/js-${spmky_ver}.tar.gz | |
| tar xzvf js-${spmky_ver}.tar.gz | |
| cd js/src | |
| export CFLAGS="-DJS_C_STRINGS_ARE_UTF8" | |
| make -f Makefile.ref | |
| JS_DIST=/usr make -f Makefile.ref export | |
| sconsver="2.2.0" | |
| cd /usr/local/src/ | |
| wget http://prdownloads.sourceforge.net/scons/scons-${sconsver}.tar.gz | |
| tar zxvf scons-${sconsver}.tar.gz | |
| cd scons-${sconsver} | |
| python setup.py install | |
| mongover="1.8.0" | |
| cd /usr/local/src/ | |
| git clone http://github.com/mongodb/mongo.git | |
| cd mongo | |
| git tag -l | |
| git checkout r${mongover}-rc2 | |
| scons all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment