ChrisPei / gyp

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

Build Google v8 on CentOS fails #274

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build Google v8 on CentOS
2. the v8 build gets gyp from svn
3. build fails

What is the expected output? What do you see instead?
I expect v8 to compile

What version of the product are you using? On what operating system?
Latest from svn, chrome v8 downloads gyp as part of the build process running 
on RedHat (CentOS release 5.6 (Final))

Please provide any additional information below.
I raised a bug report with v8 and they passed the buck.

Updates:
       Status: Invalid

Comment #1 on issue 2183 by jkummerow@chromium.org: Build fails on RedHat 
(CentOS release 5.6 (Final))
http://code.google.com/p/v8/issues/detail?id=2183

Everything in build/gyp is a part of GYP, not V8. Apparently, GYP uses the 
"with" keyword, which is disallowed by default in Python 2.5 [1] which is 
contained in CentOS 5.x.

Please file a bug against GYP (gyp.googlecode.com), or upgrade to [a distro 
that ships] a newer Python version (2.6+).

[1] http://docs.python.org/reference/compound_stmts.html#the-with-statement

Upgrading operating system is not an option for me.

Original issue reported on code.google.com by teknop...@gmail.com on 19 Jun 2012 at 8:07

GoogleCodeExporter commented 9 years ago
Here  is a fix for upgrading Python without upgrading the OS in such a way that 
gyp works for building google v8.

http://portawiki.abnoctus.com/view/binjs/HowToBuildV8OnCentOS5.html

Still be good to get a fix since EL5.5 is only a 2.5 years old, its hardly 
legacy code.

Original comment by teknop...@gmail.com on 25 Jun 2012 at 1:12