There were some breaking changes in the lexical syntax of Python (rarely a
good idea IMHO), namely octal literals. Since 2.6.1, "0o" is required as a
prefix, previously it was simply "0". You seem to be using Python 2.5.1,
which is too old for our build system. You could try hacking the relevant
part of gyp, but the more promising way to go is probably upgrading your
Python version.

On Mon, Nov 28, 2011 at 06:44, stalker37 <[email protected]> wrote:

> how to fix this error?
>
> > build/gyp/gyp --generator-output="out" build/all.gyp \
> >                       -Ibuild/standalone.gypi --depth=. -
> > Dtarget_arch=ia32 \
> >                       -S-ia32  -Dv8_can_use_vfp_instructions=true
> > Traceback (most recent call last):
> >   File "build/gyp/gyp", line 18, in <module>
> >     sys.exit(gyp.main(sys.argv[1:]))
> >   File "/usr/lib/python2.5/site-packages/gyp/__init__.py", line 463,
> > in main
> >     options.circular_check)
> >   File "/usr/lib/python2.5/site-packages/gyp/__init__.py", line 62, in
> > Load
> >     generator = __import__(generator_name, globals(), locals(),
> > generator_name)
> >   File "/usr/lib/python2.5/site-packages/gyp/generator/make.py", line
> > 2466
> >     os.chmod(mactool_path, 0o755)  # Make file executable.
> >                                ^
> > SyntaxError: invalid syntax
> > make: *** [out/Makefile-ia32] Error 1
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to