How to build Ruby on MinGW?

T

Toby Dipasquale

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.
 
T

Toby Dipasquale

Toby said:
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...
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top