Guest User

Untitled

a guest
Apr 27th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. dan-vs-macbook:venue-driver pod$ export ARCHFLAGS="-arch i386 -arch x86_64" ; gem install --no-rdoc --no-ri mysql -- --with-mysql-dir=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
  2.  
  3. WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
  4. /usr/bin aren't both writable.
  5. WARNING: You don't have /Users/pod/.gem/ruby/1.8/bin in your PATH,
  6. gem executables will not run.
  7. Building native extensions. This could take a while...
  8. ERROR: Error installing mysql:
  9. ERROR: Failed to build gem native extension.
  10.  
  11. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install --no-rdoc --no-ri mysql -- --with-mysql-dir=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
  12. extconf.rb:10: command not found: /opt/local/lib/mysql5/bin/mysql_config --cflags
  13. *** extconf.rb failed ***
  14. Could not create Makefile due to some reason, probably lack of
  15. necessary libraries and/or headers. Check the mkmf.log file for more
  16. details. You may need configuration options.
  17.  
  18. Provided configuration options:
  19. --with-opt-dir
  20. --without-opt-dir
  21. --with-opt-include
  22. --without-opt-include=${opt-dir}/include
  23. --with-opt-lib
  24. --without-opt-lib=${opt-dir}/lib
  25. --with-make-prog
  26. --without-make-prog
  27. --srcdir=.
  28. --curdir
  29. --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  30. --with-mysql-config
  31.  
  32.  
  33. Gem files will remain installed in /Users/pod/.gem/ruby/1.8/gems/mysql-2.8.1 for inspection.
  34. Results logged to /Users/pod/.gem/ruby/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
Add Comment
Please, Sign In to add comment