我正在尝试在CentOS 2.6.18上检查chromium的 android 版本
我正在遵循此链接中提供的官方说明
不幸的是,当我跑步时
gclient runhooks
我收到以下错误:
错误:命令 /usr/local/bin/python src/build/gyp_chromium 在 /root 中返回非零退出状态 1
这是完整的输出:
[root@centos build]# gclient runhooks
Running depot tools as root is sad.
________ running '/usr/local/bin/python src/build/download_nacl_toolchains.py --no-arm-trusted --keep' in '/root'
/root/src/native_client/toolchain/.tars/toolchain_linux_x86.tar.bz2 is already up to date.
linux_x86: already up to date.
/root/src/native_client/toolchain/.tars/naclsdk_linux_x86.tgz is already up to date.
linux_x86_newlib: already up to date.
/root/src/native_client/toolchain/.tars/naclsdk_pnacl_linux_x86.tgz is already up to date.
pnacl_linux_x86: already up to date.
/root/src/native_client/toolchain/.tars/naclsdk_pnacl_translator.tgz is already up to date.
pnacl_translator: already up to date.
________ running '/usr/local/bin/python src/build/linux/install-arm-sysroot.py --linux-only' in '/root'
________ running '/usr/local/bin/python src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=amd64' in '/root'
________ running '/usr/local/bin/python src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=i386' in '/root'
________ running '/usr/local/bin/python src/tools/clang/scripts/update.py --mac-only' in '/root'
________ running '/usr/local/bin/python src/build/win/setup_cygwin_mount.py --win-only' in '/root'
________ running '/usr/local/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '/root'
________ running '/usr/local/bin/python src/build/util/lastchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in '/root'
________ running '/usr/local/bin/python src/build/gyp_chromium' in '/root'
Updating projects from gyp files...
gyp: Call to '../build/linux/python_arch.sh /usr/lib/libpython2.6.so.1.0' returned exit status 1. while trying to load /root/src/build/all.gyp
Error: Command /usr/local/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /root
如何解决此问题以继续构建步骤?