Python 编程 · 2012/11/19 0

卖萌的 v8 团队

今天朋友说v8 更新了, 新的 v8 安装方式变了, 无法使用老方法来编译安装v8了, 同时贴出了以下信息:

$ python setup.py build 
WARN: V8_HOME doesn't exists or point to a wrong folder, we will try to checkout and build a private build from <http://v8.googlecode.com/svn/trunk/>.
running build
INFO: we will try to use the system 'svn' command to checkout/update V8 code
At revision 12995.
INFO: scons is installed; we can at least attempt to build v8
INFO: skip to patch the Google v8 SConstruct file 
INFO: building Google v8 with SCons for ia32 platform
DEBUG: building scons liveobjectlist=off regexp=native inspector=off arch=ia32 disassembler=off objectprint=off fasttls=on protectheap=off debuggersupport=on snapshot=on mode=release vmstate=on profilingsupport=on
scons: Reading SConscript files ...
Building V8 with SCons is no longer supported. Please use GYP instead; you can find instructions are at http://code.google.com/p/v8/wiki/BuildingWithGYP.

Quitting.

For a limited grace period, you can specify "I_know_I_should_build_with_GYP=yes" to override.
WARN: fail to build Google v8 code from SVN, error code: 1
running build_py
running build_ext

仔细看看这个代码, 真实萌的出翔啊.
首先:

WARN: V8_HOME doesn't exists or point to a wrong folder, we will try to checkout and build a private build from <http://v8.googlecode.com/svn/trunk/>.
running build
INFO: we will try to use the system 'svn' command to checkout/update V8 code

大意就是, 没有设置 V8_HOME 变量, 我们就从svn库签出来安装 v8 了.

然后:

scons is installed; we can at least attempt to build v8

svn签出结束,就说你这里 scons 已经安装过了, 我们可以尝试搞搞看来编译一下 v8 了.

紧接着:

Building V8 with SCons is no longer supported. Please use GYP instead; you can find instructions are at http://code.google.com/p/v8/wiki/BuildingWithGYP.

Quitting.

他丫的又告诉你, 哎呀, 我们现在不用 SCons 编译v8了, 你还是用用 GYP 吧, 来参考下 http://code.google.com/p/v8/wiki/BuildingWithGYP 这个网站吧..

丫, V8 团队你们不带这么卖萌的啊…