Skip to content

Instantly share code, notes, and snippets.

@draxil
Last active June 15, 2016 05:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save draxil/b1738684f3f8bac9c230515c3d92c3b6 to your computer and use it in GitHub Desktop.
Save draxil/b1738684f3f8bac9c230515c3d92c3b6 to your computer and use it in GitHub Desktop.
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