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

On 4/10/06, [email protected] [email protected] wrote:

  • 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

Le 10 avr. 06, à 16:38, [email protected] a écrit :

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.

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.

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

the last year or so on this topic, so window users like me must have
given up or moved on.

Help appreciated.

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/

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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


Phillip G.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgagogACgkQbtAgaoJTgL9IjwCfc7GBWRV051rUytTEtLnJ6s1G
vFsAnic6naDQu9jsngtjYMEDFEIG2dDK
=MVAe
-----END PGP SIGNATURE-----

On May 1, 2008, at 8:54 PM, Phillip G. 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.

a @ http://codeforpeople.com/

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

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

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/

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/

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ara.t.howard wrote:
|
| On May 1, 2008, at 8:54 PM, Phillip G. 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 G.
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…]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgak9EACgkQbtAgaoJTgL+jqwCggPwdmUOnjjZS5QH0A8UPC8Mc
e+EAn0aGu2Ds77eGnsK6HETDPxX1FJsU
=ftkb
-----END PGP SIGNATURE-----