ellson / MOTHBALLED-graphviz

Moved to https://gitlab.com/graphviz/graphviz
Eclipse Public License 1.0
1.29k stars 255 forks source link

Format: "pdf" not recognized. #1180

Open balaramr opened 7 years ago

balaramr commented 7 years ago

Hi,

I have built graphviz 2.38.0 from source. I am using ubuntu 1404. Installation is missing "pdf" plugins. I tired all options in documentation. Kindly help to resolve this issue.

ubuntu1404@balraj01> dot -v dot - graphviz version 2.38.0 (20140413.2041) libdir = “/opt/graphviz-2.38.0/lib/graphviz" Activated plugin library: libgvplugin_dot_layout.so.6 Using layout: dot:dot_layout Activated plugin library: libgvplugin_core.so.6 Using render: dot:core Using device: dot:dot:core The plugin configuration file: /opt/graphviz-2.38.0/lib/graphviz/config6 was successfully loaded. render : dot fig gd map pic pov ps svg tk vml vrml xdot layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi textlayout : textlayout device : canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4 loadimage : (lib) eps gd gd2 gif jpe jpeg jpg png ps svg xbm

ERROR: ubuntu1404@balraj01> echo "graph test {}" | dot -Tpdf -o test.pdf Format: "pdf" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4 ubuntu1404@balraj01>ubuntu1404@balraj01>

magneticnorth commented 7 years ago

Bala, you need to build the cairo pango based drivers to generate PDF. I believe libcairo-dev and libpango-dev must be installed. You should see HAVE_PANGOCAIRO in graphviz/config.h and you should find relevant tests in the config.log when you build graphviz.

On Dec 7, 2016, at 5:17 AM, Bala notifications@github.com wrote:

Hi,

I have built graphviz 2.38.0 from source for my machine. I am using ubuntu 1404. Installation is missing "pdf" plugins. I tired all options in documentation. Kindly help to resolve this issue.

ubuntu1404@balraj01> dot -v dot - graphviz version 2.38.0 (20140413.2041) libdir = “/opt/graphviz-2.38.0/lib/graphviz" Activated plugin library: libgvplugin_dot_layout.so.6 Using layout: dot:dot_layout Activated plugin library: libgvplugin_core.so.6 Using render: dot:core Using device: dot:dot:core The plugin configuration file: /opt/graphviz-2.38.0/lib/graphviz/config6 was successfully loaded. render : dot fig gd map pic pov ps svg tk vml vrml xdot layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi textlayout : textlayout device : canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4 loadimage : (lib) eps gd gd2 gif jpe jpeg jpg png ps svg xbm

ERROR: ubuntu1404@balraj01> echo "graph test {}" | dot -Tpdf -o test.pdf Format: "pdf" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4 ubuntu1404@balraj01>ubuntu1404@balraj01>

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/graphviz/issues/1180, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtWz9G6zOeyjUeh7UJwKRf9obl3tzV1ks5rFoejgaJpZM4LGaya.