Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. current directory: /home/fz/.rvm/gems/ruby-2.3.0/gems/mysql-2.9.1/ext/mysql_api /home/fz/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160603-21721-69utdl.rb extconf.rb checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lnsl... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lmygcc... no checking for mysql_query() in -lmysqlclient... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. 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=/home/fz/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME) --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-mysqlclientlib --with-mygcclib --without-mygcclib --with-mysqlclientlib --without-mysqlclientlib To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/fz/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/mysql-2.9.1/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/fz/.rvm/gems/ruby-2.3.0/gems/mysql-2.9.1 for inspection. Results logged to /home/fz/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/mysql-2.9.1/gem_make.out
出现这个错误,是因为少安装了一个lib, 执行
sudo apt-get install libmysqlclient-dev
相关推荐
kernel-3.10.0-1160.11.1.el7.x86_64.rpm
linux下的nginx--rpm安装包
在使用`types_six`时,开发者可以期待类似的功能,但可能具有更好的类型提示支持,这对于使用Type Checking工具(如MyPy)的项目尤其有用。类型注解可以提升代码的可读性和可维护性,同时在编译阶段就能发现潜在的...
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
离线安装包,亲测可用
Python库 `mypy_boto3_quicksight-1.17.11.0-py3-none-any.whl` 是一个专门为 Python 开发者设计的工具,它与Boto3库相结合,提供了类型检查(type checking)功能,用于增强Boto3在QuickSight上的使用体验。...
checking for tgetent()… configure: error: NOT FOUND! You need to install a terminal library; for example ncurses. Or specify the name of the library with –with-tlib. [点击下载ncurses]...
**PyPI 官网下载 | biobb_structure_checking-3.7.0.tar.gz** PyPI(Python Package Index)是Python编程语言的官方软件仓库,它提供了大量的第三方库供开发者下载和使用。"biobb_structure_checking-3.7.0.tar.gz...
checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH ------------------------ linux 中,安装,提示缺少其他...
## rpm安装gcc ```bash rpm -Uvh *.rpm --nodeps --force ``` ### 验证 ```bash gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper ...
6. **Type Checking with Mypy**: Mypy是Python的一个静态类型检查工具,它可以检查类型注解,帮助开发者在运行代码之前发现类型错误。结合Boto3库使用,mypy可以增加代码的可读性和可靠性。 7. **Python库的版本...
资源分类:Python库 所属语言:Python 资源全名:biobb_structure_checking-3.9.2-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
5. **JEP 282: Compile-Time Nullness Checking for Standard Libraries**:这是一个开发工具,它增强了Java的编译器,以便在标准库中进行空指针检查,有助于减少运行时错误。 6. **JEP 296: incubator modules: ...
`mypy_boto3_appconfig` 是一个专门为Python开发的库,它扩展了`boto3`库的功能,提供了类型检查(Type Checking)支持,以增强对AWS AppConfig服务的交互。AWS AppConfig是一项AWS服务,用于安全、有序地部署和管理...
- ADD Added editing form for TBackgroundOptionsProp property in the FlexEdit/FlexEditSE projects. Version 1.6 ----------- - ADD Import/Export modules support (new unit FlexFileFormats) - FIX HPen ...
`mypy_boto3_honeycode`是一个专门为Python设计的库,它与Amazon Honeycode服务进行交互,允许开发者利用类型检查(Type Checking)功能进行更高效、更安全的编程。 首先,`mypy`是一个静态类型检查器,它可以在...
nginx官方不再更新centos6版,此rpm包构建于最新主线1.25.1
OpenResty的目标是让你的Web服务直接跑在 Nginx 服务内部,充分利用 Nginx 的非阻塞 I/O 模型,不仅仅对 HTTP 客户端请求,甚至于对远程后端诸如 MySQL、PostgreSQL、Memcached 以及 Redis 等都进行一致的高性能响应...
首先,mmseg4j是由李智勇开发的一个基于Java的中文分词工具,它的全称是“Minimum Match Segmentation for Java”。mmseg4j采用了最小匹配算法,能有效地进行中文词汇的切分,具有较高的分词准确率。该库的特点包括...