carlhuda/bundler — Issue #1647: fatal error installing gsl on Heroku
Author: rdpoor
Created: 2012-01-31 03:13:40+00:00
State: open

I don't have control over Heroku's environment, but when the remote bundle operation failed, it asked me to report it as an issue. So here's the error as printed, along with the top few elements of the stack trace. My guess is that Heroku cedar stack doesn't support everything required to build a native GSL library. (And, given the situation, I probably won't use GSL on Heroku anyway, so if you want to ignore this report, be my guest!)

Best,

- ff

Installing gsl (1.14.7) 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:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
checking gsl version... *** 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
extconf.rb:237:in `rescue in

': Check GSL>=0.9.4 is installed, and the command "gsl-config" is in search path. (RuntimeError)
from extconf.rb:138:in `

'
Gem files will remain installed in /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/gsl-1.14.7 for inspection.
Results logged to /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/gsl-1.14.7/ext/gem_make.out
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:486:in `block in build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in `each'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in `build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:198:in `install'
from /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/source.rb:90:in `block in install'
from /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:82:in `preserve_paths'
from /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/source.rb:89:in `install'
from /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/installer.rb:73:in `block in install_gem_from_spec'
from /tmp/build_npm0ly0bmjnc/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:97:in `with_build_args'