Compiling mod_spdy on armv5te

45 views
Skip to first unread message

Adrian Petre

unread,
Nov 1, 2014, 10:10:27 PM11/1/14
to mod-spdy...@googlegroups.com
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

Adrian Petre

unread,
Nov 1, 2014, 10:12:56 PM11/1/14
to mod-spdy...@googlegroups.com
root@nsa310:~# python -c 'import sys; print sys.path'
['', '/ffp/lib/python27.zip', '/ffp/lib/python2.7', '/ffp/lib/python2.7/plat-linux2', '/ffp/lib/python2.7/lib-tk', '/ffp/lib/python2.7/lib-old', '/ffp/lib/python2.7/lib-dynload', '/ffp/lib/python2.7/site-packages']
root@nsa310:~# /ffp/bin/python --version
Python 2.7.5
Reply all
Reply to author
Forward
0 new messages