Re: One-Click Installer: MinGW? or VC2005? (fwd)

cross-posting this for completeness…


suffering increases your inner strength. also, the wishing for
makes the suffering disappear.

  • h.h. the 14th dali lama

---------- Forwarded message ----------
Date: Fri, 21 Jul 2006 09:35:14 -0600 (MDT)
From: [email protected]
To: [email protected]
Subject: Re: One-Click Installer: MinGW? or VC2005?

On Sat, 22 Jul 2006, Austin Z. wrote:

On 7/18/06, U.Nakamura [email protected] wrote:

Even if you choose either, you will have to compile all sources
by the compiler as which you chose.

Mmm. This may or may not be the case. This is why I have been trying
to collect information for an ongoing conversation with Microsoft.
They are … concerned that we are still using VC6 as our compiler and
want to see what can be helped to provide better support for moving
Ruby to VC8.

here’s an example showing the abis of the c libs are not compatible:

[email protected] C:/msys/1.0/home/Ara/build/narray-0.5.8
$ /c/ruby/bin/ruby -r ./ -e’ p NArray ’
./ 127: The specified procedure (isacii) could not be
found. -
./ (LoadError)

[email protected] C:/msys/1.0/home/Ara/build/narray-0.5.8
$ /c/usr/local/bin/ruby -r ./ -e’ p NArray ’

to reproduce

  • install msys

  • build an msys ruby:

    • export LD_LIBRARY_PATH=/c/usr/local/lib
    • export LD_RUN_PATH=/c/usr/local/lib
    • download ruby
    • unpack
    • ./configure --prefix=/c/usr/local && make && make install
  • download and build narray using msys ruby:

    ruby extconf.rb && make && make install

if you’ve managed to install both the one-click and an msys ruby this
will demonstrate the issue (obviously run it from msys command line):

 #! /bin/bash


 unset RUBYOPT

 cd ~
 mkdir build 2>/dev/null
 cd build



 tar xvfz narray-0.5.8.tar.gz
 cd narray-0.5.8
 $msys_ruby extconf.rb && make && make install
 $msys_ruby -r narray -e'  puts "you just installed #{ NArray }"  '

 $msys_ruby -r ./ -e'  p "msys narray success!"  '
 $one_click_ruby -r ./ -e'  p "one_click_ruby narray 

success!" ’

 cd ~

i’ll be out of town all weekend, hopefully this is valuable info.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs