I want to install media-video/vlc. Some other package wanted me to compile graphviz with png support (sorry, dont't know the name of the other package). i added png to the USE flags but same error after this. Viewing the ebuild and the ./configure --help showed me that there are two options: --with-pnglibdir --with-pngincludedir which aren't handled by the ebuild. diff file (i hope it is right, i'm new to ebuild developing): 17c17 < IUSE="doc examples gnome gtk nls pango perl python ruby X tcl tk" --- > IUSE="doc examples gnome gtk nls pango perl python ruby X tcl tk png" 139a140,144 > if use png; then > myconf=$myconf . " --with-pnglibdir=/usr/lib > --with-pngincludedir=/usr/include" > fi > Reproducible: Always Steps to Reproduce: 1. emerge graphviz 2. emerge vlc Expected Results: $? == 0 ;)
There's completely no point in introducing a use flag for a mandatory dependency. Plus, what exactly you mean here? There's no such thing like --with-png in graphviz, PNG support of part of GD features - if you don't compile GD w/ USE=png, you won't have then. So, what's the request here exactly?
(In reply to comment #1) > There's completely no point in introducing a use flag for a mandatory > dependency. Plus, what exactly you mean here? There's no such thing like > --with-png in graphviz, PNG support of part of GD features - if you don't > compile GD w/ USE=png, you won't have then. So, what's the request here > exactly? > graphviz ./configure --help shows the options --with-pnglibdir & --with-pnginclude dir. I installed vlc => vlc needs another package (libdvd or sth like that). This package aborted configuring with the error that i need have to recompile graphbiz with png support. after changing the ebuild as mentioned above all worked fine.
Eh, none of libdvd* stuff we have depends on graphviz, not even remotely (what would be the point of that doesn't even make sense, graphiz has no DVD-related features). We really need some real errors when you file a bug, instead of being left out guessing what the problem (or even what the affected package name) is.
ahh :( sorry, but my scrollback was set to small. the dependency is from vlc ... i "think" it was the package media-libs/libdvbpsi. This package aborted with the following error: You need to recompile media-gfx/graphviz with png support. I found no way to compile graphviz with png support rather than editing the ebuild.
<snip> $ dot -Txxx Renderer type: "xxx" not recognized. Use one of: canon cmap cmapx dia dot fig gd gd2 gif glitz gtk hpgl imap ismap jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg svgz vrml vtx wbmp xdot xlib </snip> That's what the ebuild does. Works just fine here: [ebuild R ] media-gfx/graphviz-2.12 USE="X -doc -examples -gnome gtk nls pango perl python ruby -tcl -tk" 0 kB Anyway, as noted above... This is media-libs/gd feature and you need media-libs/gd w/ USE=png for this to work... Dupe of Bug 181147. *** This bug has been marked as a duplicate of bug 181147 ***