I have:
Linux nsa310 2.6.31.8 #2 Fri Aug 2 11:21:44 CST 2013 armv5tel GNU/Linux
and I do this:
[code]cd ~/compile
export PATH=$PATH:/ffp/home/root/compile/depot_tools/
rm -r ~/compile/mod_spdy
cd ~/compile && mkdir mod_spdy
cd ~/compile/mod_spdy
find . -type f -name "DEPS" -exec sed -i s/"https"/"http"/ {} \;
gclient sync --force
#ERROR1:
KeyError: 'Undefined variable deb_arch in /usr/local/zy-pkgs/ffproot/ffp/home/root/compile/mod_spdy/src/build/install.gyp while loading dependencies
#SOLUTION1:
modify /ffp/home/root/compile/mod_spdy/src/build/install.gyp:
'conditions': [ -> existing line
['target_arch=="ia32"', { -> existing line
'deb_arch': 'i386', -> existing line
'rpm_arch': 'i386', -> existing line
}], -> existing line
['target_arch=="arm"', {
'deb_arch': 'arm',
'rpm_arch': 'arm',
}],
#In order to solve the error (see compiling pagespeed thread):
#fatal error: execinfo.h: No such file or directory
#then only after also occuring ERROR1 apply this (modify chromium_revision):
sed -i s/"146826"/"262880"/ ~/compile/mod_spdy/src/DEPS
gclient sync --force
[/code]
After this I get:
[code]Syncing projects: 100% (25/25), done.
________ running '/ffp/bin/python src/build/gyp_chromium' in '/usr/local/zy-pkgs/ffproot/ffp/home/root/compile/mod_spdy'
Traceback (most recent call last):
File "src/build/gyp_chromium", line 24, in <module>
execfile(os.path.join(chrome_src, 'build', 'gyp_chromium'))
File "src/third_party/chromium/src/build/gyp_chromium", line 11, in <module>
import gyp_helper
ImportError: No module named gyp_helper
Error: Command /ffp/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /usr/local/zy-pkgs/ffproot/ffp/home/root/compile/mod_spdy
[/code]
and I can't figure what to do. Any idea ?
root@nsa310:~/compile/mod_spdy# find . -name *gyp_helper*
./src/third_party/chromium/src/build/gyp_helper.py