Support Requests: Browse | Submit New | Admin

[#29286] Unable to install gem on Window XP

2011-06-18 06:47
Submitted By:
Todd Moyer (toddmoyer)
Assigned To:
Nobody (None)
Install Problem (example)
Unable to install gem on Window XP

Detailed description
Please help, any advice is appreciated. Output as follows...

C:\Documents and Settings\Todd\My Documents\Downloads\rb-gsl-1.14.7>gem install
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing gsl:
        ERROR: Failed to build gem native extension.

C:/Ruby191/bin/ruby.exe extconf.rb
sh: gsl-config: No such file or directory
*** 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:
extconf.rb:237:in `rescue in <main>': Check GSL>=0.9.4 is installed, and the command "gsl-config"
is in search path. (RuntimeError)
        from extconf.rb:138:in `<main>'
checking gsl version...

Gem files will remain installed in C:/Ruby191/lib/ruby/gems/1.9.1/gems/gsl-1.14.7 for inspection.
Results logged to C:/Ruby191/lib/ruby/gems/1.9.1/gems/gsl-1.14.7/ext/gem_make.out

Add A Comment: Notepad

Please login


Date: 2011-12-18 15:39
Sender: Mikhail Polovnev

Looks like you doesn't have gsl library installed.

Try following:

1. Download GSL sources ( to some folder
inside <DevKitDir>\home\Todd\

2. Extract it

3. Run the MSYS shell   ( <DevKitDir>\msys.bat )

4. Enter the GSL sources and type
  $ ./configure
  $ make
  $ make install

5. Check if gsl-config works
  $ gsl-config --version

5. run 
  $ gem install gsl --platform=ruby
inside your msys shell.

Now installer tries to compile gem... but fails.
There are others issues like this

I'll write as soon as i find a full solution

Attached Files:

Name Description Download
No Files Currently Attached


No Changes Have Been Made to This Item