Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. Fetching mysql2 0.3.21
  2. Installing mysql2 0.3.21 with native extensions
  3. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  4.  
  5. current directory: /Users/mfifth/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.3.21/ext/mysql2
  6. /Users/mfifth/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20191213-16231-1j1qitw.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib
  7. --with-cppflags=-I/usr/local/opt/openssl/include
  8. checking for ruby/thread.h... yes
  9. checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
  10. checking for rb_thread_blocking_region()... no
  11. checking for rb_wait_for_single_fd()... yes
  12. checking for rb_hash_dup()... yes
  13. checking for rb_intern3()... yes
  14. -----
  15. Using mysql_config at /usr/local/bin/mysql_config
  16. -----
  17. checking for mysql.h... yes
  18. checking for errmsg.h... yes
  19. checking for mysqld_error.h... yes
  20. -----
  21. Setting rpath to /usr/local/Cellar/mysql/8.0.18_1/lib
  22. -----
  23. creating Makefile
  24.  
  25. current directory: /Users/mfifth/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.3.21/ext/mysql2
  26. make "DESTDIR=" clean
  27.  
  28. current directory: /Users/mfifth/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.3.21/ext/mysql2
  29. make "DESTDIR="
  30. compiling client.c
  31. client.c:439:3: error: use of undeclared identifier 'my_bool'
  32. my_bool res = mysql_read_query_result(client);
  33. ^
  34. client.c:441:19: error: use of undeclared identifier 'res'
  35. return (void *)(res == 0 ? Qtrue : Qfalse);
  36. ^
  37. client.c:762:3: error: use of undeclared identifier 'my_bool'
  38. my_bool boolval;
  39. ^
  40. client.c:793:7: error: use of undeclared identifier 'boolval'
  41. boolval = (value == Qfalse ? 0 : 1);
  42. ^
  43. client.c:794:17: error: use of undeclared identifier 'boolval'
  44. retval = &boolval;
  45. ^
  46. client.c:797:10: error: use of undeclared identifier 'MYSQL_SECURE_AUTH'; did you mean 'MYSQL_DEFAULT_AUTH'?
  47. case MYSQL_SECURE_AUTH:
  48. ^~~~~~~~~~~~~~~~~
  49. MYSQL_DEFAULT_AUTH
  50. /usr/local/Cellar/mysql/8.0.18_1/include/mysql/mysql.h:187:3: note: 'MYSQL_DEFAULT_AUTH' declared here
  51. MYSQL_DEFAULT_AUTH,
  52. ^
  53. client.c:798:7: error: use of undeclared identifier 'boolval'
  54. boolval = (value == Qfalse ? 0 : 1);
  55. ^
  56. client.c:799:17: error: use of undeclared identifier 'boolval'
  57. retval = &boolval;
  58. ^
  59. client.c:830:38: error: use of undeclared identifier 'boolval'
  60. wrapper->reconnect_enabled = boolval;
  61. ^
  62. client.c:1185:38: error: use of undeclared identifier 'MYSQL_SECURE_AUTH'; did you mean 'MYSQL_DEFAULT_AUTH'?
  63. return _mysql_client_options(self, MYSQL_SECURE_AUTH, value);
  64. ^~~~~~~~~~~~~~~~~
  65. MYSQL_DEFAULT_AUTH
  66. /usr/local/Cellar/mysql/8.0.18_1/include/mysql/mysql.h:187:3: note: 'MYSQL_DEFAULT_AUTH' declared here
  67. MYSQL_DEFAULT_AUTH,
  68. ^
  69. 10 errors generated.
  70. make: *** [client.o] Error 1
  71.  
  72. make failed, exit code 2
  73.  
  74. Gem files will remain installed in /Users/mfifth/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.3.21 for inspection.
  75. Results logged to /Users/mfifth/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-17/2.5.0-static/mysql2-0.3.21/gem_make.out
  76.  
  77. An error occurred while installing mysql2 (0.3.21), and Bundler cannot continue.
  78. Make sure that `gem install mysql2 -v '0.3.21' --source 'http://rubygems.org/'` succeeds before bundling.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement