[ebuild U ] media-gfx/imagemagick-6.2.2.0-r1 [6.2.2.0] +X +cups -debug +doc -fpx +graphviz +jbig +jpeg +lcms +mpeg +perl +png +tiff +truetype +wmf +xml2 0 kB ... Magick++ --with-magick-plus-plus=yes yes PERL --with-perl=no no PNG --with-png=yes yes ... I noticed also that the build script is checking for a number of apps/libs I can't find any corresponding (optional) dependencies for, e.g. dcraw, mozilla, gimp, autotrace, povray, enscript, ...
That's a slight misleading (and intentional). Read further down the ebuild. If perl is in your use flags, the perl modules for imagemagick get built independantly. We force imagamagick to do the initial build without perlmagick support because what it builds is linked within /var/tmp/ space in a horrible, icky, sad fashion (and fairly broken at that). That should address the perl portion of this bug anyway :)
I see. And the perl stuff is indeed correctly installed. Should have had a look at the ebuild. :/ Maybe it'd be good to add an einfo about it, otherwise you'll see a dupe of this bug before long. Shall I open another bug regarding the missing dependencies or do we reuse this one?
Well, since the media-gfx group is assigned this bug, I'll just pull perl out of the list :) As for the warning/info...maybe a comment in the ebuild, but to be honest most folks don't bother looking at the ebuilds until they have problems :)
adjusted summary
Add ghostscript to the list. ImageMagick can use ghostscript - if it's correctly installed: i.e. if you not only have /usr/lib/libgs.* but /usr/include/ghostscript/{errors.h,iapi.h} as well it can use it without spawning another process. Of course ebuild for ghostscript does not install errors.h and iapi.h files so it's kinda moot point... P.S. I've checked: if you'll unpack espgs-7.07.1-source.tar.bz2 and put errors.h and iapi.h from it to /usr/include/ghostscript ImageMagick will be happy...
6.2.5.4 respects USE nocxx/png/gs/perl