node v0.8+ compiling

To build:

Prerequisites (Unix only):

* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

如果不想升级系统make版本,可以在其他目录安装一个,再alias过去。

常用错误:
out/Release/linker.lock: No such file or directory
解决方法:
export FLOCK
export LINK=g++

2 thoughts on “node v0.8+ compiling”

  1. 我这边是另外个原因:gcc有两个版本共存,$PATH虽然变成了新版,但是CC -v还是旧版的。。设置一下CC=/path/to/gcc就好了。。。

Leave a Reply

Your email address will not be published. Required fields are marked *