Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Installing the perl JavaScript library on modern debian (well Jessie)
# Installing the perl JavaScript library on modern debian (well Jessie)
apt-get install wget cpanminus g++ make
wget http://ftp.mozilla.org/pub/js/js-1.7.0.tar.gz
tar -zxvf js-1.7.0.tar.gz
cd js/src
make BUILD_OPT=1 -f Makefile.ref
make BUILD_OPT=1 JS_DIST=/usr/local -f Makefile.ref export
JS_INC=/usr/local/include/:`pwd` JS_LIB=/usr/local/lib64/ cpanm JavaScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment