* Didrik Pinte ([EMAIL PROTECTED]) wrote: > Package: sqlfairy > Version: 0.08-1 > Severity: normal > Tags: patch > > > Hi, > > When using the following command : > > [EMAIL PROTECTED]:~/db$ sqlt-diagram --from=MySQL -o test.png > --natural-join db_prod_scheme_14072007.sql > Error: translate: Error with producer 'SQL::Translator::Producer::Diagram': > Can't locate object method "new" via package "Graph::Directed" (perhaps you > forgot to load "Graph::Directed"?) at > /usr/share/perl5/SQL/Translator/Schema.pm > line 95. > > The --natural-join command causes problem. The correction in the code is > simple. You only need to add a "use Graph::Directed" at line 95 of the > Schema.pm file (see patch in attachement).
Thanks, I've applied the patch. Unfortunately something has broken the test suite (see http://bugs.debian.org/427309) and I'm not able to build it and I haven't had time to fix it. -- Eric Dorland <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6
signature.asc
Description: Digital signature