Package: libgv-ruby
Version: 2.12-5
Severity: important

Hi graphviz maintainer,

Thank you for shipping packages of the bindings, which may provide nice
interface for light-weight language programmers.

However, it seems libgv-ruby is completely broken.  I tried to run a
demo script in the source package, but failed:

  noritada[0:24]%  find . -name "*.rb"              
terra:~/tmp/pkg/graphviz-2.12
  ./config/config_ruby.rb
  ./tclpkg/gv/demo/modgraph.rb
  noritada[0:24]%  ruby tclpkg/gv/demo/modgraph.rb  
terra:~/tmp/pkg/graphviz-2.12
  tclpkg/gv/demo/modgraph.rb:7:in `require': no such file to load -- gv 
(LoadError)
          from tclpkg/gv/demo/modgraph.rb:7

I find that the so file is installed in /usr/lib/graphviz/ruby, which is
not the default library search path for Ruby, and that the file is not
named as gv.so, which is checked by Ruby when users wrote "require 'gv'":

  noritada[0:27]%  dpkg -L libgv-ruby | grep so     
terra:~/tmp/pkg/graphviz-2.12
  /usr/lib/graphviz/ruby/libgv_ruby.so

So, I think you should install /usr/lib/ruby/1.8/gv.so, which is a
symlink to this file.  You did the job at least for lua ;-)

 graphviz (2.12-5) unstable; urgency=low
  .
  [snip]
   * Fixed libgv-lua (Closes: #439525):
  [snip]
         - Add a symlink from /usr/lib/lua5.1/gv.so to the .so in /usr/lib.
  [snip]

(SWIG just provides low-level interface with script languages.  Ideally,
a higher-level interface should be built on this interface and that
interface should be shipped as /usr/lib/ruby/1.8/gv.rb instead of
/usr/lib/ruby/1.8/gv.so.  However, such a interface does not seem to be
available for Graphviz so far...)

Many thanks!

-nori


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to