It looks like imagemagick's xwindow.h is not being copied into /usr/include/magick. If I manually fix that, there's still the problem with GetImageQuantumDepth and a silly typedef error (I think the rmagick authors tried to name a member of an enum something that had already been defined). In file included from rmimage.c:9: rmagick.h:90: error: parse error before numeric constant rmimage.c:16:46: magick/xwindow.h: No such file or directory rmimage.c: In function `Image_capture': rmimage.c:555: error: `XImportInfo' undeclared (first use in this function) rmimage.c:555: error: (Each undeclared identifier is reported only once rmimage.c:555: error: for each function it appears in.) rmimage.c:555: error: parse error before "ximage_info" rmimage.c:559: warning: implicit declaration of function `XGetImportInfo' rmimage.c:559: error: `ximage_info' undeclared (first use in this function) rmimage.c:588: warning: implicit declaration of function `XImportImage' rmimage.c:588: warning: assignment makes pointer from integer without a cast rmimage.c: In function `Image_quantum_depth': rmimage.c:5241: error: too few arguments to function `GetImageQuantumDepth' I'm using imagemagick 6.1.8.8. All available rmagick versions fail. Reproducible: Always Steps to Reproduce: emerge rmagick
reason is: http://rubyforge.org/forum/forum.php?forum_id=2240 would be nice to see this header installed via the imagemagick-ebuild.
Can you try with the latest imagemagick ebuild and rmagick bindings?
please reopen when/if you have time :)