Failed to emerge media-gfx/imagemagick-

By , last updated September 2, 2011

If you’ve upgraded Perl on your Gentoo box to 5.12, and tries to reemerge ImageMagick, you might get this error:

Could not find a typemap for C type 'Image::Magick' in Magick.xs, line 2404
make[3]: *** [Magick.c] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-'
make[2]: *** [install-exec-perl] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-'
make: *** [install] Error 2
 * ERROR: media-gfx/imagemagick- failed (install phase):
 *   emake failed
 * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-',
 * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-'.
 * S: '/var/tmp/portage/media-gfx/imagemagick-'

>>> Failed to emerge media-gfx/imagemagick-, Log file:

>>>  '/var/tmp/portage/media-gfx/imagemagick-'

Reemerge with:

 # USE="-perl" emerge -av imagemagick

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-gfx/imagemagick-  USE="bzip2 corefonts cxx jpeg openmp png tiff truetype xml zlib -X -autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -lqr -lzma -opencl -openexr -perl -q32 -q64 -q8 -raw -static-libs -svg -webp -wmf" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

After some minutes:

>>> Recording media-gfx/imagemagick in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

You might also want to update /etc/portage/package.use with “media-gfx/imagemagick -perl” if you don’t need Perl with ImageMagick.


Be the first to comment.

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>