Guest User

gcc-4-8-error

a guest
Apr 29th, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. -bash-3.2$ echo $CC
  2. /usr/local/bin/gcc-4.8
  3. -bash-3.2$ bundle install --path .bundle --binstubs .bundle/bin
  4. Fetching gem metadata from https://rubygems.org/.........
  5. Fetching additional metadata from https://rubygems.org/..
  6. Resolving dependencies...
  7. Installing rake 10.3.1
  8. Installing builder 3.2.2
  9. Installing mime-types 2.2
  10. Installing mini_portile 0.5.3
  11.  
  12. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  13.  
  14. /Users/neo/.rubies/ruby-2.1.1/bin/ruby extconf.rb
  15. Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-apple-darwin13.1.0/ports/libxml2/2.8.0... OK
  16. Running 'configure' for libxml2 2.8.0... OK
  17. Running 'compile' for libxml2 2.8.0... OK
  18. Running 'install' for libxml2 2.8.0... OK
  19. Activating libxml2 2.8.0 (from /usr/local/gemserver/.bundle/ruby/2.1.0/gems/nokogiri-1.6.1/ports/x86_64-apple-darwin13.1.0/libxml2/2.8.0)...
  20. Extracting libxslt-1.1.26.tar.gz into tmp/x86_64-apple-darwin13.1.0/ports/libxslt/1.1.26... OK
  21. Running 'configure' for libxslt 1.1.26... OK
  22. Running 'compile' for libxslt 1.1.26... OK
  23. Running 'install' for libxslt 1.1.26... OK
  24. Activating libxslt 1.1.26 (from /usr/local/gemserver/.bundle/ruby/2.1.0/gems/nokogiri-1.6.1/ports/x86_64-apple-darwin13.1.0/libxslt/1.1.26)...
  25. checking for libxml/parser.h... yes
  26. checking for libxslt/xslt.h... yes
  27. checking for libexslt/exslt.h... yes
  28. checking for iconv_open() in iconv.h... no
  29. checking for iconv_open() in -liconv... yes
  30. checking for xmlParseDoc() in -lxml2... yes
  31. checking for xsltParseStylesheetDoc() in -lxslt... yes
  32. checking for exsltFuncRegister() in -lexslt... yes
  33. checking for xmlHasFeature()... yes
  34. checking for xmlFirstElementChild()... yes
  35. checking for xmlRelaxNGSetParserStructuredErrors()... yes
  36. checking for xmlRelaxNGSetParserStructuredErrors()... yes
  37. checking for xmlRelaxNGSetValidStructuredErrors()... yes
  38. checking for xmlSchemaSetValidStructuredErrors()... yes
  39. checking for xmlSchemaSetParserStructuredErrors()... yes
  40. creating Makefile
  41.  
  42. make "DESTDIR=" clean
  43.  
  44. make "DESTDIR="
  45. compiling html_document.c
  46. gcc-4.8: error: unrecognized command line option '-Wshorten-64-to-32'
  47. gcc-4.8: error: unrecognized command line option '-Wdivision-by-zero'
  48. gcc-4.8: error: unrecognized command line option '-Wextra-tokens'
  49. make: *** [html_document.o] Error 1
  50.  
  51. make failed, exit code 2
  52.  
  53. Gem files will remain installed in /usr/local/gemserver/.bundle/ruby/2.1.0/gems/nokogiri-1.6.1 for inspection.
  54. Results logged to /usr/local/gemserver/.bundle/ruby/2.1.0/extensions/x86_64-darwin-13/2.1.0-static/nokogiri-1.6.1/gem_make.out
  55. An error occurred while installing nokogiri (1.6.1), and Bundler cannot continue.
  56. Make sure that `gem install nokogiri -v '1.6.1'` succeeds before bundling.
  57. -bash-3.2$ export CC=gcc
  58. -bash-3.2$ echo $CC
  59. gcc
  60. -bash-3.2$ bundle install --path .bundle --binstubs .bundle/bin
  61. Fetching gem metadata from https://rubygems.org/.........
  62. Fetching additional metadata from https://rubygems.org/..
  63. Resolving dependencies...
  64. Using rake 10.3.1
  65. Using builder 3.2.2
  66. Using mime-types 2.2
  67. Using mini_portile 0.5.3
  68. Installing nokogiri 1.6.1
  69. Installing rack 1.5.2
  70. Installing rack-test 0.6.2
  71. Installing xpath 2.0.0
  72. Installing capybara 2.1.0
  73. Installing unf_ext 0.0.6
  74. Installing unf 0.1.4
  75. Installing domain_name 0.5.18
  76. Installing http-cookie 1.0.2
  77. Installing net-http-digest_auth 1.4
  78. Installing net-http-persistent 2.9.4
  79. Installing ntlm-http 0.1.1
  80. Installing webrobots 0.1.1
  81. Installing mechanize 2.7.3
  82. Installing capybara-mechanize 1.1.0
  83. Installing multipart-post 2.0.0
  84. Installing faraday 0.9.0
  85. Installing httpclient 2.3.4.1
  86. Installing nesty 1.0.2
  87. Installing rack-protection 1.5.3
  88. Installing tilt 1.4.1
  89. Installing sinatra 1.4.5
  90. Installing geminabox 0.12.4
  91. Installing hashie 2.1.1
  92. Installing minitest 5.3.3
  93. Installing remote_partial 0.7.3
  94. Using bundler 1.6.2
  95. Your bundle is complete!
  96. It was installed into ./.bundle
Advertisement
Add Comment
Please, Sign In to add comment