Existe um bom tutorial na web, que resolve esse problema: link
Os passos que funcionaram para mim foram um pouco diferentes:
-
sudo apt-get install scons libboost-python-dev -
svn checkout http://v8.googlecode.com/svn/trunk/ v8 -
svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8 -
cd v8 -
export V8_HOME='pwd' -
cd ../pyv8 -
sudo python setup.py build -
sudo python setup.py install