在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中的'variables'中:
'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.
相关文章:
- Node.js错误:参数太多上传批量数据时出错
- $locationProvider html5mode导致“;无法获取“;刷新时出错-AngularJS Node应用程
- 从Node.js在Neo4j中引入大量数据时出错
- 使用 Mongoose 和 Node 将数据插入数组时出错
- Node JS - 在 Jade 中扩展布局时出错
- Reddit Api尝试通过snoocore node.js获取Reddit自文本时出错
- 在Node.js上停止ASI并使其出错的方法
- Android上的HTTP服务器通过node.js请求时出错
- 获得'DLL'尝试在Windows7上安装Node.js时出错
- 通过node-js-app连接openshift中的mysql数据库时出错
- 使用mongoDB和node.js更新文档时出错
- 使用node.js上载文件时出错
- 在Node.js REPL中执行多行时出错
- 使用node-xmpp在节点中编写Google CCS服务器时出错
- 数据表 使用 destroy() 时出错:无法在 'Node' 上执行 'insertBefore':要在其之前插入新节
- Node api请求返回数组,但在尝试使用索引时出错
- 安装Express for Node.js时出错
- 试图通过express node.js提供ejs文件时出错
- 使用node js的twitter API出错
- 任何Dropbox API调用(node.js)出错- "Error: getaddrinfo EAI_AGA