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 ...
偏微分方程的Matlab解法,方便你使用MATLAB来解决偏微分问题!-Solution of Partial Differential Equations Matlab for you to use MATLAB to solve the partial differential problem!
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 ...
Here we demonstrate that systematic machine learning of the wave function can reduce this complexity to a tractable computational form, for some notable cases of physical interest. We introduce a ...
华中科技大学数据结构课程设计2018 An algorithm to solve SAT problem
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
最短路问题The Shortest Path ProblemThe Shortest Path ProblemThe Shortest Path ProblemThe Shortest Path ProblemThe Shortest Path Problem
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.
用超对称量子力学方法求解广义椭球函数的递推关系,王会会,田贵花,本论文主要研究广义椭球函数的递推关系,本文通过超对称量子力学方法解广义椭球函数。我们通过用势的形不变性质,获得参数 相同�
The number of models available in neural network literature is ...book to solve a financial forecasting problem. You will find ample room to expand and experiment with the code presented in this book.
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 ...
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....
Different metaheuristic strategies to solve the feature selectio