joyent/node — Issue #2316: Error while installing 
Author: Somebi
Created: 2011-12-12 11:15:45+00:00
State: open

git clone git://github.com/joyent/node.git
git checkout v0.6.3

and then:

root@randevu:/opt/node# ./configure && make && sudo make install
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : not found
Checking for function SSL_library_init : yes
Checking for header openssl/crypto.h : yes
Checking for library util : yes
Checking for library rt : yes
Checking for fdatasync(2) with c++ : yes
'configure' finished successfully (4.649s)
Waf: Entering directory `/opt/node/out'
DEST_OS: linux
DEST_CPU: ia32
Parallel Jobs: 1
Product type: program
[ 5/35] libv8.a: deps/v8/SConstruct -> out/Release/libv8.a
/usr/local/bin/python "/opt/node/tools/scons/scons.py" -j 1 -C "/opt/node/out/Release/" -Y "/opt/node/deps/v8" visibility=default mode=release arch=ia32 toolchain=gcc library=static snapshot=on
scons: Reading SConscript files ...
ImportError: No module named bz2:
File "/opt/node/deps/v8/SConstruct", line 37:
import js2c, utils
File "/opt/node/deps/v8/tools/js2c.py", line 36:
import bz2
Waf: Leaving directory `/opt/node/out'
Build failed: -> task failed (err #2):
{task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1
root@randevu:/opt/node#

That's it.