Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. Jack-Gleesons-MacBook-Pro:newsletter jackgleeson$ sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
  2.  
  3. Building native extensions. This could take a while...
  4. ERROR: Error installing mysql:
  5. ERROR: Failed to build gem native extension.
  6.  
  7. /usr/local/bin/ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config
  8. extconf.rb:10: command not found: /usr/local/mysql/bin/mysql_config --cflags
  9. *** extconf.rb failed ***
  10. Could not create Makefile due to some reason, probably lack of
  11. necessary libraries and/or headers. Check the mkmf.log file for more
  12. details. You may need configuration options.
  13.  
  14. Provided configuration options:
  15. --with-opt-dir
  16. --without-opt-dir
  17. --with-opt-include
  18. --without-opt-include=${opt-dir}/include
  19. --with-opt-lib
  20. --without-opt-lib=${opt-dir}/lib
  21. --with-make-prog
  22. --without-make-prog
  23. --srcdir=.
  24. --curdir
  25. --ruby=/usr/local/bin/ruby
  26. --with-mysql-config
  27.  
  28.  
  29. Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection.
  30. Results logged to /usr/local/lib/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