# Installing rb-gsl-1.7.0 on Windows

**URL:** <https://www.ruby-forum.com/t/installing-rb-gsl-1-7-0-on-windows/101968>\
**Category:** Ruby\
**Created:** [August 8, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/installing-rb-gsl-1-7-0-on-windows/101968 "2006-08-08T23:09:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [August 8, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/installing-rb-gsl-1-7-0-on-windows/101968/1 "2006-08-08T23:09:30Z")

</div>

Maybe I’m being dense but I’m trying to install GSL on Windows.

I’m trying to take the precompiled route with the rb-gsl-1.7.0 tarball  
([http://codeforpeople.com/lib/ruby/rb-gsl-win/](http://codeforpeople.com/lib/ruby/rb-gsl-win/)) and I unzip it into  
c:/rb-gsl-1.7.0. The instructions specify that the gsl-config must be  
in the search path so I ensure that my path has my ruby executable  
(1.8.4) and has the rb-gsl-1.7.0 directory included.

Yet, when I execute the setup I get the following:

checking gsl version… C:/rb-gsl-1.7.0/ext/extconf.rb:143: 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:/rb-gsl-1.7.0/ext/extconf.  
rb ’ failed (RuntimeError)

Is my gsl-config not in the path somehow? Or do I need some other GSL  
package previously installed? Should I be install through MS command  
prompt, or Cygwin (I’ve tried both, same message).

Alternatively, I’ve tried compiling my own binaries through Cygwin and  
I’m still waiting for those to finish compiling, but when I did it the  
first run through I didn’t specify the prefix (which I figure messed it  
up).

Anyway, any information you can provide as far as getting GSL onto my  
Windows environment would be great.

Thanks,

Andrew

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [August 8, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/installing-rb-gsl-1-7-0-on-windows/101968/2 "2006-08-08T23:24:42Z")

</div>

On Wed, 9 Aug 2006, Andrew Foerster wrote:

> checking gsl version… C:/rb-gsl-1.7.0/ext/extconf.rb:143: Check
> 
> Alternatively, I’ve tried compiling my own binaries through Cygwin and  
> I’m still waiting for those to finish compiling, but when I did it the  
> first run through I didn’t specify the prefix (which I figure messed it  
> up).

(and it shouldn’t have ‘:’ in it!)

> Anyway, any information you can provide as far as getting GSL onto my  
> Windows environment would be great.
> 
> Thanks,
> 
> Andrew

all you should need to do is unpack the source, then run

ruby install.rb

try that and let me know how it goes - i’ve mananged to install it on  
several  
machines that way. the setup.rb/README stuff if for compiling it  
ourself.

-a

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [August 8, 2006, 11:47pm UTC](https://www.ruby-forum.com/t/installing-rb-gsl-1-7-0-on-windows/101968/3 "2006-08-08T23:47:45Z")

</div>

Smashing! That did it. I was tearing my hear out about the config and  
whatnot and all I had to do was a simple install.

Thank you very much for the tip,

Andrew

unknown wrote:

> On Wed, 9 Aug 2006, Andrew Foerster wrote:
> 
> > checking gsl version… C:/rb-gsl-1.7.0/ext/extconf.rb:143: Check
> > 
> > Alternatively, I’ve tried compiling my own binaries through Cygwin and  
> > I’m still waiting for those to finish compiling, but when I did it the  
> > first run through I didn’t specify the prefix (which I figure messed it  
> > up).
> 
> (and it shouldn’t have ‘:’ in it!)
> 
> > Anyway, any information you can provide as far as getting GSL onto my  
> > Windows environment would be great.
> > 
> > Thanks,
> > 
> > Andrew
> 
> all you should need to do is unpack the source, then run
> 
> ruby install.rb
> 
> try that and let me know how it goes - i’ve mananged to install it on  
> several  
> machines that way. the setup.rb/README stuff if for compiling it  
> ourself.
> 
> -a

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [August 9, 2006, 12:00am UTC](https://www.ruby-forum.com/t/installing-rb-gsl-1-7-0-on-windows/101968/4 "2006-08-09T00:00:44Z")

</div>

On Wed, 9 Aug 2006, Andrew Foerster wrote:

> Smashing! That did it. I was tearing my hear out about the config and  
> whatnot and all I had to do was a simple install.
> 
> Thank you very much for the tip,
> 
> Andrew

guess i should have put an INSTALL file in there eh ;-( sorry!

-a
