Skip to content

Instantly share code, notes, and snippets.

@fivetwentysix
Created November 25, 2010 06:50
Show Gist options
  • Save fivetwentysix/715012 to your computer and use it in GitHub Desktop.
Save fivetwentysix/715012 to your computer and use it in GitHub Desktop.
Installing mysql (2.8.1) with native extensions /Users/user/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/user/.rvm/rubies/ree-1.8.7-2010.02/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... no
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=/Users/user/.rvm/rubies/ree-1.8.7-2010.02/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 /Users/user/.rvm/gems/ree-1.8.7-2010.02/gems/mysql-2.8.1 for inspection.
Results logged to /Users/user/.rvm/gems/ree-1.8.7-2010.02/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
from /Users/user/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/installer.rb:446:in `each'
from /Users/user/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/installer.rb:446:in `build_extensions'
from /Users/user/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/installer.rb:198:in `install'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/source.rb:95:in `install'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/installer.rb:55:in `run'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/installer.rb:44:in `run'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/installer.rb:8:in `install'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/cli.rb:225:in `install'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/vendor/thor/task.rb:22:in `send'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/lib/bundler/vendor/thor/base.rb:389:in `start'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/gems/bundler-1.0.7/bin/bundle:13
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/bin/bundle:19:in `load'
from /Users/user/.rvm/gems/ree-1.8.7-2010.02@global/bin/bundle:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment