I installed boost/mozjs into the user directory (/home/kzk/soft).
Then, tried to build the mongodb itself.
$ scons --prefix=/home/kzk/soft/ --extrapathdyn=/home/kzk/soft --sharedclient all
Finally, try the install build target as follows.
$ scons --prefix=/home/kzk/soft/ --extrapathdyn=/home/kzk/soft --sharedclient install
Then, python interpreter consumes 100% CPU and the memory usage gets increasing and increasing (maybe infinite recursion?).
However, without prefix option, it works fine.
$ scons --extrapathdyn=/home/kzk/soft --sharedclient install
Because the interpreter got freeze, I cannot get any backtrace or so...