[BioRuby] installing bio::graphics / cairo

Bernd Jagla baj2107 at columbia.edu
Sat Oct 27 22:23:35 UTC 2007


Hi guys,

I guess I am having problems installing rcairo. At least that is my
conclusion...

I am working on Windows XP.
I installed ruby and bioruby etc (see gem list output below)

Ruby -v gives:
C:\ruby>ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]

I copied the cairo libraries into the bin directory of ruby:
Dir bin (see below)

Now I created a file called test.rb with one line in it:

Execiting the script gives me the following error message:
require 'bio-graphics'

C:\Documents and Settings\bernd\ruby>ruby test.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- cairo (LoadError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/bio-graphics-1.2/lib/bio-graphics.rb:10
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
        from test.rb:1


Could you please comment and make some suggestions on get this going?

Thanks,

Bernd

============================================================
C:\ruby>dir bin
 Volume in drive C has no label.
 Volume Serial Number is C86C-B674

 Directory of C:\ruby\bin

10/27/2007  05:52 PM    <DIR>          .
10/27/2007  05:52 PM    <DIR>          ..
10/27/2007  10:16 AM               351 bioruby
10/27/2007  10:16 AM                32 bioruby.bat
10/27/2007  10:16 AM                32 bioruby.cmd
10/27/2007  10:16 AM               358 br_biofetch.rb
10/27/2007  10:16 AM                39 br_biofetch.rb.cmd
10/27/2007  10:16 AM               357 br_bioflat.rb
10/27/2007  10:16 AM                38 br_bioflat.rb.cmd
10/27/2007  10:16 AM               359 br_biogetseq.rb
10/27/2007  10:16 AM                40 br_biogetseq.rb.cmd
10/27/2007  10:16 AM               357 br_pmfetch.rb
10/27/2007  10:16 AM                38 br_pmfetch.rb.cmd
10/27/2007  10:34 AM    <DIR>          data
03/15/2007  06:33 AM             4,216 erb.bat
03/15/2007  11:51 PM                25 fxri.bat
03/15/2007  11:51 PM               245 fxri.rbw
03/15/2007  11:51 PM            21,504 gdbm.dll
03/15/2007  11:32 PM               701 gem
03/15/2007  11:51 PM               650 gem.bat
10/26/2007  07:27 PM                27 gemhelp.bat
03/15/2007  11:32 PM             3,201 gemlock
03/15/2007  11:38 PM               108 gemlock.cmd
03/15/2007  11:32 PM               515 gemri
03/15/2007  11:38 PM               106 gemri.cmd
03/15/2007  11:51 PM             1,354 gemwhich.bat
03/15/2007  11:51 PM             1,777 gem_mirror.bat
03/15/2007  11:51 PM            11,246 gem_server.bat
03/15/2007  11:48 PM           237,568 glut32.dll
03/15/2007  11:48 PM            28,728 glut32.lib
03/15/2007  11:51 PM           872,448 iconv.dll
03/15/2007  11:51 PM             6,144 iconv.exe
03/15/2007  11:32 PM             7,947 index_gem_repository.rb
03/15/2007  11:51 PM                98 inputrc.euro
03/15/2007  11:51 PM               442 irb.bat
08/20/2007  09:06 PM           536,734 libcairo-2.dll
03/15/2007  11:51 PM         1,077,248 libeay32.dll
03/15/2007  11:48 PM           147,456 libexpat.dll
03/15/2007  11:48 PM           151,552 libexpatw.dll
03/15/2007  11:51 PM           401,462 msvcp60.dll
03/15/2007  06:33 AM           864,321 msvcrt-ruby18.dll
03/15/2007  11:51 PM           282,624 openssl.exe
03/15/2007  11:51 PM            72,192 pdcurses.dll
10/27/2007  10:34 AM    <DIR>          plugin
03/15/2007  11:49 PM             5,514 proxyserver.rb
10/27/2007  05:52 PM               352 rails
10/27/2007  05:52 PM                30 rails.cmd
03/15/2007  11:39 PM               399 rake
03/15/2007  11:51 PM               471 rake.bat
03/15/2007  11:51 PM             1,598 rdoc
03/15/2007  06:33 AM             1,804 rdoc.bat
03/15/2007  11:51 PM           136,192 readline.dll
03/15/2007  11:51 PM             1,528 ri
03/15/2007  06:33 AM             1,732 ri.bat
03/15/2007  06:33 AM            20,536 ruby.exe
03/15/2007  06:33 AM            20,537 rubyw.exe
10/27/2007  10:34 AM    <DIR>          session
03/15/2007  11:49 PM            12,167 sqlsh.rb
03/15/2007  11:51 PM           200,704 ssleay32.dll
03/15/2007  06:33 AM               354 testrb.bat
03/15/2007  11:32 PM               649 update_rubygems
03/15/2007  11:51 PM               599 update_rubygems.bat
03/15/2007  11:38 PM               116 update_rubygems.cmd
03/15/2007  11:37 PM            59,904 zlib1.dll
              59 File(s)      5,199,826 bytes
               5 Dir(s)  43,921,285,120 bytes free

========================================================
C:\ruby>gem list

*** LOCAL GEMS ***

actionmailer (1.3.5)
    Service layer for easy email delivery and testing.

actionpack (1.13.5)
    Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.2.5)
    Web service support for Action Pack.

activerecord (1.15.5)
    Implements the ActiveRecord pattern for ORM.

activesupport (1.4.4)
    Support and utility classes used by the Rails framework.

bio (1.0.0)
    Bioinformatics library

bio-graphics (1.2)
    Library for visualizing genomic regions

fxri (0.3.6)
    Graphical interface to the RI documentation, with search engine.

fxruby (1.6.6)
    FXRuby is the Ruby binding to the FOX GUI toolkit.

hpricot (0.4)
    a swift, liberal HTML parser with a fantastic library

log4r (1.0.5)
    Log4r is a comprehensive and flexible logging library for Ruby.

rails (1.2.5)
    Web-application framework with template engine, control-flow layer,
    and ORM.

rake (0.7.2)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation

win32-clipboard (0.4.1)
    A package for interacting with the Windows clipboard

win32-dir (0.3.1)
    Extra constants and methods for the Dir class on Windows.

win32-eventlog (0.4.3)
    Interface for the MS Windows Event Log.

win32-file (0.5.3)
    Extra or redefined methods for the File class on Windows.

win32-file-stat (1.2.3)
    A File::Stat class tailored to MS Windows

win32-process (0.5.1)
    Adds fork, wait, wait2, waitpid, waitpid2 and a special kill method

win32-sapi (0.1.3)
    An interface to the MS SAPI (Sound API) library.

win32-sound (0.4.0)
    A package for playing with sound on Windows.

windows-pr (0.6.2)
    Windows functions and constants predefined via Win32API





More information about the BioRuby mailing list