How to build Ruby on MinGW?

Discussion in 'Ruby' started by Toby Dipasquale, Apr 17, 2007.

  1. Hi all,

    Does anyone have a howto or instruction list on how to build Ruby 1.8.x
    (preferably .6) under MinGW *with* binary extensions e.g. Zlib and
    OpenSSL?

    I can't find any docs/articles on that and the one from ruby-lang.org is
    somewhat broken (complains of fcntl() not being implemented).

    When I try to build it with a ./configure ; make ; make install, the
    ruby interpreter builds fine, but zlib, openssl, etc. do not build
    binaries for use with it (I have MinGW/MSYS installed already).

    Any ideas? Thanks.

    --
    Toby DiPasquale

    --
    Posted via http://www.ruby-forum.com/.
     
    Toby Dipasquale, Apr 17, 2007
    #1
    1. Advertising

  2. Toby Dipasquale wrote:
    > Hi all,
    >
    > Does anyone have a howto or instruction list on how to build Ruby 1.8.x
    > (preferably .6) under MinGW *with* binary extensions e.g. Zlib and
    > OpenSSL?
    >
    > I can't find any docs/articles on that and the one from ruby-lang.org is
    > somewhat broken (complains of fcntl() not being implemented).
    >
    > When I try to build it with a ./configure ; make ; make install, the
    > ruby interpreter builds fine, but zlib, openssl, etc. do not build
    > binaries for use with it (I have MinGW/MSYS installed already).
    >
    > Any ideas? Thanks.


    I got a little farther in the build (zlib, but no openssl still) but
    I've since stopped as the MinGW build of Ruby still exhibits the broken
    I/O behavior described here:

    http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/229801

    I will have to use Python or Perl for this. Oh well...

    --
    Toby DiPasquale

    --
    Posted via http://www.ruby-forum.com/.
     
    Toby Dipasquale, Apr 18, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sam Smith
    Replies:
    0
    Views:
    1,226
    Sam Smith
    Oct 18, 2004
  2. Uwe Schmitt

    build python using mingw

    Uwe Schmitt, Sep 17, 2003, in forum: Python
    Replies:
    2
    Views:
    426
    John J. Lee
    Sep 18, 2003
  3. xeno fears
    Replies:
    1
    Views:
    524
    Martin v. Löwis
    Oct 4, 2009
  4. Kaspar Schiess
    Replies:
    0
    Views:
    138
    Kaspar Schiess
    Jul 7, 2004
  5. Barry Seen

    [Failed build ruby with mingw]

    Barry Seen, Dec 9, 2005, in forum: Ruby
    Replies:
    0
    Views:
    274
    Barry Seen
    Dec 9, 2005
Loading...

Share This Page