carlhuda/bundler — Issue #1700: Fatal error occered
Author: ook23
Created: 2012-03-07 10:59:03+00:00
State: open

Very new to linix so not to sure what is going on here but got this error.

Installing linecache19 (0.5.12) with native extensions
Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

/usr/local/bin/ruby extconf.rb
checking for vm_core.h... no
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
/usr/local/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': Permission denied - /usr/local/include/ruby-1.9.1/ruby-1.9.3-p125 (Errno::EACCES)
from /usr/local/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:205:in `each'
from /usr/local/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
from /usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:59:in `block in create_makefile_with_core'
from /usr/local/lib/ruby/1.9.1/tempfile.rb:320:in `open'
from /usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
from extconf.rb:19:in `

'
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz

Gem files will remain installed in /home/jm/.bundler/tmp/6708/gems/linecache19-0.5.12 for inspection.
Results logged to /home/jm/.bundler/tmp/6708/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:505:in `each'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/source.rb:90:in `block in install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/rubygems_integration.rb:82:in `preserve_paths'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/source.rb:89:in `install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:73:in `block in install_gem_from_spec'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/rubygems_integration.rb:97:in `with_build_args'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:72:in `install_gem_from_spec'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:56:in `block in run'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:55:in `run'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/installer.rb:12:in `install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/cli.rb:220:in `install'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor/task.rb:22:in `run'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/lib/bundler/vendor/thor/base.rb:386:in `start'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.rc.8/bin/bundle:13:in `'
from /usr/local/bin/bundle:19:in `load'
from /usr/local/bin/bundle:19:in `

'