Skip to content

Instantly share code, notes, and snippets.

@mrebola
Created November 26, 2012 20:15
Show Gist options
  • Save mrebola/4150342 to your computer and use it in GitHub Desktop.
Save mrebola/4150342 to your computer and use it in GitHub Desktop.
mysql error
cesar@cesar-UX31E:~$ cd rails/
cesar@cesar-UX31E:~/rails$ cd doolebrate/
Using /home/cesar/.rvm/gems/ruby-1.8.7-p371 with gemset doolebrate
cesar@cesar-UX31E:~/rails/doolebrate$ bundle install --without production
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from http://gems.github.com/.
Fetching full source index from http://gems.github.com/
Fetching source index from https://rubygems.org/
Using rake (0.9.2.2)
Using aaronh-chronic (0.3.9)
Using abstract (1.0.0)
Using activesupport (2.3.14)
Using rack (1.1.3)
Using actionpack (2.3.14)
Using actionmailer (2.3.14)
Using activerecord (2.3.14)
Using activeresource (2.3.14)
Using addressable (2.3.2)
Using builder (3.0.0)
Using mime-types (1.19)
Using xml-simple (1.1.1)
Using aws-s3 (0.6.2)
Using culerity (0.2.15)
Using nokogiri (1.5.5)
Using rack-test (0.6.1)
Using ffi (1.1.5)
Using childprocess (0.3.5)
Using libwebsocket (0.1.5)
Using multi_json (1.3.6)
Using rubyzip (0.9.9)
Using selenium-webdriver (2.25.0)
Using capybara (0.3.7)
Using columnize (0.3.6)
Using dalli (1.0.5)
Using erubis (2.6.6)
Using factory_girl (1.3.3)
Using gdata4ruby (0.1.5)
Using gcal4ruby (0.5.5)
Using rb-fchange (0.0.5)
Using rb-fsevent (0.9.1)
Using rb-inotify (0.8.8)
Using listen (0.4.7)
Using thor (0.16.0)
Using guard (1.3.2)
Using guard-rspec (1.2.1)
Using spork (0.8.5)
Using guard-spork (1.1.0)
Using icalendar (1.1.5)
Using json (1.7.5)
Using justinfrench-formtastic (0.2.4)
Using rbx-require-relative (0.0.9)
Using linecache (0.46)
Using mbleigh-subdomain-fu (0.5.3)
Installing mysql (2.8.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/cesar/.rvm/rubies/ruby-1.8.7-p371/bin/ruby 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/cesar/.rvm/rubies/ruby-1.8.7-p371/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 /home/cesar/.rvm/gems/ruby-1.8.7-p371@doolebrate/gems/mysql-2.8.1 for inspection.
Results logged to /home/cesar/.rvm/gems/ruby-1.8.7-p371@doolebrate/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
An error occurred while installing mysql (2.8.1), and Bundler cannot continue.
Make sure that `gem install mysql -v '2.8.1'` succeeds before bundling.
cesar@cesar-UX31E:~/rails/doolebrate$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment