Node.js on FreeBSD
Published: Leave a Comment on Node.js on FreeBSD.
by .$ sudo portmaster devel/pkg-config devel/libexecinfo devel/cmake devel/scons lang/python27 $ git clone https://github.com/joyent/node.git $ cd node/deps/v8 $ git checkout v0.4.6 $ scons os=freebsd arch=x64 (takes a while to compile v8) $ sudo cp libv8* /usr/local/lib $ cd ~/node $ ./configure \ –prefix=/usr/local \ –shared-v8 \ –shared-v8-includes=/home/mikl/node/deps/v8/include \ –shared-v8-libpath=/usr/local/lib \ –shared-v8-libname=v8 $ gmake $ sudo gmake install […]