Guest User

Untitled

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