c - Installing rb-gsl gem using Cygwin -


i'm having issues installing rb-gsl under windows using cygwin. i'm using rubyinstaller windows dev kit installed. i've installed cygwin , gsl runtime, gsl-apps, gsl-devel , gsl-doc packages. when issuing gem install command following:

$ gem.bat install "c:\documents , settings\jzh3fd.2ua1071fgf\desktop\gsl-1.14 .7.gem" temporarily enhancing path include devkit... building native extensions.  take while... error:  error installing c:\documents , settings\jzh3fd.2ua1071fgf\desktop\gsl -1.14.7.gem:         error: failed build gem native extension.          c:/ruby192/bin/ruby.exe extconf.rb checking gsl version... 1.14 checking gsl cflags... -i/usr/include checking main() in -lcblas... no checking gsl libs... -l/usr/lib -lgsl -lgslcblas -lm checking round()... no checking rngextra/rngextra.h... no checking qrngextra/qrngextra.h... no checking ool/ool_version.h... no checking tensor/tensor.h... no checking jacobi.h... no checking gsl/gsl_cqp.h... no checking gsl/gsl_multimin_fsdf.h... no checking gsl_poly_solve_quartic() in -lgsl... no checking gsl_eigen_francis() in -lgsl... no checking ndlinear/gsl_multifit_ndlinear.h... no checking alf/alf.h... no checking rb-gsl version...1.14.7 checking ruby version... 1.9.2 checking graph... no checking narray.h... yes checking main() in -lnarray... no checking tamu_anova/tamu_anova.h... no checking main() in -ltamuanova... no creating makefile  make c:/ruby192/bin/ruby -e "puts 'exports', 'init_rb_gsl'"  > rb_gsl-i386-mingw32.de f gcc -i. -ic:/ruby192/include/ruby-1.9.1/i386-mingw32 -i/c/ruby192/include/ruby-1 .9.1/ruby/backward -i/c/ruby192/include/ruby-1.9.1 -i. -dhave_narray_h  -ic:/rub y192/lib/ruby/gems/1.9.1/gems/narray-0.5.9.9/. -ic:/ruby192/lib/ruby/site_ruby/1 .9.1/i386-msvcrt    -wall -i../include  -i/usr/include  -o alf.o -c alf.c gcc -i. -ic:/ruby192/include/ruby-1.9.1/i386-mingw32 -i/c/ruby192/include/ruby-1 .9.1/ruby/backward -i/c/ruby192/include/ruby-1.9.1 -i. -dhave_narray_h  -ic:/rub y192/lib/ruby/gems/1.9.1/gems/narray-0.5.9.9/. -ic:/ruby192/lib/ruby/site_ruby/1 .9.1/i386-msvcrt    -wall -i../include  -i/usr/include  -o array.o -c array.c in file included array.c:14:0: ../include/rb_gsl_common.h:18:27: fatal error: gsl/gsl_errno.h: no such file or directory compilation terminated. make: *** [array.o] error 1   gem files remain installed in c:/ruby192/lib/ruby/gems/1.9.1/gems/gsl-1.14. 7 inspection. results logged c:/ruby192/lib/ruby/gems/1.9.1/gems/gsl-1.14.7/ext/gem_make.ou t 

i have checked , can find gsl_errno.h @ /usr/include/gsl

try supplying path gsl includes on command line when installing gem.

gem install gsl -- --with-gsl-include-path=/usr/include/gsl 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -