Advertisement
Guest User

another one?

a guest
Mar 6th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. [oxigen@dmage ~]$ sudo gem install rails -v 4.2.0
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing rails:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /usr/bin/ruby -r ./siteconf20150307-18473-eplxf0.rb extconf.rb
  7. checking if the C compiler accepts ... yes
  8. Building nokogiri using packaged libraries.
  9. checking for gzdopen() in -lz... no
  10. zlib is missing; necessary for building libxml2
  11. *** extconf.rb failed ***
  12. Could not create Makefile due to some reason, probably lack of necessary
  13. libraries and/or headers. Check the mkmf.log file for more details. You may
  14. need configuration options.
  15.  
  16. Provided configuration options:
  17. --with-opt-dir
  18. --without-opt-dir
  19. --with-opt-include
  20. --without-opt-include=${opt-dir}/include
  21. --with-opt-lib
  22. --without-opt-lib=${opt-dir}/lib64
  23. --with-make-prog
  24. --without-make-prog
  25. --srcdir=.
  26. --curdir
  27. --ruby=/usr/bin/ruby
  28. --help
  29. --clean
  30. --use-system-libraries
  31. --enable-static
  32. --disable-static
  33. --with-zlib-dir
  34. --without-zlib-dir
  35. --with-zlib-include
  36. --without-zlib-include=${zlib-dir}/include
  37. --with-zlib-lib
  38. --without-zlib-lib=${zlib-dir}/lib64
  39. --enable-cross-build
  40. --disable-cross-build
  41.  
  42. extconf failed, exit code 1
  43.  
  44. Gem files will remain installed in /usr/local/share/gems/gems/nokogiri-1.6.6.2 for inspection.
  45. Results logged to /usr/local/lib64/gems/ruby/nokogiri-1.6.6.2/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement