djberg96/sys-proctable — Issue #9: Bundler issues on Mac
Author: mitchellh
Created: 2011-11-07 03:04:46+00:00
State: open

Hello,

I'm having some issues with sys-proctable on Mac with bundler. A normal `gem install` works fine, but this is a dev dependency on one of my projects and I can't get bundler to install it! The output is as followers:

```
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using archive-tar-minitar (0.5.2)
Using contest (0.1.3)
Using erubis (2.7.0)
Using ffi (1.0.9)
Using i18n (0.6.0)
Using json (1.5.3)
Using log4r (1.1.9)
Using minitest (2.5.1)
Using mocha (0.9.12)
Using net-ssh (2.1.4)
Using net-scp (1.0.4)
Using posix-spawn (0.3.6)
Installing sys-proctable (0.7.6) with native extensions /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_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)

/Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for rb_pid_t in ruby.h... yes
*** 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=/Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
/Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1423:in `stat': No such file or directory - darwin/darwin.c (Errno::ENOENT)
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1423:in `block in fu_each_src_dest'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1439:in `fu_each_src_dest0'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1421:in `fu_each_src_dest'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:391:in `cp'
from extconf.rb:95:in `

'

Gem files will remain installed in /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/sys-proctable-0.7.6 for inspection.
Results logged to /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/sys-proctable-0.7.6/ext/gem_make.out
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `each'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/source.rb:101:in `block in install'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/source.rb:91:in `install'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/installer.rb:57:in `block in run'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `block in each'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/installer.rb:49:in `run'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/installer.rb:8:in `install'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/cli.rb:222:in `install'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/lib/bundler/vendor/thor/base.rb:389:in `start'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.15/bin/bundle:13:in `'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
from /Users/mitchellh/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `

'
```

Any thoughts?

Mitchell