[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Installing rb-gsl-1.7.0 on Windows

Andrew Foerster

8/8/2006 9:10:00 PM

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

--
Posted via http://www.ruby-....

3 Answers

Ara.T.Howard

8/8/2006 9:24:00 PM

0

Andrew Foerster

8/8/2006 9:48:00 PM

0

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


--
Posted via http://www.ruby-....

Ara.T.Howard

8/8/2006 10:00:00 PM

0