Guest User

Mysql fail

a guest
Apr 11th, 2012
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.72 KB | None | 0 0
  1. bundle install
  2. Fetching gem metadata from http://rubygems.org/.......
  3. Using rake (0.9.2)
  4. Using multi_json (1.0.3)
  5. Using activesupport (3.1.0)
  6. Using bcrypt-ruby (3.0.1)
  7. Using builder (3.0.0)
  8. Using i18n (0.6.0)
  9. Using activemodel (3.1.0)
  10. Using erubis (2.7.0)
  11. Using rack (1.3.2)
  12. Using rack-cache (1.0.3)
  13. Using rack-mount (0.8.3)
  14. Using rack-test (0.6.1)
  15. Using hike (1.2.1)
  16. Using tilt (1.3.3)
  17. Using sprockets (2.0.0)
  18. Using actionpack (3.1.0)
  19. Using mime-types (1.16)
  20. Using polyglot (0.3.2)
  21. Using treetop (1.4.10)
  22. Using mail (2.3.0)
  23. Using actionmailer (3.1.0)
  24. Using arel (2.2.1)
  25. Using tzinfo (0.3.29)
  26. Using activerecord (3.1.0)
  27. Using activeresource (3.1.0)
  28. Using ansi (1.3.0)
  29. Using coffee-script-source (1.1.2)
  30. Using execjs (1.2.5)
  31. Using coffee-script (2.2.0)
  32. Using rack-ssl (1.3.2)
  33. Using rdoc (3.9.4)
  34. Using thor (0.14.6)
  35. Using railties (3.1.0)
  36. Using coffee-rails (3.1.0)
  37. Using jquery-rails (1.0.14)
  38. Using libv8 (3.3.10.2)
  39. Installing mysql2 (0.3.7) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
  40. /home/amer/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/site_ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
  41.  
  42.        /home/amer/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
  43. checking for rb_thread_blocking_region()... yes
  44. checking for mysql_query() in -lmysqlclient... no
  45. checking for main() in -lm... yes
  46. checking for mysql_query() in -lmysqlclient... no
  47. checking for main() in -lz... yes
  48. checking for mysql_query() in -lmysqlclient... no
  49. checking for main() in -lsocket... no
  50. checking for mysql_query() in -lmysqlclient... no
  51. checking for main() in -lnsl... yes
  52. checking for mysql_query() in -lmysqlclient... no
  53. checking for main() in -lmygcc... no
  54. checking for mysql_query() in -lmysqlclient... no
  55. *** extconf.rb failed ***
  56. Could not create Makefile due to some reason, probably lack of
  57. necessary libraries and/or headers.  Check the mkmf.log file for more
  58. details.  You may need configuration options.
  59.  
  60. Provided configuration options:
  61.     --with-opt-dir
  62.     --with-opt-include
  63.     --without-opt-include=${opt-dir}/include
  64.     --with-opt-lib
  65.     --without-opt-lib=${opt-dir}/lib
  66.     --with-make-prog
  67.     --without-make-prog
  68.     --srcdir=.
  69.     --curdir
  70.     --ruby=/home/amer/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
  71.     --with-mysql-config
  72.     --without-mysql-config
  73.     --with-mysql-dir
  74.     --without-mysql-dir
  75.     --with-mysql-include
  76.     --without-mysql-include=${mysql-dir}/include
  77.     --with-mysql-lib
  78.     --without-mysql-lib=${mysql-dir}/lib
  79.     --with-mysqlclientlib
  80.     --without-mysqlclientlib
  81.     --with-mlib
  82.     --without-mlib
  83.     --with-mysqlclientlib
  84.     --without-mysqlclientlib
  85.     --with-zlib
  86.     --without-zlib
  87.     --with-mysqlclientlib
  88.     --without-mysqlclientlib
  89.     --with-socketlib
  90.     --without-socketlib
  91.     --with-mysqlclientlib
  92.     --without-mysqlclientlib
  93.     --with-nsllib
  94.     --without-nsllib
  95.     --with-mysqlclientlib
  96.     --without-mysqlclientlib
  97.     --with-mygcclib
  98.     --without-mygcclib
  99.     --with-mysqlclientlib
  100.     --without-mysqlclientlib
  101.  
  102.  
  103. Gem files will remain installed in /home/amer/.rvm/gems/ruby-1.9.2-p290@saas-course/gems/mysql2-0.3.7 for inspection.
  104. Results logged to /home/amer/.rvm/gems/ruby-1.9.2-p290@saas-course/gems/mysql2-0.3.7/ext/mysql2/gem_make.out
  105.     from /home/amer/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/site_ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions'
  106.     from /home/amer/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `each'
  107.     from /home/amer/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions'
  108.     from /home/amer/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
  109.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/source.rb:90:in `block in install'
  110.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/rubygems_integration.rb:82:in `preserve_paths'
  111.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/source.rb:89:in `install'
  112.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/installer.rb:73:in `block in install_gem_from_spec'
  113.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/rubygems_integration.rb:97:in `with_build_args'
  114.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/installer.rb:72:in `install_gem_from_spec'
  115.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/installer.rb:56:in `block in run'
  116.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/installer.rb:55:in `run'
  117.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/installer.rb:12:in `install'
  118.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/cli.rb:220:in `install'
  119.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/vendor/thor/task.rb:22:in `run'
  120.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
  121.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/vendor/thor.rb:263:in `dispatch'
  122.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/lib/bundler/vendor/thor/base.rb:386:in `start'
  123.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.0/bin/bundle:13:in `<top (required)>'
  124.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle:19:in `load'
  125.     from /home/amer/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle:19:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment