Android-4.4.2 编译出错 OSError: [Errno 2] No such file or directory
2017-06-15 14:37
701 查看
在Ubuntu14.04下编译sama5d44 Android-4.4.2 版本时出错:
File "scripts/make_css_property_names.py", line 233, in generate_implementation
gperf = subprocess.Popen(gperf_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [out/target/product/sama5d4/obj/GYP/shared_intermediates/blink/CSSPropertyNames.cpp] 错误 1
把如下所需的系统环境都安装上:
$ sudo apt-get install gnupg
$ sudo apt-get install flex
$ sudo apt-get install bison
$ sudo apt-get install gperf
$ sudo apt-get install build-essential
$ sudo apt-get install zip
$ sudo apt-get install curl
$ sudo apt-get install libc6-dev
$ sudo apt-get install libncurses5-dev:i386
$ sudo apt-get install x11proto-core-dev
$ sudo apt-get install libx11-dev:i386
$ sudo apt-get install libreadline6-dev:i386
$ sudo apt-get install g++-multilib
$ sudo apt-get install mingw32
$ sudo apt-get install tofrodos
$ sudo apt-get install python-markdown
$ sudo apt-get install libxml2-utils
$ sudo apt-get install xsltproc
$ sudo apt-get install zlib1g-dev:i386
重新编译即可。
#EOF#
File "scripts/make_css_property_names.py", line 233, in generate_implementation
gperf = subprocess.Popen(gperf_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [out/target/product/sama5d4/obj/GYP/shared_intermediates/blink/CSSPropertyNames.cpp] 错误 1
把如下所需的系统环境都安装上:
$ sudo apt-get install gnupg
$ sudo apt-get install flex
$ sudo apt-get install bison
$ sudo apt-get install gperf
$ sudo apt-get install build-essential
$ sudo apt-get install zip
$ sudo apt-get install curl
$ sudo apt-get install libc6-dev
$ sudo apt-get install libncurses5-dev:i386
$ sudo apt-get install x11proto-core-dev
$ sudo apt-get install libx11-dev:i386
$ sudo apt-get install libreadline6-dev:i386
$ sudo apt-get install g++-multilib
$ sudo apt-get install mingw32
$ sudo apt-get install tofrodos
$ sudo apt-get install python-markdown
$ sudo apt-get install libxml2-utils
$ sudo apt-get install xsltproc
$ sudo apt-get install zlib1g-dev:i386
重新编译即可。
#EOF#
相关文章推荐
- Android-4.4.2 编译出错 OSError: [Errno 2] No such file or directory
- MTK编译差分包问题OSError: [Errno 2] No such file or directory
- Mac OS X 编译android内核 error: elf.h: No such file or directory 的解决方法
- Android 4.4 build err:OSError: [Errno 2] No such file or directory
- 使用Popen时报错:OSError: [Errno 2] No such file or directory
- git gitosis-init OSError: [Errno 2] No such file or directory
- airflow 解决安装问题 OSError: [Errno 2] No such file or directory
- QT 嵌入式编译出错:cc1: fatal error: .pch/release-shared-emb-arm/QtGui: No such file or directory 解决方案:
- 一种编译错误的解决办法。/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
- win10上用Python2.7处理文本,出错IOError: [Errno 2] No such file or directory:如何解决???
- caffe时编译出错: fatal error: caffe/proto/caffe.pb.h: No such file or directory
- win7编译apk时候报错arm-linux-androideabi-g++.exe: error: CreateProcess: No such file or directory
- cocos2d-x 移植到android中编译的一些问题:fatal error: Box2D/Box2D.h: No such file or directory"
- airflow 解决安装问题 OSError: [Errno 2] No such file or directory
- 编译出错提示 error trying to exec 'cc1': execvp: No such file or directory
- cocos2d-x 移植到android中编译的一些问题:fatal error: Box2D/Box2D.h: No such file or directory"
- ubuntu 编译是出现 error: openssl/rsa.h: No such file or directory
- Android Path路径设置,针对error opening trace file:No such file or directory
- sublime text 3+mingw编译代码时错误提示:g++:error:No Such FIle or directory(已解决)
- Cocos2dx3.0 疑难解答系列 (二) 编译android时,报 CocoStudio.h no such file or directory等类似错误