[BioRuby] Installing Ruby 1.9 on CentOS 5.4

Peter Cock p.j.a.cock at googlemail.com
Fri Nov 4 17:14:01 UTC 2011


On Fri, Nov 4, 2011 at 4:41 PM, Francesco Strozzi
<francesco.strozzi at gmail.com> wrote:
> Yes maybe try to use --with-opt-dir=path/to/libyaml in configure. Hope it
> helps in resolving this issue....
> Francesco

$ ./configure prefix=$HOME --with-opt-dir=$HOME/lib
...
$ make
...
configuring objspace
configuring openssl
Failed to configure openssl. It will not be installed.
configuring pathname
configuring psych
yaml.h is missing. Please install libyaml.
Failed to configure psych. It will not be installed.
configuring pty
...

Clues! But quite what is going wrong any why configure failed to
complain is a puzzle.

I came up with a plan B, installing ruby-1.9.2-p290.tar.gz instead.
This worked, and I could run the BioRuby test suite:

$ ruby test/runner.rb
Loaded suite test/runner
Started
.....................................................................................EEEE...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 86.123565 seconds.

  1) Error:
test_log(Bio::FuncTestSOAPWSDL):
NameError: uninitialized constant Bio::SOAPWSDL::SOAP
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:63:in
`create_driver'
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:57:in
`initialize'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`new'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`setup'

  2) Error:
test_set_log(Bio::FuncTestSOAPWSDL):
NameError: uninitialized constant Bio::SOAPWSDL::SOAP
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:63:in
`create_driver'
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:57:in
`initialize'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`new'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`setup'

  3) Error:
test_set_wsdl(Bio::FuncTestSOAPWSDL):
NameError: uninitialized constant Bio::SOAPWSDL::SOAP
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:63:in
`create_driver'
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:57:in
`initialize'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`new'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`setup'

  4) Error:
test_wsdl(Bio::FuncTestSOAPWSDL):
NameError: uninitialized constant Bio::SOAPWSDL::SOAP
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:63:in
`create_driver'
    /home/buildslave/repositories/bioruby/lib/bio/io/soapwsdl.rb:57:in
`initialize'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`new'
    /home/buildslave/repositories/bioruby/test/functional/bio/io/test_soapwsdl.rb:26:in
`setup'

3704 tests, 21447 assertions, 0 failures, 4 errors, 0 skips

Test run options: --seed 21073


Anyone care to comment on this NameError?

Peter




More information about the BioRuby mailing list