in reply to GraphViz.pm on Mac -- CPAN dependency hell

Are you running an ActiveState build of perl ? According to http://ppm.activestate.com/BuildStatus/5.8-C.html they have ppm packages (for Darwin) for Convert::ASN1 and Crypt::DES_EDE3. The build of Class::ErrorHandler is reported as failing for Darwin, but if you click on the "FAIL" link you'll see that the report claims that the build was successful. So, maybe it's there as a ppm after all. If not, download the source from CPAN, extract, and build manually ... or use CPAN to do it if you want. Of course, I doubt that Crypt::OpenPGP is needed for GraphViz - it's more'n'likely something that CPAN.pm wants you to install for its own verification procedures. (CPAN.pm is excellent but I hate it, don't use it, and know little about it.)

It seems to me that you've nearly got GraphViz installed. It has built ok, but one of the test scripts fails - because "@executable_path/../Frameworks/graphviz.framework/Versions/A/graphviz" can't be found. That's a pretty weird looking name for a directory. It looks to me that "@executable_path" might have been taken literally rather than interpolated. In any case it would be a good idea to learn something more about why that failure occurs. You can run that script separately as 'perl -Mblib t/foo.t'. Have a hack at it - see what you come up with. Perhaps it's only a bug in t/foo.t that's standing between you and success.

You could also simply force the install of GraphViz if you want - and see if it behaves properly for you. If it doesn't, then that bad installation will be overwritten next time you do a 'make install' of GraphViz.

Cheers,
Rob
  • Comment on Re: GraphViz.pm on Mac -- CPAN dependency hell

Replies are listed 'Best First'.
Re^2: GraphViz.pm on Mac -- CPAN dependency hell
by punkish (Priest) on Sep 18, 2006 at 03:36 UTC
    You pointed me in the right direction. The funky graphviz directory is being sought by the dot program that was compiled as part of the GraphViz binary created by pixelglow folks http://www.pixelglow.com/graphviz. Both you and jasonk further pointed me in the right direction by prodding me to ditch ActiveState, and roll my own. Its gonna be painful, but trial by fire and all that... so, I am doing that as we speak, and the compiler is chugging away in the background.

    Its just all those dependencies... looking at Graphviz (the program, not the perl module), that dang package has sixty zillion packages it depends on, and one or more are bound to make me want to reach for Zantac.

    --

    when small people start casting long shadows, it is time to go to bed