Advertisement
Guest User

asdasdad

a guest
Aug 9th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. C:\Windows\system32>gem install mysql2 -- '--with-mysql-lib="C:\wamp\bin\mysql\m
  2. ysql5.5.20\lib" --with-mysql-include="C:\wamp\bin\mysql\mysql5.5.20\include"'
  3. Temporarily enhancing PATH to include DevKit...
  4. Building native extensions. This could take a while...
  5. ERROR: Error installing mysql2:
  6. ERROR: Failed to build gem native extension.
  7.  
  8. C:/wamp/ruby/bin/ruby.exe extconf.rb --with-mysql-lib="C:\wamp\bin\mysql
  9. \mysql5.5.20\lib" --with-mysql-include="C:\wamp\bin\mysql\mysql5.5.20\include"
  10. checking for rb_thread_blocking_region()... yes
  11. checking for rb_wait_for_single_fd()... yes
  12. checking for rb_hash_dup()... yes
  13. checking for rb_intern3()... yes
  14. checking for main() in -llibmysql... no
  15. *** extconf.rb failed ***
  16. Could not create Makefile due to some reason, probably lack of
  17. necessary libraries and/or headers. Check the mkmf.log file for more
  18. details. You may 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=C:/wamp/ruby/bin/ruby
  32. --with-mysql-dir
  33. --without-mysql-dir
  34. --with-mysql-include=${mysql-dir}/include
  35. --with-mysql-lib=${mysql-dir}/lib
  36. --with-libmysqllib
  37. --without-libmysqllib
  38.  
  39.  
  40. Gem files will remain installed in C:/wamp/ruby/lib/ruby/gems/1.9.1/gems/mysql2-
  41. 0.3.13 for inspection.
  42. Results logged to C:/wamp/ruby/lib/ruby/gems/1.9.1/gems/mysql2-0.3.13/ext/mysql2
  43. /gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement