【问题标题】:Strange error while building V8 in a Debian machine在 Debian 机器上构建 V8 时出现奇怪的错误
【发布时间】:2015-12-22 12:18:17
【问题描述】:

我正在尝试构建JavaScript V8 Engine 来探索、调试它并获得很多乐趣。

但是我什至无法编译它。我按照以下说明进行操作:

1) 安装 depot 工具:

cd ~

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

export PATH='pwd'/depot_tools:"$PATH"

2)编译V8

git clone https://github.com/v8/v8

cd v8

gclient config https://chromium.googlesource.com/v8/v8

gclient sync(我也试过fetch v8,它告诉我运行gclient sync

make ia32.debug

在最后的指令中,我得到:

make: *** No rule to make target `third_party/icu/icu.gypi', needed by `out/Makefile.ia32.debug'.  Stop.

我错过了什么?谢谢!

【问题讨论】:

    标签: javascript google-chrome makefile v8 chromium


    【解决方案1】:

    根据 wiki 中的说明,您不需要“git clone https://github.com/v8/v8”,您只需“获取 v8”,这是一个 depot_tools 工具。

    https://github.com/v8/v8/wiki/Using%20Git#how-to-start

    【讨论】:

    • (叹气),如果这样的构建平台不在网络上并且离线,如何做到这一点?
    猜你喜欢
    • 1970-01-01
    • 2023-03-07
    • 2021-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-14
    • 1970-01-01
    相关资源
    最近更新 更多