I am following these instructions to attempt to build V8 on Mac Lion: http://code.google.com/apis/v8/build.html
I get this error:
$ scons sample=shell mode=release snapshot=on
scons: Reading SConscript files ...
OSError: [Errno 2] No such file or directory:
File "/Users/pottmi/Tools/v8/v8-read-only/SConstruct", line 1569:
Build()
File "/Users/pottmi/Tools/v8/v8-read-only/SConstruct", line 1517:
opts = GetOptions()
File "/Users/pottmi/Tools/v8/v8-read-only/SConstruct", line 1153:
AddOptions(SIMPLE_OPTIONS, result)
File "/Users/pottmi/Tools/v8/v8-read-only/SConstruct", line 1137:
default = guess(guess_env)
File "/Users/pottmi/Tools/v8/v8-read-only/SConstruct", line 959:
stdout=subprocess.PIPE).communicate()[0]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672:
None
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202:
None
Here are the versions of the software that I have installed:
svn, version 1.6.17 (r1128011)
Python 2.7.1
SCons by Steven Knight et al.:
script: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on ubuntu
engine: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on ubuntu
engine path: ['/usr/local/lib/scons-2.1.0/SCons']
The /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ path exists, but there is no subprocess.py file.
I believe the recommended way to build v8 is with gyp. Please see http://code.google.com/p/v8/wiki/BuildingWithGYP for information on building it that way.