Number: 1539
Title: No PNG or JPG output available in RHEL 4 RPM
Submitter: Guenter Burgstaller
Date: Wed Dec 17 03:29:31 2008
Subsys: Dot
Version: 2.20.3
System: x86-Linux-CentOS 4.7 i.e. RHEL 4
Severity: major
Problem:
After installing the package via graphviz-rhel.repo using

yum install graphviz.i386

there is no support for PNG or JPG output:


# dot -Tfoo
Format: "foo" not recognized. Use one of: canon cmap cmapx cmapx_np dia dot eps fig hpgl imap imap_np ismap mif mp pcl pic plain plain-ext ps ps2 svg svgz tk vml vmlz vtx xdot

However, if I compile it from source there is PNG and JPG support available. Unfortunately, with the self-compiled version, I keep getting "Error: Could not find/open font".
Comments:
[ellson] entos-4 doesn't have pango/cairo support, so you need graphviz-gd to be able to use -Tpng. The PNGs generated by libgd are not anti-aliased.

In the development snapshot rpms I have added a Requires: graphviz-gd to the graphviz rpm for centos-4 and earlier so that this will happen automagically.
Owner: ellson
Status: Fixed (17 Dec 2008)