Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. Jack-Gleesons-MacBook-Pro:mysql_api jackgleeson$ sudo gem install mysql -- --with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing mysql:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb --with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
  7. checking for mysql_ssl_set()... no
  8. checking for rb_str_set_len()... no
  9. checking for rb_thread_start_timer()... no
  10. checking for mysql.h... no
  11. checking for mysql/mysql.h... no
  12. *** extconf.rb failed ***
  13. Could not create Makefile due to some reason, probably lack of
  14. necessary libraries and/or headers. Check the mkmf.log file for more
  15. details. You may need configuration options.
  16.  
  17. Provided configuration options:
  18. --with-opt-dir
  19. --without-opt-dir
  20. --with-opt-include
  21. --without-opt-include=${opt-dir}/include
  22. --with-opt-lib
  23. --without-opt-lib=${opt-dir}/lib
  24. --with-make-prog
  25. --without-make-prog
  26. --srcdir=.
  27. --curdir
  28. --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  29. --with-mysql-config
  30.  
  31.  
  32. Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.8.1 for inspection.
  33. Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement