繁体   English   中英

GYP错误在pcduino上安装Node

[英]GYP Error installing Node on pcduino

我在pcDuino v2(运行Linaro 12.07)上安装NodeJS,在./configure步骤中,出现以下错误:

gyp:name 'arm_version' is not defined while evaluating condition 'arm_version==7' in /home/ubuntu/node/deps/v8/tools/gyp/v8.gyp while loading dependencies of /home/ubuntu/node/node.gyp while trying to load /home/ubuntu/node/node.gyp Error running GYP

我已经在我发现的教程中安装了所有告诉我要安装的依赖项,那么我还缺少什么?

将以下内容添加到common.gypi中的“变量”中:

'arm_version%' : '1',因此如下所示:

{
  'variables': {
  'werror': '',                    # Turn off -Werror in V8 build.
  'visibility%': 'hidden',         # V8's visibility setting
  'target_arch%': 'ia32',          # set v8's target architecture
  'host_arch%': 'ia32',            # set v8's host architecture
  'want_separate_host_toolset': 0, # V8 should not build target and host
  'library%': 'static_library',    # allow override to 'shared_library' for D$
  'component%': 'static_library',  # NB. these names match with what V8 expec$
  'msvs_multi_core_compile': '0',  # we do enable multicore compiles, but not$
  'gcc_version%': 'unknown',
  'clang%': 0,
  'python%': 'python',
  'arm_version%' : '1',

# Enable V8's post-mortem debugging only on unix flavors.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM