It appears that you have a package called "gyp" installed that conflicts with the one included in v8.
You could work around this by explicitly adding the path to v8/build/gyp/pylib to your PYTHONPATH best -jochen On Sun, Jan 5, 2014 at 1:55 AM, Lilli Nonah <lillino...@gmail.com> wrote: > > > thanks for the quick response > > here is the output: > > # python -c 'import gyp; print gyp.__file__' > > /usr/lib/python2.6/site-packages/gyp/__init__.pyc > > i guess that's it then, i should be using the gyp in the v8 build folder, > thanks > > On Saturday, January 4, 2014 2:39:04 PM UTC-5, Jochen Eisinger wrote: > >> I would suspect you have an old gyp version installed somewhere >> >> What is the output for >> >> python -c 'import gyp; print gyp.__file__' >> >> best >> -jochen >> >> >> On Sat, Jan 4, 2014 at 8:06 PM, Lilli Nonah <lilli...@gmail.com> wrote: >> >>> first time builder so probably something simple i've missed following >>> BuildingWithGYP <https://code.google.com/p/v8/wiki/BuildingWithGYP> >>> >>> >>> *versioning detail:* >>> >>> >>> - CentOS release 6.5 (Final) >>> - gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) >>> - python 2.6.6 (r266:84292, Nov 22 2013, 12:16:22) >>> >>> >>> *steps taken:* >>> >>> git clone git://github.com/v8/v8.git v8 && cd v8 >>> >>> make dependencies >>> >>> make native >>> >>> PYTHONPATH="/root/code/v8/v8/tools/generate_shim_headers:" \ >>> >>> GYP_GENERATORS=make \ >>> >>> build/gyp/gyp --generator-output="out" build/all.gyp \ >>> >>> -Ibuild/standalone.gypi --depth=. -S.native >>> -Dv8_enable_backtrace=1 -Darm_fpu=default -Darm_float_abi=default >>> >>> Traceback (most recent call last): >>> >>> File "build/gyp/gyp_main.py", line 18, in <module> >>> >>> sys.exit(gyp.script_main()) >>> >>> AttributeError: 'module' object has no attribute 'script_main' >>> >>> make: *** [out/Makefile.native] Error 1 >>> >>> >>> what step am i missing? >>> >>> -- >>> -- >>> v8-users mailing list >>> v8-u...@googlegroups.com >>> >>> http://groups.google.com/group/v8-users >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "v8-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to v8-users+u...@googlegroups.com. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.