语法错误@@

2024-04-29 17:20:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前正在尝试为ARMv7l编译nodejs,因此我遵循了以下教程: http://fastr.github.io/articles/cross-compiling-node.js-for-arm.html

但是当我做的时候./configure --without-ssl 我有个错误:

/src/node-v0.1.104/deps/libev/wscript: error: Traceback (most recent call last):
  File "/src/node-v0.1.104/tools/wafadmin/Utils.py", line 274, in load_module
    exec(compile(code, file_path, 'exec'), module.__dict__)
  File "/src/node-v0.1.104/deps/libev/wscript", line 3
    @@ -41,6 +41,7 @@ def configure(conf):
     ^
SyntaxError: invalid syntax

Tags: depssrcnodehttpconfigurelinenodejs教程