gcc -fPIC -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC -Wall -I. -I/usr/lib/ruby/1.8/i686-linux-gnu -I/usr/lib/ruby/1.8/i686-linux-gnu -I/var/tmp/portage/rmagick-1.3.2/work/RMagick-1.3.2/ext/RMagick -DRUBY_VERSION=0x180 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -c rmimage.c rmimage.c: In function `Image_black_threshold': rmimage.c:623: error: `BlackThresholdImage' undeclared (first use in this function) rmimage.c:623: error: (Each undeclared identifier is reported only once rmimage.c:623: error: for each function it appears in.) rmimage.c: In function `Image_constitute': rmimage.c:1347: warning: implicit declaration of function `ImportImagePixels' rmimage.c: In function `Image_dispatch': rmimage.c:1706: warning: implicit declaration of function `ExportImagePixels' rmimage.c: In function `Image_random_channel_threshold': rmimage.c:4066: warning: implicit declaration of function `RandomChannelThresholdImage' rmimage.c: In function `Image_white_threshold': rmimage.c:5497: error: `WhiteThresholdImage' undeclared (first use in this function) make: *** [rmimage.o] Error 1 setup failed 'system make' failed try 'ruby install.rb --help' for usage !!! ERROR: dev-ruby/rmagick-1.3.2 failed. !!! Function src_compile, Line 19, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge -U rmagick 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22-gentoo-test-r1) ================================================================= System uname: 2.4.22-gentoo-test-r1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="no" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.2/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="oss apm encode foomaticdb gtk2 libg++ mad mikmod ncurses nls quicktime spell xv gtkhtml gdbm berkdb slang readline tetex aalib bonobo svga tcltk guile ruby sdl gpm tcpd pam libwww perl esd imlib motif opengl mozilla cdr scanner acpi alsa arts avi crypt cups dga doc emacs ethereal gif -gnome gphoto2 -gtk java jpeg kde mmx mpeg oggvorbis pdflib png python qt ruby18 sip ssl tiff truetype usb X xml xml2 x86 xmms zlib"
Please tell me the output of: emerge -s magick Thanks, Tom
bash-2.05b# emerge -s magick Searching... [ Results for search key : magick ] [ Applications found : 4 ] * dev-perl/perlmagick Latest version available: 5.5.6 Latest version installed: [ Not Installed ] Size of downloaded files: 3,443 kB Homepage: http://www.imagemagick.org/ Description: A Perl module to harness the powers of ImageMagick * dev-php/PECL-imagick [ Masked ] Latest version available: 0.9.8-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 69 kB Homepage: http://pecl.php.net/imagick Description: PHP wrapper for the ImageMagick library. * dev-ruby/rmagick Latest version available: 1.3.2 Latest version installed: 1.3.1 Size of downloaded files: 1,061 kB Homepage: http://rmagick.rubyforge.org/ Description: An interface between Ruby and the ImageMagick(TM) image processing library * media-gfx/imagemagick Latest version available: 5.5.6-r1 Latest version installed: 5.5.7.11 Size of downloaded files: 3,443 kB Homepage: http://www.imagemagick.org/ Description: A collection of tools and libraries for many image formats bash-2.05b#
I'm unable to duplicate this bug on my system. Please upgrade imagemagick to 5.5.7.15 and tell me if the problem still occurs. Thanks, Tom
Problem still persists: bash-2.05b# emerge -s magick Searching... [ Results for search key : magick ] [ Applications found : 4 ] * dev-perl/perlmagick Latest version available: 5.5.6 Latest version installed: [ Not Installed ] Size of downloaded files: 3,443 kB Homepage: http://www.imagemagick.org/ Description: A Perl module to harness the powers of ImageMagick * dev-php/PECL-imagick [ Masked ] Latest version available: 0.9.8-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 69 kB Homepage: http://pecl.php.net/imagick Description: PHP wrapper for the ImageMagick library. * dev-ruby/rmagick Latest version available: 1.3.2 Latest version installed: 1.3.1 Size of downloaded files: 1,061 kB Homepage: http://rmagick.rubyforge.org/ Description: An interface between Ruby and the ImageMagick(TM) image processing library * media-gfx/imagemagick Latest version available: 5.5.6-r1 Latest version installed: 5.5.7.15 Size of downloaded files: 3,443 kB Homepage: http://www.imagemagick.org/ Description: A collection of tools and libraries for many image formats emerge -U rmagick ... make gcc -fPIC -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC -Wall -I. -I/usr/lib/ruby/1.8/i686-linux-gnu -I/usr/lib/ruby/1.8/i686-linux-gnu -I/var/tmp/portage/rmagick-1.3.2/work/RMagick-1.3.2/ext/RMagick -DRUBY_VERSION=0x180 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -c rmimage.c rmimage.c: In function `Image_black_threshold': rmimage.c:623: error: `BlackThresholdImage' undeclared (first use in this function) rmimage.c:623: error: (Each undeclared identifier is reported only once rmimage.c:623: error: for each function it appears in.) rmimage.c: In function `Image_constitute': rmimage.c:1347: warning: implicit declaration of function `ImportImagePixels' rmimage.c: In function `Image_dispatch': rmimage.c:1706: warning: implicit declaration of function `ExportImagePixels' rmimage.c: In function `Image_random_channel_threshold': rmimage.c:4066: warning: implicit declaration of function `RandomChannelThresholdImage' rmimage.c: In function `Image_white_threshold': rmimage.c:5497: error: `WhiteThresholdImage' undeclared (first use in this function) make: *** [rmimage.o] Error 1 setup failed 'system make' failed try 'ruby install.rb --help' for usage !!! ERROR: dev-ruby/rmagick-1.3.2 failed. !!! Function src_compile, Line 19, Exitcode 1 !!! (no error message)
Thanks, I'll propogate it upstream the the rmagick author. Tom
The Rubyforge bug report is: http://rubyforge.org/tracker/?func=detail&atid=133&aid=205&group_id=12 Do you have two versions of ImageMagick installed? Or have you installed GraphicsMagick yourself? Are there old ImageMagick libraries lying around? Or new header files?
> Do you have two versions of ImageMagick installed? Yes, it was an inconsistency problem. I unmerged imagemagick and rmagick, emerged both again and the problem was gone. Tom, would you please tell Tim from Rubyforge that the problem was solved? Thanx, Arent
Great, glad it's solved. Tom