GraphViz under Mac OS X
In case you are trying to install the Perl module GraphViz under Mac OS X 10.4.x, you might need this script.
First, install a decent version of GraphViz. I use this snapshots of Graphviz by Ryan Schmidt. Be careful not to use this version on MacIntel's, the package is PPC-only.
After this is done, add /usr/local/graphviz-2.12/bin to your PATH.
Second, while installing the GraphViz module via CPAN, one of the dependencies is IPC::Run, which might fail on your system. It's a know issue with FreeBSD that seems to also be present on Mac OS X. It hangs while testing t/pty.t.
To skip those tests, do this:
- inside
cpanshell, typelook IPC::Run; - edit
t/pty.t, go to line 97 (looks something like this:my $platform_skip = $^O =~ /(?:aix|freebsd|openbsd)/? ...; - add
|darwinafteropendbsd, save and exit; - type the usual
perl Makefile.PL && make && make test; - if all goes well, type
sudo make installor the version that works for you.
After that, you should be able to install GraphViz without any problems.
