跳到主要内容
CNode

centos安装node的老问题了

社区
Rromboo发布于 14 年前最后回复 14 年前
248160

到./configure时不能过,如下错误:

{ 'target_defaults': { 'cflags': [], 'default_configuration': 'Release', 'defines': [], 'include_dirs': [], 'libraries': []}, 'variables': { 'host_arch': 'x64', 'node_install_npm': 'true', 'node_install_waf': 'true', 'node_prefix': '', 'node_shared_openssl': 'false', 'node_shared_v8': 'false', 'node_shared_zlib': 'false', 'node_use_dtrace': 'false', 'node_use_etw': 'false', 'node_use_openssl': 'true', 'target_arch': 'x64', 'v8_no_strict_aliasing': 1, 'v8_use_snapshot': 'true'}} creating ./config.gypi creating ./config.mk

python已经升到2.66 make和gcc等已经安装 yum已经更新到最新版本 怎么解决,各位大神

查看回复

回复 (2)

F
fengmk2#214 年前

python直接出来的版本是多少?

加个环境变量吧:

$ PYTHON=`which python2.6` ./configure
L
leizongmin#114 年前

这个不是错误吧?!连个 warn, error 都没见到

直接执行 make && make install 试试?

参与回复

登录后即可参与回复。登录