Skip to content

Instantly share code, notes, and snippets.

@pbattisson
Created March 28, 2013 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbattisson/5262961 to your computer and use it in GitHub Desktop.
Save pbattisson/5262961 to your computer and use it in GitHub Desktop.
GSL Gem deploy error
Installing gsl (1.15.3)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking gsl version... 1.15
checking gsl cflags... -I/app/vendor/gsl-1/include
checking for main() in -lcblas... no
checking gsl libs... -L/app/vendor/gsl-1/lib -lgsl -lgslcblas -lm
checking for round()... no
checking for rngextra/rngextra.h... no
checking for qrngextra/qrngextra.h... no
checking for ool/ool_version.h... no
checking for tensor/tensor.h... no
checking for jacobi.h... no
checking for gsl/gsl_cqp.h... no
checking for gsl/gsl_multimin_fsdf.h... no
checking for gsl_poly_solve_quartic() in -lgsl... no
checking for gsl_eigen_francis() in -lgsl... yes
checking for ndlinear/gsl_multifit_ndlinear.h... no
checking for alf/alf.h... no
checking rb-gsl version...1.15.3
checking ruby version... 1.9.2
checking for graph... 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-cblas-dir
--without-cblas-dir
--with-cblas-include
--without-cblas-include=${cblas-dir}/include
--with-cblas-lib
--without-cblas-lib=${cblas-dir}/lib
--with-atlas-dir
--without-atlas-dir
--with-atlas-include
--without-atlas-include=${atlas-dir}/include
--with-atlas-lib
--without-atlas-lib=${atlas-dir}/lib
--with-cblaslib
--without-cblaslib
--with-gsllib
--without-gsllib
--with-gsllib
--without-gsllib
--with-narray-dir
--without-narray-dir
--with-narray-include
--without-narray-include=${narray-dir}/include
--with-narray-lib
--without-narray-lib=${narray-dir}/lib
extconf.rb:250:in `<main>': undefined method `find_by_path' for Gem::Specification:Class (NoMethodError)
Gem files will remain installed in /tmp/build_bf2jcp6egdk/vendor/bundle/ruby/1.9.1/gems/gsl-1.15.3 for inspection.
Results logged to /tmp/build_bf2jcp6egdk/vendor/bundle/ruby/1.9.1/gems/gsl-1.15.3/ext/gem_make.out
An error occurred while installing gsl (1.15.3), and Bundler cannot continue.
Make sure that `gem install gsl -v '1.15.3'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment