Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82520 - rmagick compilation fails
Summary: rmagick compilation fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 20:03 UTC by brian
Modified: 2005-08-24 09:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)