Witam
od 4 godzin szukam informacji nt. podlinkowania biblioteki gsl pod ruby. Byc moze ktos z Was bedzie w stanie pomoc?
Oto co robie:
- zainstalowalem gsl-1.8 z pakietu gnuwin32 (http://gnuwin32.sourceforge.net/)
- probowalem http://codeforpeople.com/lib/ruby/rb-gsl-win/rb-gsl-1.7.0/ oraz http://ruby-gsl.sourceforge.net/. Podczas instalacji gema gsl (rb-gsl albo ruby-gsl lub po prostu gem install gsl), otrzymuje taki blad, niezaleznie od wybranego pakietu:
C:/Ruby/bin/ruby.exe extconf.rb
*** 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=C:/Ruby/bin/ruby
extconf.rb:228: Check GSL>=0.9.4 is installed, and the command “gsl-config” is in search path. (RuntimeError)
checking gsl version…
czyli tak, jakby gsl nie byl w ogole zainstalowany,
3. zainstalowalem cygwin, z pakietami gsl (oraz gsl-devel), nie pomoglo
4. mam minGW
5. na liscie bibliotek w ruby widze gsl-1.12.109, jednak po komendzie require “gsl”, otrzymuje komunikat, ze:
cheby.rb:1:in `require’: no such file to load – GSL (LoadError)
srodowisko: windows xp, ruby 1.8.7 netbeans 6.8
w razie potrzeby, chetnie udostepnie inne informacje, bede wdzieczny za pomoc. Prawdopodobnie, nie jest to problem z samym ruby, ale byc moze ktos wczesniej instalowal gsl w podobny sposob?