Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gem install does not build c extensions #1

Open
stephenprater opened this issue Feb 11, 2011 · 1 comment
Open

gem install does not build c extensions #1

stephenprater opened this issue Feb 11, 2011 · 1 comment

Comments

@stephenprater
Copy link

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-
Copy link
Member

Asher- commented Feb 23, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants