Dotcat 0.4

I just realized I’ve been sitting on version 0.4 of dotcat for, oh, 6 months. Well, no longer, here it is. The big change from the previous version is that it (hopefully) does a better job of picking which nodes to keep.

Download dotcat 0.4

One Response to “Dotcat 0.4”

  1. Eric Boix Says:

    Hi,
    I was looking forward to use dotcat on a Fedora Core 6 linux install.
    At first (as perl newbie) I got surprised by missing packages (on my
    platform). But I guess I could fix this (refer at the end of post for more
    on this).

    Now, dotcat loads all it’s dependencies but when invoked on a doxygen
    generated dot file (a single one) it spits out the following message:
    get_attribute: not a compat02 graph at /usr/lib/perl5/vendor_perl/5.8.8/Graph.pm line 2367.

    Line 2367 of that Graph.pm corresponds to the subroutine _attr02_123
    which seems to check for “$g->is_compat02″. Any clue and any hint welcomed !
    Thanks
    Yours
    Eric Boix.

    ——————————————————————————
    # Caveat emptor: perl newbie suggestions !!!!

    # Grab version 0.4:
    # Install on Fedora core 6:
    wget http://zovirl.com/2006/03/files/dotcat4.zip
    unzip dotcat4.zip

    # Launching the expanded dotcat perl script will fail. Suggested fixes follow:

    # For Class/MethodMaker.pm
    yum install perl-Class-MethodMaker

    # For Graph.pm
    yum search perl-Graph

    # Forgot what it was for: not needed !?
    yum install perl-GraphViz

    # For Graph/Reader/Dot.pm
    # First: because perl-Graph-ReadWrite requires XML::Write:
    yum install perl-XML-Writer
    # and then:
    wget http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc7/i386/RPMS.dries/perl-Graph
    -ReadWrite-2.00-1.2.fc7.rf.noarch.rpm

    # Because of message:
    # Can’t locate object method “new” via package “Graph::Directed” (perhaps you forgot
    # to load “Graph::Directed”?) at ./dotcat line 453.
    # add line “use Graph::Directed;” (without “” of course) circa line 512 to obtain:
    use Graph;
    use Graph::Directed;
    use Graph::Reader::Dot;

    # dotcat script should now load properly ?!?!

Leave a Reply

Comment moderation is on, so you won't see your comment right away.