Skip to content

Instantly share code, notes, and snippets.

@constantine-nikolaou
Created April 21, 2010 06:45
Show Gist options
  • Save constantine-nikolaou/373509 to your computer and use it in GitHub Desktop.
Save constantine-nikolaou/373509 to your computer and use it in GitHub Desktop.
(09:34) cn5:~/Downloads/gsl-1.9$ gem install gsl
Building native extensions. This could take a while...
ERROR: Error installing gsl:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking gsl version... 1.9
checking gsl cflags... -I/usr/local/include
checking for main() in -lcblas... yes
checking for main() in -latlas... yes
checking gsl libs... -L/usr/local/lib -lgsl -lcblas -latlas -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.12.90
checking ruby version... 1.8.6
checking for graph... no
checking for narray.h... yes
checking for tamu_anova/tamu_anova.h... no
checking for main() in -ltamuanova... no
creating Makefile
make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c alf.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c array.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c array_complex.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c blas.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c blas1.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c blas2.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c blas3.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c block.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c bspline.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c bundle.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c cdf.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c cheb.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c combination.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c common.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c complex.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c const.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c const_additional.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c cqp.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c deriv.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c dht.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c diff.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c dirac.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c eigen.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c error.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c fcmp.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c fft.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c fit.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c fresnel.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c function.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c geometry.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c graph.c
graph.c:975: warning: ‘gsl_graph_set_command’ defined but not used
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c gsl.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c gsl_narray.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c histogram.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c histogram2d.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c histogram3d.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c histogram3d_source.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c histogram_find.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c histogram_oper.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c ieee.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c integration.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c interp.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c jacobi.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_NARRAY_H -I/Library/Ruby/Gems/1.8/gems/narray-0.5.9.7/. -I/Library/Ruby/Site/1.8/universal-darwin9.0 -fno-common -Wall -I../include -I/usr/local/include -c linalg.c
linalg.c: In function ‘rb_gsl_linalg_hessenberg_decomp’:
linalg.c:3437: warning: implicit declaration of function ‘gsl_linalg_hessenberg_decomp’
linalg.c: In function ‘rb_gsl_linalg_hessenberg_set_zero’:
linalg.c:3492: error: void value not ignored as it ought to be
linalg.c:3495: warning: control reaches end of non-void function
linalg.c: In function ‘rb_gsl_linalg_hesstri_decomp’:
linalg.c:3538: warning: implicit declaration of function ‘gsl_linalg_hesstri_decomp’
make: *** [linalg.o] Error 1
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/gsl-1.12.109 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/gsl-1.12.109/ext/gem_make.out
@adamginsburg
Copy link

Did you ever work this one out? I'm getting the same eerror now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment