[BioRuby] Installing Ruby 1.9 on CentOS 5.4

Peter Cock p.j.a.cock at googlemail.com
Mon Nov 7 10:49:38 UTC 2011


On Mon, Nov 7, 2011 at 9:59 AM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> On Sat, Nov 5, 2011 at 12:10 PM, Naohisa Goto
>> And then, configureing Ruby. For using libraries installed other than
>> system-wide directory, additional options to specify paths of C header
>> files and libraries shoud be given to CPPFLAGS, LDFLAGS, etc.
>>
>>  $ tar zxvf ruby-1.9.3-p0.tar.gz
>>  $ cd ruby-1.9.3-p0
>>  $ ./configure --prefix=$HOME \
>>   CPPFLAGS="-I$HOME/lib/libffi-3.0.10/include -I$HOME/include" \
>>   LDFLAGS="-L$HOME/lib -Wl,-rpath,$HOME/lib"
>>  $ make
>>  $ make check
>>  $ make install
>>
>> ...
>>
>> FYI, I have very very old RedHat 4.6 (x86_64), and I've successfully
>> installed ruby-1.9.3-p0 in my home directory without root privilege.
>
> That was very encouraging, as it is almost exactly what I'm trying to do :)
> I think it was the flags that I was missing.
>
> I also did "gem install soap4r-ruby1.9" as you suggested, and now
> BioRuby's test pass using ruby-1.9.3-p0:

This 64 bit Linux machine and a 32bit Linux box are now setup and
running as buildslaves for BioRuby, bringing us to three slaves so far:

http://testing.open-bio.org/bioruby/buildslaves

Next up: My Windows machine...

Peter




More information about the BioRuby mailing list