Installing rb-gsl-1.7.0 on Windows

  • Thread starter Andrew Foerster
  • Start date
A

Andrew Foerster

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
 
A

ara.t.howard

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

(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
 
A

Andrew Foerster

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
 
A

ara.t.howard

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top