solve the problem about can not find mysqlclient :
the tips:
----------------------------------------------------------------------------------------------------------------------
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb
extconf.rb:12: warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 042777
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=/usr/local/rvm/rubies/ruby-1.9.3-p547/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-mysqlclientlib
--with-mygcclib
--without-mygcclib
--with-mysqlclientlib
--without-mysqlclientlib
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p547/gems/mysql-2.9.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p547/gems/mysql-2.9.1/ext/mysql_api/gem_make.out
----------------------------------------------------------------------------------------------------------------------
you can do that:
sudo gem uninstall mysql
sudo apt-get install libmysqlclient-dev -y
sudo gem install mysql
相关推荐
grDecOrd - solve the problem about decomposition of the digraph to the sections with mutually accessed vertexes (strongly connected components); grDistances - find the distances between any vertexes ...
3.Use a single-subscripted array to solve the following problem. Read in 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, print it only if it is not a duplicate of ...
A Guide to Toubleshooting Windows XPWhen Windows ... Windows troubleshooting is the set of tools and techniques that can identify the source of a problem and find a solution. ,解压密码 share.weimo.info
In this best-selling classic, George Polya revealed how the mathematical method of demonstrating a proof or finding an unknown can be of help in attacking any problem that can be "reasoned" out - ...
solve the value of the PI
Solve the following recurrence relation by repeated substitution T(n) = 2T(n/2) + n^3, T(1) = 1
在MATLAB中,偏微分方程(PDEs)的解决方案是一个强大的工具,尤其对于研究物理、工程、化学和许多其他科学领域的复杂系统。MATLAB提供了多种方法来处理不同类型的偏微分方程,包括有限差分法、有限元法、边界元法等...
标题中的“solve of the probability generation problem”提示我们这是一份关于概率生成问题解决方案的资料,而标签“matlab”表明了解决这个问题可能涉及到MATLAB这一强大的数学计算软件。结合描述中的“学习资料...
Practice 1 Date: Monday, March 18th, 2013 ... Solve the problem using back-tracking algorithm and try to draw the tree generated. Solve the 8-Queen problem using back-tracking algorithm.
Develop an algorithm to solve the problem; Perform the algorithm on the data characterizing the problem; Validate the solution. to the computer use for problem solving in any domain, including ...
在计算机科学和图论领域,最短路径问题(The Shortest Path Problem)是研究如何找到两个节点间路径长度最短的问题。这个问题不仅理论意义重大,在实际应用中也非常广泛,如网络路由、物流配送、城市规划等场景都有...
employs a modular approach to solve the problem of detecting abandoned and removed objects in a video stream in real time. The system breaks down this difficult task into a series of simpler sub-tasks...
This report, nearly two years later, documents in detail the extent of ... (2) the new technologies that can help solve the problem going forward; and (3) recommended solutions to the impending crisis.
SSIS Problem and Solve
It's time to build a wheel to solve the problem. ActSwitchAnimTool can compat the version of Android 4.0 or above. And it's convenient to use. Demo: Installation Step 1. Add it in your root build....
the flat control plane structure can not solve the super-linear computational complexity growth of the control plane when SDN network scales to large size; the centralized abstracted hierarchical ...
Look up the problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved! ASP.NET Core Recipes is a practical guide for developers creating modern ...