Guest User

Untitled

a guest
Jan 25th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. $ gem install 'mysql2'
  2.  
  3. Fetching: mysql2-0.3.15.gem (100%)
  4. Building native extensions. This could take a while...
  5. ERROR: Error installing mysql2:
  6. ERROR: Failed to build gem native extension.
  7.  
  8. /usr/bin/ruby1.9.1 extconf.rb
  9. checking for ruby/thread.h... no
  10. checking for rb_thread_blocking_region()... yes
  11. checking for rb_wait_for_single_fd()... yes
  12. checking for rb_hash_dup()... yes
  13. checking for rb_intern3()... yes
  14. checking for mysql_query() in -lmysqlclient... no
  15. checking for main() in -lm... yes
  16. checking for mysql_query() in -lmysqlclient... no
  17. checking for main() in -lz... yes
  18. checking for mysql_query() in -lmysqlclient... no
  19. checking for main() in -lsocket... no
  20. checking for mysql_query() in -lmysqlclient... no
  21. checking for main() in -lnsl... yes
  22. checking for mysql_query() in -lmysqlclient... no
  23. checking for main() in -lmygcc... no
  24. checking for mysql_query() in -lmysqlclient... no
  25. *** extconf.rb failed ***
  26. Could not create Makefile due to some reason, probably lack of
  27. necessary libraries and/or headers. Check the mkmf.log file for more
  28. details. You may need configuration options.
  29.  
  30. Provided configuration options:
  31. --with-opt-dir
  32. --without-opt-dir
  33. --with-opt-include
  34. --without-opt-include=${opt-dir}/include
  35. --with-opt-lib
  36. --without-opt-lib=${opt-dir}/lib
  37. --with-make-prog
  38. --without-make-prog
  39. --srcdir=.
  40. --curdir
  41. --ruby=/usr/bin/ruby1.9.1
  42. --with-mysql-dir
  43. --without-mysql-dir
  44. --with-mysql-include
  45. --without-mysql-include=${mysql-dir}/include
  46. --with-mysql-lib
  47. --without-mysql-lib=${mysql-dir}/lib
  48. --with-mysql-config
  49. --without-mysql-config
  50. --with-mysql-dir
  51. --without-mysql-dir
  52. --with-mysql-include
  53. --without-mysql-include=${mysql-dir}/include
  54. --with-mysql-lib
  55. --without-mysql-lib=${mysql-dir}/lib
  56. --with-mysqlclientlib
  57. --without-mysqlclientlib
  58. --with-mlib
  59. --without-mlib
  60. --with-mysqlclientlib
  61. --without-mysqlclientlib
  62. --with-zlib
  63. --without-zlib
  64. --with-mysqlclientlib
  65. --without-mysqlclientlib
  66. --with-socketlib
  67. --without-socketlib
  68. --with-mysqlclientlib
  69. --without-mysqlclientlib
  70. --with-nsllib
  71. --without-nsllib
  72. --with-mysqlclientlib
  73. --without-mysqlclientlib
  74. --with-mygcclib
  75. --without-mygcclib
  76. --with-mysqlclientlib
  77. --without-mysqlclientlib
  78.  
  79.  
  80. Gem files will remain installed in /var/lib/gems/1.9.1/gems/mysql2-0.3.15 for inspection.
  81. Results logged to /var/lib/gems/1.9.1/gems/mysql2-0.3.15/ext/mysql2/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment