Created
February 25, 2013 18:39
-
-
Save coneybeare/5032146 to your computer and use it in GitHub Desktop.
Revisions
-
coneybeare created this gist
Feb 25, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ root@ip-10-191-191-214:~# /usr/bin/gem install mysql -q --no-rdoc --no-ri -v "2.7" -- --build-flags --with-mysql-config Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /root/.rbenv/versions/1.9.3-p385/bin/ruby extconf.rb --build-flags --with-mysql-config checking for mysql_ssl_set()... yes checking for mysql.h... yes extconf.rb:35: Use RbConfig instead of obsolete and deprecated Config. creating Makefile make compiling mysql.c mysql.c:6:21: fatal error: version.h: No such file or directory compilation terminated. make: *** [mysql.o] Error 1 Gem files will remain installed in /root/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/mysql-2.7 for inspection. Results logged to /root/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/mysql-2.7/./gem_make.out