Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82520

Summary: rmagick compilation fails
Product: Gentoo Linux Reporter: brian
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description brian 2005-02-18 20:03:48 UTC
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
Comment 1 Mathias Gumz 2005-02-21 14:59:30 UTC
reason is:

http://rubyforge.org/forum/forum.php?forum_id=2240

would be nice to see this header installed via the imagemagick-ebuild.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-03-16 08:01:15 UTC
Can you try with the latest imagemagick ebuild and rmagick bindings?
Comment 3 rob holland (RETIRED) gentoo-dev 2005-08-24 09:20:33 UTC
please reopen when/if you have time :)