Guest User

cocoapods installation error

a guest
Apr 26th, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. Building native extensions. This could take a while...
  2. /opt/local/lib/ruby1.9/1.9.1/rubygems/ext/builder.rb:48: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
  3. ERROR: Error installing cocoapods:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. "/opt/local/bin/ruby" -rubygems /opt/local/lib/ruby1.9/gems/1.9.1/gems/rake-0.9.2.2/bin/rake RUBYARCHDIR=/opt/local/lib/ruby1.9/gems/1.9.1/gems/xcodeproj-0.16.1/ext RUBYLIBDIR=/opt/local/lib/ruby1.9/gems/1.9.1/gems/xcodeproj-0.16.1/ext
  7. /opt/local/bin/ruby extconf.rb
  8. /opt/local/lib/ruby1.9/1.9.1/rake/file_utils.rb:68: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
  9. checking for -std=c99 option to compiler... *** extconf.rb failed ***
  10. Could not create Makefile due to some reason, probably lack of
  11. necessary libraries and/or headers. Check the mkmf.log file for more
  12. details. You may need configuration options.
  13.  
  14. Provided configuration options:
  15. --with-opt-dir
  16. --with-opt-include
  17. --without-opt-include=${opt-dir}/include
  18. --with-opt-lib
  19. --without-opt-lib=${opt-dir}/lib
  20. --with-make-prog
  21. --without-make-prog
  22. --srcdir=.
  23. --curdir
  24. --ruby=/opt/local/bin/ruby
  25. /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  26. You have to install development tools first.
  27. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:491:in `block in try_compile'
  28. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:443:in `with_werror'
  29. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:491:in `try_compile'
  30. from extconf.rb:24:in `block in <main>'
  31. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:790:in `block in checking_for'
  32. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
  33. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:254:in `open'
  34. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:284:in `block in postpone'
  35. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:254:in `open'
  36. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:280:in `postpone'
  37. from /opt/local/lib/ruby1.9/1.9.1/mkmf.rb:789:in `checking_for'
  38. from extconf.rb:23:in `<main>'
  39. rake aborted!
  40. Command failed with status (1): [/opt/local/bin/ruby extconf.rb...]
  41.  
  42. Tasks: TOP => default => ext
  43. (See full trace by running task with --trace)
  44.  
  45.  
  46. Gem files will remain installed in /opt/local/lib/ruby1.9/gems/1.9.1/gems/xcodeproj-0.16.1 for inspection.
  47. Results logged to /opt/local/lib/ruby1.9/gems/1.9.1/gems/xcodeproj-0.16.1/ext/xcodeproj/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment