Guest User

Untitled

a guest
May 27th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. Last login: Sat Nov 29 10:25:17 on ttys000
  2. You have mail.
  3. pc-221-200-47-190:~ Paco$ sudo gem install mysql
  4. Password:
  5. Building native extensions. This could take a while...
  6. ERROR: Error installing mysql:
  7. ERROR: Failed to build gem native extension.
  8.  
  9. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql
  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... yes
  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... no
  18. checking for mysql_query() in -lmysqlclient... no
  19. *** extconf.rb failed ***
  20. Could not create Makefile due to some reason, probably lack of
  21. necessary libraries and/or headers. Check the mkmf.log file for more
  22. details. You may need configuration options.
  23.  
  24. Provided configuration options:
  25. --with-opt-dir
  26. --without-opt-dir
  27. --with-opt-include
  28. --without-opt-include=${opt-dir}/include
  29. --with-opt-lib
  30. --without-opt-lib=${opt-dir}/lib
  31. --with-make-prog
  32. --without-make-prog
  33. --srcdir=.
  34. --curdir
  35. --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  36. --with-mysql-config
  37. --without-mysql-config
  38. --with-mysql-dir
  39. --without-mysql-dir
  40. --with-mysql-include
  41. --without-mysql-include=${mysql-dir}/include
  42. --with-mysql-lib
  43. --without-mysql-lib=${mysql-dir}/lib
  44. --with-mysqlclientlib
  45. --without-mysqlclientlib
  46. --with-mlib
  47. --without-mlib
  48. --with-mysqlclientlib
  49. --without-mysqlclientlib
  50. --with-zlib
  51. --without-zlib
  52. --with-mysqlclientlib
  53. --without-mysqlclientlib
  54. --with-socketlib
  55. --without-socketlib
  56. --with-mysqlclientlib
  57. --without-mysqlclientlib
  58. --with-nsllib
  59. --without-nsllib
  60. --with-mysqlclientlib
  61. --without-mysqlclientlib
  62.  
  63.  
  64. Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7 for inspection.
  65. Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out
  66. pc-221-200-47-190:~ Paco$ sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
  67. Building native extensions. This could take a while...
  68. ERROR: Error installing mysql:
  69. ERROR: Failed to build gem native extension.
  70.  
  71. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql
  72. checking for mysql_query() in -lmysqlclient... no
  73. checking for main() in -lm... yes
  74. checking for mysql_query() in -lmysqlclient... no
  75. checking for main() in -lz... yes
  76. checking for mysql_query() in -lmysqlclient... no
  77. checking for main() in -lsocket... no
  78. checking for mysql_query() in -lmysqlclient... no
  79. checking for main() in -lnsl... no
  80. checking for mysql_query() in -lmysqlclient... no
  81. *** extconf.rb failed ***
  82. Could not create Makefile due to some reason, probably lack of
  83. necessary libraries and/or headers. Check the mkmf.log file for more
  84. details. You may need configuration options.
  85.  
  86. Provided configuration options:
  87. --with-opt-dir
  88. --without-opt-dir
  89. --with-opt-include
  90. --without-opt-include=${opt-dir}/include
  91. --with-opt-lib
  92. --without-opt-lib=${opt-dir}/lib
  93. --with-make-prog
  94. --without-make-prog
  95. --srcdir=.
  96. --curdir
  97. --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  98. --with-mysql-config
  99. --without-mysql-config
  100. --with-mysql-dir
  101. --with-mysql-include
  102. --without-mysql-include=${mysql-dir}/include
  103. --with-mysql-lib
  104. --without-mysql-lib=${mysql-dir}/lib
  105. --with-mysqlclientlib
  106. --without-mysqlclientlib
  107. --with-mlib
  108. --without-mlib
  109. --with-mysqlclientlib
  110. --without-mysqlclientlib
  111. --with-zlib
  112. --without-zlib
  113. --with-mysqlclientlib
  114. --without-mysqlclientlib
  115. --with-socketlib
  116. --without-socketlib
  117. --with-mysqlclientlib
  118. --without-mysqlclientlib
  119. --with-nsllib
  120. --without-nsllib
  121. --with-mysqlclientlib
  122. --without-mysqlclientlib
  123.  
  124.  
  125. Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7 for inspection.
  126. Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out
  127. pc-221-200-47-190:~ Paco$
Add Comment
Please, Sign In to add comment