ibmruntimes / v8ppc

Port of Google V8 javascript engine to PowerPC®
Other
94 stars 19 forks source link

SyntaxError at make -j8 ppc #113

Closed romario89 closed 10 years ago

romario89 commented 10 years ago

I have successfully done the make dependencies but at make -j8 ppc I got this error: My system: Mac OS X 10.5.8 PPC. No package/ports manager such as TigerBrew, MacPorts are installed SCons being an exception. python --version: 2.5.1

PYTHONPATH="/Users/macmini/Downloads/v8ppc-master/tools/generate_shim_headers:" \
GYP_GENERATORS=make \
 build/gyp/gyp --generator-output="out" build/all.gyp \
              -Ibuild/standalone.gypi --depth=. \
              -Dv8_target_arch=ppc \
              -S.ppc  -Dv8_enable_backtrace=1 -Darm_fpu=default -      Darm_float_abi=default
Traceback (most recent call last):
File "build/gyp/gyp_main.py", line 15, in <module>
import gyp

File "build/gyp/pylib/gyp/init.py", line 8, in import gyp.input File "build/gyp/pylib/gyp/input.py", line 856 except ImportError as e: ^ SyntaxError: invalid syntax make: *\ [out/Makefile.ppc] Error 1

romario89 commented 10 years ago

It was because of my Python version.

I upgraded the Python to version 2.7.6 and it's ok now.