Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002452graphvizGraph Librariespublic2014-05-13 05:592014-05-13 12:50
Assigned Toellson 
StatusresolvedResolutionno change required 
Platformx86_64OSlinuxOS Version2.6.32-279.el6.x
Summary0002452: -Tgif works but png is missing in the device list
Descriptiondot - graphviz version 2.38.0 (20140413.2041)
libdir = "/opt/third-party-apps/lib/graphviz"
Activated plugin library:
Using layout: dot:dot_layout
Activated plugin library:
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
                was successfully loaded.
    render : dot fig gd map pic pov ps svg tk vml xdot
    layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
    textlayout :
    device : canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz wbmp xdot xdot1.2 xdot1.4
    loadimage : (lib) eps gd gd2 gif jpe jpeg jpg png ps svg
grep png /opt/third-party-apps/lib/graphviz/config6
                png:svg 1
                png:fig 1
#FAILS png:vrml 1
                png:map 1
                png:dot 1
                png:xdot 1
                png:vml 1
grep gif /opt/third-party-apps/lib/graphviz/config6
                gif:gd 1
                gif:ps 1
#FAILS gif:lasi 1
                gif:gd 1
                gif:svg 1
                gif:fig 1
#FAILS gif:vrml 1
                gif:map 1
                gif:dot 1
                gif:xdot 1
                gif:vml 1
                gif:tk 1
Steps To Reproduce./configure --prefix=/opt/third-party-apps LDFLAGS="-L/opt/third-party-apps/lib" CPPFLAGS="-I/opt/third-party-apps/include"
make install
Additional Information/opt/third-party-apps/lib/
/opt/third-party-apps/lib/ ->
/opt/third-party-apps/lib/ ->
TagsNo tags attached.
Attached Fileslog file icon config.log (Attachment missing)

- Relationships

-  Notes
User avatar (0000740)
ellson (administrator)
2014-05-13 07:04

Using GD provides a minimilist dot, I suppose, but the rendering quality is really poor as lines are unaliased. I recommend using pango+cairo instead.

That said, GD should be capable of -Tpng, assuming libgd was built with png support?

Could you attach your config.log so I can see what config found?
User avatar (0000741)
gheiss (reporter)
2014-05-13 07:38

uploaded config.log
User avatar (0000742)
ellson (administrator)
2014-05-13 08:19

You have no png support in your libgd. Graphviz uses the features advertised in the output of: gdlib-config --features
If GD_PNG is set there, then ./configure would set HAVE_GD_PNG.

( Or possibly you don't have gd-devel installed? )

My recommendation is that you forget libgd, and instead install pango and fontconfig (you already have cairo and freetype)

I assume you also realize that we have ready-built rpms available for EL6 ?
User avatar (0000743)
gheiss (reporter)
2014-05-13 08:33

Issue resolved.
With pango -Tpng works now.
Thank you very much!!!

- Issue History
Date Modified Username Field Change
2014-05-13 05:59 gheiss New Issue
2014-05-13 07:04 ellson Note Added: 0000740
2014-05-13 07:37 gheiss File Added: config.log
2014-05-13 07:38 gheiss Note Added: 0000741
2014-05-13 08:19 ellson Note Added: 0000742
2014-05-13 08:33 gheiss Note Added: 0000743
2014-05-13 12:50 erg Assigned To => ellson
2014-05-13 12:50 erg Status new => resolved
2014-05-13 12:50 erg Resolution open => no change required

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker