RidiculousPower / sender

Adds :sender and :caller as well as other object-oriented backtrace methods to the built-in :callee and :method methods in Ruby 1.9.1.
https://rubygems.org/gems/sender
16 stars 4 forks source link

gem install does not build c extensions #1

Open stephenprater opened 13 years ago

stephenprater commented 13 years ago

I'm not exactly familiar enough with the mkmf variant this uses to further diagnose the problem - but running gem install sender creates an empty makefile which means the C-extension doesn't get built.

(Which means it doesn't work.)

Marketing-Mac-Mini:gems stephenprater$ gem install -V sender GET http://gems.rubyforge.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 200 OK GET http://gems.github.com/latest_specs.4.8.gz 200 OK GET http://gems.rubyforge.org/quick/Marshal.4.8/sender-1.5.7.gemspec.rz 302 Found GET http://production.cf.rubygems.org/quick/Marshal.4.8/sender-1.5.7.gemspec.rz 200 OK GET http://gems.rubyforge.org/quick/Marshal.4.8/core-source-0.2.6.gemspec.rz 302 Found GET http://production.cf.rubygems.org/quick/Marshal.4.8/core-source-0.2.6.gemspec.rz 200 OK GET http://gems.rubyforge.org/quick/Marshal.4.8/mkmfmf-0.4.gemspec.rz 302 Found GET http://production.cf.rubygems.org/quick/Marshal.4.8/mkmfmf-0.4.gemspec.rz 200 OK GET http://gems.rubyforge.org/quick/Marshal.4.8/rake-compiler-0.7.6.gemspec.rz 302 Found GET http://production.cf.rubygems.org/quick/Marshal.4.8/rake-compiler-0.7.6.gemspec.rz 200 OK GET http://gems.rubyforge.org/quick/Marshal.4.8/rake-0.8.7.gemspec.rz 302 Found GET http://production.cf.rubygems.org/quick/Marshal.4.8/rake-0.8.7.gemspec.rz 200 OK Installing gem sender-1.5.7 Downloading gem sender-1.5.7.gem GET http://gems.rubyforge.org/gems/sender-1.5.7.gem 302 Found GET http://production.cf.rubygems.org/gems/sender-1.5.7.gem Fetching: sender-1.5.7.gem (100%) 200 OK /opt/local/lib/ruby1.9/gems/1.9.1/gems/sender-1.5.7/lib/sender.rb /opt/local/lib/ruby1.9/gems/1.9.1/gems/sender-1.5.7/lib/VERSION.rdoc /opt/local/lib/ruby1.9/gems/1.9.1/gems/sender-1.5.7/README.rdoc /opt/local/lib/ruby1.9/gems/1.9.1/gems/sender-1.5.7/ext/sender/extconf.rb Building native extensions. This could take a while... /opt/local/bin/ruby extconf.rb checking for vm_core.h... yes checking for iseq.h... yes checking for eval_intern.h... yes checking for version.h... yes creating Makefile

make make: Nothing to be done for `all'.

make install make: Nothing to be done for `install'. Successfully installed sender-1.5.7 1 gem installed Installing ri documentation for sender-1.5.7... rdoc --ri --op /opt/local/lib/ruby1.9/gems/1.9.1/doc/sender-1.5.7/ri --quiet lib --title sender-1.5.7 Documentation Installing RDoc documentation for sender-1.5.7... rdoc --op /opt/local/lib/ruby1.9/gems/1.9.1/doc/sender-1.5.7/rdoc --quiet lib --title sender-1.5.7 Documentation

Asher- commented 13 years ago

Should be fixed now. I was not seeing the issue as I was using clang rather than gcc by default. Please let me know if there are further problems.