Hi
I tried installing GSL\Ruby 1.8.3 with Mingw/MSYS at Windows XP. But it
failed, I am wondering if someone can give me some help.
I installed Ruby at Windows using a one-click Ruby installer
ruby185-21.exe.
1. I installed GSL 1.8 with MingW/MSYS sucessfully.
2. Try % ruby setup.rb config failed and the error information is like
below
···
========================================================
---> lib
---> lib/gsl
<--- lib/gsl
<--- lib
---> ext
c:/ruby/bin/ruby c:/Software/Ruby/rb-gsl-1.8.3/ext/extconf.rb
checking gsl version...
c:/Software/Ruby/rb-gsl-1.8.3/ext/extconf.rb:146: Check GSL>=0.9.4 is
installed, and the command "gsl-config" is in search path.
(RuntimeError)
setup.rb:535:in `command': 'system c:/ruby/bin/ruby
c:/Software/Ruby/rb-gsl-1.8.3/ext/extconf.rb ' failed (RuntimeError)
from setup.rb:1112:in `extconf'
from setup.rb:1107:in `config_dir_ext'
from setup.rb:1321:in `__send__'
from setup.rb:1321:in `traverse'
from setup.rb:1338:in `dive_into'
from setup.rb:1319:in `traverse'
from setup.rb:1313:in `exec_task_traverse'
from setup.rb:1308:in `each'
from setup.rb:1308:in `exec_task_traverse'
from setup.rb:1097:in `exec_config'
from setup.rb:878:in `exec_config'
from setup.rb:710:in `__send__'
from setup.rb:710:in `invoke'
from setup.rb:674:in `invoke'
from setup.rb:1352
Then I found if I changed
---------------------------------------------------
if /mingw/ =~ RUBY_PLATFORM
GSL_CONFIG = "sh gsl-config"
else
GSL_CONFIG = "gsl-config"
end
to
GSL_CONFIG = "sh gsl-config"