configure:error: Package requirements (libffi >= 3.0.0) were not met
2013-11-27 18:43
417 查看
安装glib包,在编译的时候出现错误:
configure: error: Package requirements (libffi >= 3.0.0) were not met:
No package 'libffi' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
原因:很多原因就是缺少开发包,例如这里的环境变量的定义
解决:
# yum install libffi-devel -y
configure: error: Package requirements (libffi >= 3.0.0) were not met:
No package 'libffi' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
原因:很多原因就是缺少开发包,例如这里的环境变量的定义
解决:
# yum install libffi-devel -y
相关文章推荐
- configure: error: Package requirements (glib-2.0 >= 2.10.1 gmodule-2.0 gthread-2.0) were not met:
- configure: error: Package requirements (pthread-stubs) were not met
- 安装ZeroMQ时候,会出现configure: error: Package requirements (libsodium) were not met,解决办法如下
- configure: error: Package requirements (pthread-stubs) were not met
- configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
- (glproto >= 1.4.9 gl >= 7.1.0) were not met
- redis搭建集群ERROR: Could not find a valid gem 'redis-3.0.0' (>= 0) in any repository
- [Error]configure: error: Package requirements (fuse >= 2.3 glib-2.0 gthread-2.0) were not met:
- ubuntu下安装nojs error could not configure a cxx compiler configure
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- php编译报错 configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/
- <ERROR>JpaDialect does not support savepoints - check your JPA provider's capabilities
- 2008-05-08 XMMS解决configure: error: *** GLIB >= 1.2.2 not installed
- ubuntu 下编译phpphp-5.6.17出错“configure: error: mcrypt.h not found.”
- 解决和说明> eth.getCompilers() Error: The method eth_getCompilers does not exist/is not available
- Error: ErrorCode<ERRPS008>:SubStatus<ES0001>:Error: Could not read installation path from registry.
- Apache安装问题:configure: error: APR not found . Please read the documentation
- #error WINDOWS.H already included. MFC apps must not #include <windows.h>
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 转 Centos下安装apahce的configure: error: APR not found. Please read the documentation解决办法