Compiling gsl for one-click ruby (sorta solved)

hi all-

this weekend i managed to compile the gsl (gnu scientific library), narray,
and rb-gsl (ruby binding to gsl) under msys/mingw in a way that is compatible
with the latest one-click installer.

i had a few hiccups along the way but it was more or less straight forward.
i'd like to do a couple of things

   - clarify that a few of my fixes were the right thing to do

   - write up this process for others to be able to follow

   - package the thing up so people can use ruby/gsl under windows easily

there are definitely holes in my windows-fu, as any of you who read the list
will know, and i could really use some input from some of you windows ruby
gurus out there.

if someone feels like pinging me offline to discuss that would be fine or, if
people out there express interest and don't think it's too OT i'll just fire
off the questions here on the list.

regards.

-a

···

--
be kind whenever possible... it is always possible.
- h.h. the 14th dali lama

hi all-

this weekend i managed to compile the gsl (gnu scientific library), narray,
and rb-gsl (ruby binding to gsl) under msys/mingw in a way that is compatible
with the latest one-click installer.

i had a few hiccups along the way but it was more or less straight forward.
i'd like to do a couple of things

  - clarify that a few of my fixes were the right thing to do

  - write up this process for others to be able to follow

Feel free to write this up on the one-click installer wiki if you
like, and link to it off of the home page.

Curt

···

On 4/10/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:

  - package the thing up so people can use ruby/gsl under windows easily

there are definitely holes in my windows-fu, as any of you who read the list
will know, and i could really use some input from some of you windows ruby
gurus out there.

if someone feels like pinging me offline to discuss that would be fine or, if
people out there express interest and don't think it's too OT i'll just fire
off the questions here on the list.

regards.

-a
--
be kind whenever possible... it is always possible.
- h.h. the 14th dali lama

hi all-

this weekend i managed to compile the gsl (gnu scientific library), narray,
and rb-gsl (ruby binding to gsl) under msys/mingw in a way that is compatible
with the latest one-click installer.

i had a few hiccups along the way but it was more or less straight forward.
i'd like to do a couple of things

  - clarify that a few of my fixes were the right thing to do

  - write up this process for others to be able to follow

Please do. My Windows karma is also pretty low but I may need to compile to compile some home grown extensions. Your experience and insight would be much appreciated.

Thanks,
Guillaume.

···

Le 10 avr. 06, à 16:38, ara.t.howard@noaa.gov a écrit :

  - package the thing up so people can use ruby/gsl under windows easily

there are definitely holes in my windows-fu, as any of you who read the list
will know, and i could really use some input from some of you windows ruby
gurus out there.

if someone feels like pinging me offline to discuss that would be fine or, if
people out there express interest and don't think it's too OT i'll just fire
off the questions here on the list.

regards.

-a
--
be kind whenever possible... it is always possible.
- h.h. the 14th dali lama

this weekend i managed to compile the gsl (gnu scientific library),
narray,
and rb-gsl (ruby binding to gsl) under msys/mingw in a way that is
compatible
with the latest one-click installer.
i'd like to do a couple of things

   - write up this process for others to be able to follow

So was this ever done? I can't seem to find the one click installer
wiki where this was said to be posted. I have read a dozen or so posts
claiming to describe how to do it, but they are usually written assuming
a lot of prior knowledge and often provide only a nod and a wink about
hacking this and that without actaully describing what was done. For a
newbee that is very frustrating indeed. Posts seem to have dried up in
the last year or so on this topic, so window users like me must have
given up or moved on.

Help appreciated.

···

--
Posted via http://www.ruby-forum.com/\.

Gavan Mcgrath wrote:

So was this ever done? I can't seem to find the one click installer
wiki where this was said to be posted. I have read a dozen or so posts
claiming to describe how to do it, but they are usually written assuming
a lot of prior knowledge and often provide only a nod and a wink about
hacking this and that without actaully describing what was done. For a
newbee that is very frustrating indeed. Posts seem to have dried up in
the last year or so on this topic, so window users like me must have
given up or moved on.

Help appreciated.

Try the sandbox for the new, MinGW/MSYS based installer?

It compiles Ruby from scratch, and simple C extensions should 'Just
Work' (so, Ruby-GNOME2 probably won't, but tmail should).

<http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/1e2f1b9a3d611e3b?tvc=1&gt;

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ The purpose of writing is to inflate weak ideas, obscure pure
reasoning, and
inhibit clarity. With a little practice, writing can be an intimidating and
impenetrable fog! -- Calvin

i've done it.

bit old, but located here

http://codeforpeople.com/lib/ruby/rb-gsl-win/

grab the tarball, unpack, and run: ruby install.rb

i had to hack the source a bit.

a @ http://codeforpeople.com/

···

On May 1, 2008, at 8:26 PM, Gavan Mcgrath wrote:

So was this ever done? I can't seem to find the one click installer
wiki where this was said to be posted. I have read a dozen or so posts
claiming to describe how to do it, but they are usually written assuming
a lot of prior knowledge and often provide only a nod and a wink about
hacking this and that without actaully describing what was done. For a
newbee that is very frustrating indeed. Posts seem to have dried up in
the last year or so on this topic, so window users like me must have
given up or moved on.

Help appreciated.

--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama

fwiw my installer was done on to of mingw, so this is quite possible. took a few source hacks, however.

a @ http://codeforpeople.com/

···

On May 1, 2008, at 8:54 PM, Phillip Gawlowski wrote:

Try the sandbox for the new, MinGW/MSYS based installer?

--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama

Hey thanks. Worked a treat.
Now that I'm working with GSL I'll work on learning how to do cross
compile other libraries via MinGW.

(not so) Blue(y)

···

i've done it.

bit old, but located here

http://codeforpeople.com/lib/ruby/rb-gsl-win/

grab the tarball, unpack, and run: ruby install.rb

i had to hack the source a bit.

a @ http://codeforpeople.com/

--
Posted via http://www.ruby-forum.com/\.

ara.t.howard wrote:

Try the sandbox for the new, MinGW/MSYS based installer?

fwiw my installer was done on to of mingw, so this is quite possible.
took a few source hacks, however.

Hm, could you submit this patch to the OCI project? I'm sure these folks
are hungry for stuff like that. :wink:

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ - You know you've been hacking too long when...
...you find out that you can't get to sleep, because you are, in fact,
the program you're designing, and can't run to completion as the lower
level routines haven't been coded yet. [This may be one of the
disadvantages of top-down design...]

···

On May 1, 2008, at 8:54 PM, Phillip Gawlowski wrote:

it's been far too long for me to remember what i did - but the work is there for people to scour- sorry i can't help more right now.

but it *is* possible, complete with narray.

a @ http://codeforpeople.com/

···

On May 1, 2008, at 10:08 PM, Phillip Gawlowski wrote:

Hm, could you submit this patch to the OCI project? I'm sure these folks
are hungry for stuff like that. :wink:

--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama