Failed to build gem native extension
来源:互联网 发布:python xpath 编辑:程序博客网 时间:2024/05/22 13:59
Building native extensions. This could take a while...ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension.ruby extconf.rb install mysqlchecking for mysql_query() in -lmysqlclient... nochecking for main() in -lm... yeschecking for mysql_query() in -lmysqlclient... nochecking for main() in -lz... yeschecking for mysql_query() in -lmysqlclient... nochecking for main() in -lsocket... nochecking for mysql_query() in -lmysqlclient... nochecking for main() in -lnsl... yeschecking for mysql_query() in -lmysqlclient... no*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack ofnecessary libraries and/or headers. Check the mkmf.log file for moredetails. You may need configuration options.Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/bin/ruby --with-mysql-config --without-mysql-config --with-mysql-dir --without-mysql-dir --with-mysql-include --without-mysql-include=${mysql-dir}/include --with-mysql-lib --without-mysql-lib=${mysql-dir}/lib --with-mysqlclientlib --without-mysqlclientlib --with-mlib --without-mlib --with-mysqlclientlib --without-mysqlclientlib --with-zlib --without-zlib --with-mysqlclientlib --without-mysqlclientlib --with-socketlib --without-socketlib --with-mysqlclientlib --without-mysqlclientlib --with-nsllib --without-nsllib --with-mysqlclientlib --without-mysqlclientlibGem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.Results logged to /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
解决:
apt-get install libmysqld-dev
- Failed to build gem native extension
- Failed to build gem native extension
- ERROR: Failed to build gem native extension.
- Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
- 安装mongrel:ERROR: Failed to build gem native extension
- 安装jekyll出错 Failed to build gem native extension.
- 解决failed to build gem native extension on windows 7
- Installing the PostgreSQL gem with 'gem pq' fails with ERROR: Failed to build gem native extension
- gem install mysql2 在windows错误(Failed to build gem native extension)解决方法
- 【Rails】用gem安装MySQL组件出现Failed to build gem native extension错误的解决办法
- Windows下执行gem install 时ERROR: Failed to build gem native extension的解决办法.
- 【FAQ】Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension?
- gem安装ruby包无法建立本地环境(failed to build gem native extension)
- 用gem install jekyll命令安装jekyll错误 ERROR: Failed to build gem native extension
- ERROR: Error installing json:ERROR: Failed to build gem native extension.解决
- redhat bundle时Error installing mysql2: Failed to build gem native extension
- 安装gollum提示Failed to build gem native extension的解决
- ERROR: Error installing rails: ERROR: Failed to build gem native extension.
- 从源码理解spring事务(1)
- ping广播地址个系统的反应
- Style.xml源码
- 黑马程序员_运算符及进位转换
- 《第五周实验报告1-3》---增加构造函数,使对象在定义时能够进行初始化
- Failed to build gem native extension
- nutch1.2 eclipse tomcat6.0 配置
- 赚钱不能莫良心,苍天有眼都在看 -----至张玮
- 祝贺自己加入csdn大家庭:D
- C# 读写XML文件
- jquery基础
- xmlns
- 《第五周实验报告2-1》---设计一个简单的分数类,完成对分数的几个运算
- javascript事件列表大全解说,点击事件,双击事件,触发事件,键盘事件,鼠标移动事件,javaScript事件使用小全