Advertisement
Guest User

Untitled

a guest
Aug 1st, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. pi@raspberrypi:/partage/tom $ gem install 'mysql2'
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing mysql2:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. current directory: /home/pi/.rvm/gems/ruby-2.6.3/gems/mysql2-0.5.2/ext/mysql2
  7. /home/pi/.rvm/rubies/ruby-2.6.3/bin/ruby -I /home/pi/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0 -r ./siteconf20190801-14501-vtb7f.rb extconf.rb
  8. checking for rb_absint_size()... yes
  9. checking for rb_absint_singlebit_p()... yes
  10. checking for rb_wait_for_single_fd()... yes
  11. checking for -lmysqlclient... no
  12. -----
  13. mysql client is missing. You may need to 'apt-get install libmysqlclient-dev' or 'yum install mysql-devel', and try again.
  14. -----
  15. *** extconf.rb failed ***
  16. Could not create Makefile due to some reason, probably lack of necessary
  17. libraries and/or headers. Check the mkmf.log file for more details. You may
  18. need configuration options.
  19.  
  20. Provided configuration options:
  21. --with-opt-dir
  22. --without-opt-dir
  23. --with-opt-include
  24. --without-opt-include=${opt-dir}/include
  25. --with-opt-lib
  26. --without-opt-lib=${opt-dir}/lib
  27. --with-make-prog
  28. --without-make-prog
  29. --srcdir=.
  30. --curdir
  31. --ruby=/home/pi/.rvm/rubies/ruby-2.6.3/bin/$(RUBY_BASE_NAME)
  32. --with-mysql-dir
  33. --without-mysql-dir
  34. --with-mysql-include
  35. --without-mysql-include=${mysql-dir}/include
  36. --with-mysql-lib
  37. --without-mysql-lib=${mysql-dir}/lib
  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.  
  49. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  50.  
  51. /home/pi/.rvm/gems/ruby-2.6.3/extensions/armv7l-linux/2.6.0/mysql2-0.5.2/mkmf.log
  52.  
  53. extconf failed, exit code 1
  54.  
  55. Gem files will remain installed in /home/pi/.rvm/gems/ruby-2.6.3/gems/mysql2-0.5.2 for inspection.
  56. Results logged to /home/pi/.rvm/gems/ruby-2.6.3/extensions/armv7l-linux/2.6.0/mysql2-0.5.2/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement