CChenX / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

v8 not complile with py3k. #334

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
v8 not complile with py3k 
http://code.google.com/p/v8/issues/detail?id=2633&can=1&sort=-id&colspec=ID%20Ty
pe%20Status%20Priority%20Owner%20Summary%20HW%20OS%20Area%20Stars

answer was "go to gyp": build/gyp is a checkout of the GYP project, it is not 
part of V8. I suggest you file a bug against GYP.

problem not solved yet: 
http://code.google.com/p/gyp/issues/detail?id=36#makechanges afrer 4 years

Task: need porting v8 from obsolete python2 to new version python3.

./2to3 partitallly help, but python2 package compiler, used in v8, removed from 
python3, and automatical porting fails:

build/gyp_v8 --depth=. -Dcomponent=shared_library -Dsoname_version=3.17.16.2 
-Dv8_target_arch=x64 -Dconsole=readline -Dwerror=
Traceback (most recent call last):
  File "build/gyp_v8", line 50, in <module>
    import gyp
  File "./build/gyp/pylib/gyp/__init__.py", line 8, in <module>
    import gyp.input
  File "./build/gyp/pylib/gyp/input.py", line 5, in <module>
    from compiler.ast import Const
ImportError: No module named 'compiler'

Original issue reported on code.google.com by perestor...@gmail.com on 18 Apr 2013 at 3:46