chaye:/home/nodejs/node-v0.10.4 # ./configure --prefix=/usr/local/node
<pre>{ ‘target_defaults’: { ‘cflags’: [], ‘default_configuration’: ‘Release’, ‘defines’: [], ‘include_dirs’: [], ‘libraries’: []}, ‘variables’: { ‘clang’: 0, ‘gcc_version’: 41, ‘host_arch’: ‘ia32’, ‘node_install_npm’: ‘true’, ‘node_prefix’: ‘/usr/local/node’, ‘node_shared_cares’: ‘false’, ‘node_shared_http_parser’: ‘false’, ‘node_shared_libuv’: ‘false’, ‘node_shared_openssl’: ‘false’, ‘node_shared_v8’: ‘false’, ‘node_shared_zlib’: ‘false’, ‘node_tag’: ‘’, ‘node_unsafe_optimizations’: 0, ‘node_use_dtrace’: ‘false’, ‘node_use_etw’: ‘false’, ‘node_use_openssl’: ‘true’, ‘node_use_perfctr’: ‘false’, ‘node_use_systemtap’: ‘false’, ‘python’: ‘/usr/local/bin/python’, ‘target_arch’: ‘ia32’, ‘v8_enable_gdbjit’: 0, ‘v8_no_strict_aliasing’: 1, ‘v8_use_snapshot’: ‘true’}} creating ./config.gypi creating ./config.mk ` chaye:/home/nodejs/node-v0.10.4 # make
make -C out BUILDTYPE=Release V=1 make[1]: Entering directory
/home/nodejs/node-v0.10.4/out’
make[1]: *** No rule to make target /home/nodejs/node-v0.10.4/out/Release/obj.target/v8_base/gen/debug-support.o', needed by
/home/nodejs/node-v0.10.4/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a’. Stop.
make[1]: Leaving directory `/home/nodejs/node-v0.10.4/out’
make: *** [node] Error 2</pre>
chaye:/home/nodejs/node-v0.10.4 #
No rule to make target 是怎么回事?,请帮忙看下 谢谢
chaye:/home/nodejs/node-v0.10.4 # python -V 2>&1 | awk '{print $2}' 2.7.3
@jsczjt2013 推荐使用nvm~~
这个问题解决了吗,也遇到了?
参考这个文章:
准备Nodejs开发环境Ubuntu http://blog.fens.me/nodejs-enviroment/
我也遇到这个问题了,不知道怎么解决?
用 nvm 简单
用 nvm