install need software and libs:
sudo apt-get install git-core gnupg flex bison gperfbuild-essential \
sudo apt-get install libx11-dev:i386
sudo apt-get
make[1]: lzma: Command not found
sudo apt-get
/home/yaolu/working_directory_1/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] 错误 1
make: *** 正在等待未完成的任务....
/home/yaolu/working_directory_1/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] 错误 1
$sudo apt-get install lib32ncurses5 ia32-libs
reference: http://blog.sina.com.cn/s/blog_5da93c8f0101imvn.html
http://snailszzy.blog.163.com/blog/static/9439909320145101939654/
Error:
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [out/target/product/generic/obj/GYP/shared_intermediates/blink/CSSValueKeywords.cpp] 错误 1
解决方法:把如下所需的系统环境都安装上重新编译即可:
git
gnupg
flex
bison
gperf
build-essential
zip
curl
libc6-dev
libncurses5-dev:i386
x11proto-core-dev
libx11-dev:i386
libreadline6-dev:i386
g++-multilib
mingw32
tofrodos
python-markdown
libxml2-utils
xsltproc
zlib1g-dev:i386
如安装git,如下,其他也是一样,一个个安装即可。
sudo apt-get install git