Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am draxil on github.
  • I am draxil (https://keybase.io/draxil) on keybase.
  • I have a public key ASBDfB-gD9Ib0OlMEWm8Se_eFRvC3-LO89Y85rWJfcEmDwo

To claim this, I am signing this object:

@draxil
draxil / gist:b1738684f3f8bac9c230515c3d92c3b6
Last active June 15, 2016 05:25
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