[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

How to build Ruby on Windows

Matt Mower

10/28/2004 10:01:00 PM

Hi folks.

I've added a page to Ruby garden documenting how I built Ruby 1.8.2
(stable snapshot) for Windows:

http://www.rubygarden.org/ruby?HowToBuil...

I had considerable assistance in this process from the folks in #RPA
-- thank you. I'd be interested in suggestions for improving either
the instructions or the process.

Regards,

Matt


10 Answers

Aredridel

10/28/2004 10:04:00 PM

0

On Fri, 29 Oct 2004 07:01:14 +0900, Matt Mower <matt.mower@gmail.com> wrote:
> Hi folks.
>
> I've added a page to Ruby garden documenting how I built Ruby 1.8.2
> (stable snapshot) for Windows:
>
> http://www.rubygarden.org/ruby?HowToBuil...

Wow, Matt, nicely documented!


Alexander Kellett

10/29/2004 8:28:00 AM

0

On Fri, Oct 29, 2004 at 07:01:14AM +0900, Matt Mower wrote:
> http://www.rubygarden.org/ruby?HowToBuil...

this is getting to be a ****ing joke.
i'm sick of people moaning about the
solutions that may provide problems
for accessibility restricted people
cus until we get complaints frankly
i don't think we should waste our
time. will someone PLEASE FIX THE
FREAKING WIKI IMPLEMENTATIONS????

Alex


gabriele renzi

10/29/2004 8:43:00 AM

0

Matt Mower ha scritto:

> Hi folks.
>
> I've added a page to Ruby garden documenting how I built Ruby 1.8.2
> (stable snapshot) for Windows:
>
> http://www.rubygarden.org/ruby?HowToBuil...
>
> I had considerable assistance in this process from the folks in #RPA
> -- thank you. I'd be interested in suggestions for improving either
> the instructions or the process.
>

very nice. You could have asked for the main page of rubygarden, maybe ;)

Anyway, something that could be added is: wat extension libraries got
compiled?
how to allow the compilation of elements of the standard lib such as
zlib/curses/openssl? Wich packages am I supposed to get ?

Matt Mower

10/29/2004 10:51:00 AM

0

On Fri, 29 Oct 2004 17:43:58 +0900, gabriele renzi
<rff_rff@remove-yahoo.it> wrote:
> Anyway, something that could be added is: wat extension libraries got
> compiled?
> how to allow the compilation of elements of the standard lib such as
> zlib/curses/openssl? Wich packages am I supposed to get ?
>

This is an interesting question. My understanding from editing
ext/Setup and the build results is that zlib, curses & openssl
*should* be in there... however:

|Matt@KISMET ~
|$ irb
|irb(main):001:0> require 'zlib'
|require 'zlib'
|LoadError: No such file to load -- zlib
| from (irb):1:in `require'
| from (irb):1
|irb(main):002:0>

So something isn't quite right. Given my lack of experience with
Ruby, and the minimal-learning approach I took to building it, this is
perhaps not an unexpected result.

On the other hand I do want to get this to work properly so I will
endeavour to work out what's wrong and fix it.

Regards,

Matt


Kaspar Schiess

10/29/2004 12:25:00 PM

0

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

Hello Matt,

You should get libz (or so) and openssl library... This link
~ http://sourceforge.net/project/showfiles.php?gro...
might help, but I remember having to build openssl with quite a few
compile-foo tricks.

best regards,
kaspar

hand manufactured code - www.tua.ch/ruby
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail....

iD8DBQFBgjilFifl4CA0ImQRAkkjAJ0S83eTUo6h4hmeYbJQt9fz21Ot5gCfaAsv
px7MsJ3MO+O4ApenC+H38I4=
=YwVg
-----END PGP SIGNATURE-----



Randy W. Sims

10/29/2004 5:23:00 PM

0

Kaspar Schiess wrote:
> Hello Matt,
>
> You should get libz (or so) and openssl library... This link
> ~ http://sourceforge.net/project/showfiles.php?gro...
> might help, but I remember having to build openssl with quite a few
> compile-foo tricks.

You might also want to check out:

<http://sourceforge.net/project/showfiles.php?group_id...

lots and lots and lots of native ports of *nix libs and utils for Windows.

Randy.


Stephan Kämper

10/31/2004 11:23:00 AM

0

Hi,

Matt Mower wrote:
>
> I've added a page to Ruby garden documenting how I built Ruby 1.8.2
> (stable snapshot) for Windows:
>
> http://www.rubygarden.org/ruby?HowToBuil...
>
> I had considerable assistance in this process from the folks in #RPA
> -- thank you. I'd be interested in suggestions for improving either
> the instructions or the process.

Nice work.

What exactly is the benefit of linking the modules statically? Why
would you want do do that (as it's apparently not the standard setting)?

Happy rubying (and building)

Stephan

Matt Mower

10/31/2004 11:37:00 AM

0

On Sun, 31 Oct 2004 20:23:54 +0900, Stephan Kämper
<stephan.kaemper@schleswig-holstein.de> wrote:
> > I've added a page to Ruby garden documenting how I built Ruby 1.8.2
> > (stable snapshot) for Windows:
> >
> > http://www.rubygarden.org/ruby?HowToBuil...
> >
> > I had considerable assistance in this process from the folks in #RPA
> > -- thank you. I'd be interested in suggestions for improving either
> > the instructions or the process.
>
> Nice work.
>
> What exactly is the benefit of linking the modules statically? Why
> would you want do do that (as it's apparently not the standard setting)?
>

I'm not sure what you mean. Can you please explain?

Regards,

Matt



Stephan Kämper

10/31/2004 12:22:00 PM

0

Hi,

Matt Mower wrote:
>>What exactly is the benefit of linking the modules statically? Why
>>would you want do do that (as it's apparently not the standard setting)?
>
> I'm not sure what you mean. Can you please explain?

Sure.

The section "How to compile and install" of the README file in the Ruby
distribution states ()lines 67 ff.):

> 4. Remove comment mark(#) before the module names from ext/Setup
> (or add module names if not present), if you want to link modules
> statically.

At http://www.rubygarden.org/ruby?HowToBuil... you wrote:

> Make this directory your current directory and edit ./ext/Setup?.
> If you're in the MinGW shell and you're familiar with it you can
> use vi otherwise just use whatever windows editor you're used to.
> Remove the # from the beginning of each of the modules but leave
> option nodynamic commented out. Save the file & exit the editor.

The combination seems to imply that you suggest to build Ruby with
statically linked modules.

I'd just like to know what's the advantage of this (compared to dyn.
linking - which is the default setting, since it's commented out in
ext/Setup).

Happy rubying

Stephan

Matt Mower

10/31/2004 1:15:00 PM

0

Hi Stephan,

On Sun, 31 Oct 2004 21:23:59 +0900, Stephan Kämper
<stephan.kaemper@schleswig-holstein.de> wrote:
> The section "How to compile and install" of the README file in the Ruby
> distribution states ()lines 67 ff.):
>
> > 4. Remove comment mark(#) before the module names from ext/Setup
> > (or add module names if not present), if you want to link modules
> > statically.
>

Hmm... I can't remember why I did that. Maybe I read (or misread?)
something? Something to come back to I guess.

If you anyone has any feelings either way please make a note in the wiki page.

Thanks for explaining.

Matt