Forum: Ruby compiling gsl for one-click ruby (sorta solved)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cb48ca5059faf7409a5ab3745a964696?d=identicon&s=25 unknown (Guest)
on 2006-04-10 22:39
(Received via mailing list)
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
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2006-04-11 05:13
(Received via mailing list)
On 4/10/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> 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
D8831c4665a164c6ce484003deb1afd6?d=identicon&s=25 Guillaume Marcais (Guest)
on 2006-04-12 16:47
(Received via mailing list)
Le 10 avr. 06, à 16:38, ara.t.howard@noaa.gov 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.
Fcf7ea21671402bd1726cafc35be727b?d=identicon&s=25 Gavan Mcgrath (bluey)
on 2008-05-02 04:25
> 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.
Ac0085dae0703db56ad7f8cb9e1798ba?d=identicon&s=25 Phillip Gawlowski (Guest)
on 2008-05-02 04:55
(Received via mailing list)
-----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/brow...

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

iEYEARECAAYFAkgagogACgkQbtAgaoJTgL9IjwCfc7GBWRV051rUytTEtLnJ6s1G
vFsAnic6naDQu9jsngtjYMEDFEIG2dDK
=MVAe
-----END PGP SIGNATURE-----
1bac2e65d64faf472cf2ebc94f0f5ee0?d=identicon&s=25 ara.t.howard (Guest)
on 2008-05-02 05:16
(Received via mailing list)
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/
1bac2e65d64faf472cf2ebc94f0f5ee0?d=identicon&s=25 ara.t.howard (Guest)
on 2008-05-02 05:51
(Received via mailing list)
On May 1, 2008, at 8:54 PM, Phillip Gawlowski 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/
Ac0085dae0703db56ad7f8cb9e1798ba?d=identicon&s=25 Phillip Gawlowski (Guest)
on 2008-05-02 06:09
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ara.t.howard wrote:
|
| On May 1, 2008, at 8:54 PM, Phillip Gawlowski 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. ;)

- --
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...]
-----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-----
1bac2e65d64faf472cf2ebc94f0f5ee0?d=identicon&s=25 ara.t.howard (Guest)
on 2008-05-02 06:27
(Received via mailing list)
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. ;)

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/
Fcf7ea21671402bd1726cafc35be727b?d=identicon&s=25 Gavan Mcgrath (bluey)
on 2008-05-05 06:24
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/
This topic is locked and can not be replied to.