Installing rb-gsl-1.7.0 on Windows

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/) 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

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

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs