Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ImageMagick won't compile!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Figaro
n00b
n00b


Joined: 26 Apr 2002
Posts: 57
Location: earth.us.tx.austin

PostPosted: Fri May 09, 2008 1:30 pm    Post subject: [SOLVED] ImageMagick won't compile! Reply with quote

Alright, I've been messing with this for far too long, time to get it resolved. I'm assuming it's not a bug just because I haven't seen anybody else reporting it.

Any idea what's wrong?

Package: media-gfx/imagemagick-6.3.8.3-r1
Relevant Output:
Code:
X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      = -lSM -lICE
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr
  EXEC-PREFIX     = /usr
  VERSION         = 6.3.8
  CC              = i686-pc-linux-gnu-gcc
  CFLAGS          = -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -W -pthread
  MAGICK_CFLAGS   = -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -W -pthread
  CPPFLAGS        = -I/usr/include
  PCFLAGS         =
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = -lfreetype -lz
  MAGICK_LDFLAGS  = -L/usr/lib -lfreetype -lz
  LIBS            = -lMagick -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread
  CXX             = i686-pc-linux-gnu-g++
  CXXFLAGS        = -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -W -pthread

coders/avi.c: In function 'ReadAVIImage':
coders/avi.c:1031: warning: variable 'image' might be clobbered by 'longjmp' or 'vfork'
ltdl/ltdl.c: In function 'load_deplibs':
ltdl/ltdl.c:796: warning: unused parameter 'deplibs'
magick/xml-tree.c: In function 'NewXMLTreeTag':
magick/xml-tree.c:2121: warning: dereferencing type-punned pointer will break strict-aliasing rules
magick/xml-tree.c:2122: warning: dereferencing type-punned pointer will break strict-aliasing rules
magick/resize.c: In function 'HorizontalFilter':
magick/resize.c:1760: warning: ignoring #pragma omp parallel
magick/resize.c: In function 'VerticalFilter':
magick/resize.c:1967: warning: ignoring #pragma omp parallel
magick/fx.c: In function 'ConvolveImageChannel':
magick/fx.c:544: warning: ignoring #pragma omp parallel
magick/effect.c: In function 'BlurImageChannel':
magick/effect.c:1070: warning: ignoring #pragma omp parallel
magick/effect.c:1135: warning: ignoring #pragma omp parallel
magick/effect.c: In function 'UnsharpMaskImageChannel':
magick/effect.c:3716: warning: ignoring #pragma omp parallel
Checking if your kit is complete...
Looks good
Warning: -L../magick/.libs changed to -L/var/tmp/portage/media-gfx/imagemagick-6.3.8.3-r1/work/ImageMagick-6.3.8/PerlMagick/../magick/.libs
Note (probably harmless): No library found for -lWand
Writing Makefile for Image::Magick
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
Magick.xs:212: warning: missing initializer
Magick.xs:212: warning: (near initialization for 'Methods[8].arguments')
Magick.xs:216: warning: missing initializer
Magick.xs:216: warning: (near initialization for 'Methods[11].arguments')
Magick.xs:217: warning: missing initializer
Magick.xs:217: warning: (near initialization for 'Methods[12].arguments')
Magick.xs:218: warning: missing initializer
Magick.xs:218: warning: (near initialization for 'Methods[13].arguments')
Magick.xs:225: warning: missing initializer
Magick.xs:225: warning: (near initialization for 'Methods[16].arguments')
Magick.xs:227: warning: missing initializer
Magick.xs:227: warning: (near initialization for 'Methods[18].arguments')
Magick.xs:316: warning: missing initializer
Magick.xs:316: warning: (near initialization for 'Methods[45].arguments')
Magick.xs:332: warning: missing initializer
Magick.xs:332: warning: (near initialization for 'Methods[50].arguments')
Magick.xs:335: warning: missing initializer
Magick.xs:335: warning: (near initialization for 'Methods[52].arguments')
Magick.xs:351: warning: missing initializer
Magick.xs:351: warning: (near initialization for 'Methods[61].arguments')
Magick.xs:354: warning: missing initializer
Magick.xs:354: warning: (near initialization for 'Methods[64].arguments')
Magick.xs:397: warning: missing initializer
Magick.xs:397: warning: (near initialization for 'Methods[83].arguments')
Magick.xs:424: warning: missing initializer
Magick.xs:424: warning: (near initialization for 'Methods[95].arguments')
Magick.xs:425: warning: missing initializer
Magick.xs:425: warning: (near initialization for 'Methods[96].arguments')
Magick.xs:429: warning: missing initializer
Magick.xs:429: warning: (near initialization for 'Methods[98].arguments')
Magick.xs:430: warning: missing initializer
Magick.xs:430: warning: (near initialization for 'Methods[99].arguments')
Magick.xs:431: warning: missing initializer
Magick.xs:431: warning: (near initialization for 'Methods[100].arguments')
Magick.xs:438: warning: missing initializer
Magick.xs:438: warning: (near initialization for 'Methods[103].arguments')
Magick.xs: In function 'constant':
Magick.xs:552: warning: unused parameter 'sans'
Magick.c: In function 'XS_Image__Magick_AcquireImagePixels':
Magick.c:2258: warning: unused variable 'ref'
Magick.c:2254: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Animate':
Magick.c:2408: warning: unused variable 'ref'
Magick.c:2403: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Append':
Magick.c:2483: warning: unused variable 'ref'
Magick.c:2478: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Average':
Magick.c:2615: warning: unused variable 'ref'
Magick.c:2610: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_BlobToImage':
Magick.c:2707: warning: unused variable 'ref'
Magick.c:2702: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Copy':
Magick.c:2857: warning: unused variable 'ref'
Magick.c:2852: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Coalesce':
Magick.c:2943: warning: unused variable 'ref'
Magick.c:2938: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_CompareLayers':
Magick.c:3027: warning: unused variable 'ref'
Magick.c:3022: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_DESTROY':
Magick.c:3156: warning: unused variable 'ref'
Magick.c: In function 'XS_Image__Magick_Display':
Magick.c:3240: warning: unused variable 'ref'
Magick.c:3235: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Flatten':
Magick.c:3315: warning: unused variable 'ref'
Magick.c:3310: warning: unused variable 'ix'
Running Mkbootstrap for Image::Magick ()
Magick.c: In function 'XS_Image__Magick_Fx':
Magick.c:3446: warning: unused variable 'ref'
Magick.c:3441: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Get':
Magick.c:3599: warning: unused variable 'ref'
Magick.c:3594: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_GetImagePixels':
Magick.c:4838: warning: unused variable 'ref'
Magick.c:4834: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_GetIndexes':
Magick.c:4987: warning: unused variable 'ref'
Magick.c:4983: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Histogram':
Magick.c:5054: warning: unused variable 'ref'
Magick.c:5049: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_GetPixel':
Magick.c:5170: warning: unused variable 'ref'
Magick.c:5165: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_GetPixels':
Magick.c:5371: warning: unused variable 'ref'
Magick.c:5366: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_ImageToBlob':
Magick.c:5613: warning: unused variable 'ref'
Magick.c:5608: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Layers':
Magick.c:5712: warning: unused variable 'ref'
Magick.c:5707: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_MagickToMime':
Magick.c:6025: warning: unused variable 'ref'
Magick.c:6021: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Mogrify':
Magick.c:6054: warning: unused variable 'ref'
Magick.c: In function 'XS_Image__Magick_Montage':
Magick.c:8968: warning: unused variable 'ref'
Magick.c:8963: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Morph':
Magick.c:9372: warning: unused variable 'ref'
Magick.c:9367: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Mosaic':
Magick.c:9497: warning: unused variable 'ref'
Magick.c:9492: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Ping':
Magick.c:9581: warning: unused variable 'ref'
Magick.c:9576: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Preview':
Magick.c:9787: warning: unused variable 'ref'
Magick.c:9782: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryColor':
Magick.c:9881: warning: unused variable 'ref'
Magick.c:9876: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryColorname':
Magick.c:9958: warning: unused variable 'ref'
Magick.c:9953: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryFont':
Magick.c:10029: warning: unused variable 'ref'
Magick.c:10024: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryFontMetrics':
Magick.c:10145: warning: unused variable 'ref'
Magick.c:10140: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryMultilineFontMetrics':
Magick.c:10510: warning: unused variable 'ref'
Magick.c:10505: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryFormat':
Magick.c:10875: warning: unused variable 'ref'
Magick.c:10870: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_QueryOption':
Magick.c:10964: warning: unused variable 'ref'
Magick.xs:11290: warning: label 'PerlException' defined but not used
Magick.c:10959: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Read':
Magick.c:11022: warning: unused variable 'ref'
Magick.c:11017: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Remote':
Magick.c:11228: warning: unused variable 'ref'
Magick.c:11223: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Set':
Magick.c:11276: warning: unused variable 'ref'
Magick.c:11271: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_SetPixel':
Magick.c:11335: warning: unused variable 'ref'
Magick.c:11330: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Statistics':
Magick.c:11558: warning: unused variable 'ref'
Magick.c:11553: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_SyncImagePixels':
Magick.c:11730: warning: unused variable 'ref'
Magick.c:11726: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Transform':
Magick.c:11793: warning: unused variable 'ref'
Magick.c:11788: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Write':
Magick.c:11955: warning: unused variable 'ref'
Magick.c:11950: warning: unused variable 'ix'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lWand
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[1]: *** [all-perl] Error 2
make: *** [all] Error 2
 *
 * ERROR: media-gfx/imagemagick-6.3.8.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2364:  Called die
 * The specific snippet of code:
 *       emake || die "compile problem"
 *  The die message:
 *   compile problem
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.3.8.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.3.8.3-r1/temp/environment'.
 *

 * Messages for package media-gfx/imagemagick-6.3.8.3-r1:

Info:
Code:
Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Xeon(TM) CPU 3.20GHz
Timestamp of tree: Thu, 08 May 2008 01:45:03 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect cvs digest distlocks metadata-transfer multilib-strict sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j -s -l 2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/doug/doug"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa avahi berkdb branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cdrom cisco clamav cli colordiff cpudetection cracklib crypt css cups curl dbus dell deprecated directfb disk-partition divx dri dv dvd dvdr dvdread eds emerald emovix encode enscript evo exif fat fbcon ffmpeg firefox flac fortran ftp fuse gcj gdbm geoip gif gimp gimpprint gmedia gnome gnome-print gpm gstreamer gtk gtkhtml gzip h323 hal highlight http iconv id3 id3tag ieee1394 imagemagick imap ipod ipod-writing ithreads jabber java jpeg jpeg2k kerberos lame latex ldap libnotify libsexy libssh2 lm_sensors mad mailwrapper md5sum mdnsresponder-compat midi mime mimencode mjpeg mmxext mod_python mono moznocompose moznoirc moznomail moznopango moznoroaming mp3 mp4 mpd mpeg mpeg2 mplayer mudflap musicbrainz mysql nautilus ncurses nls nodrm normalize nptl nptlonly nsplugin ntfs nvidia ogg openal opengl openid openmp pam pcre pda pdf perl png ppds pppd pulseaudio python quicktime rar rdesktop readline reflection regex reiser4 reiserfs replaygain rhythmbox rss session sftp smp snmp soap soundex sox speex spell spl sql sqlite sqlite3 sse ssl startup-notification subversion svg svgz swig sysfs szip tagwriting tcl tcpd tetex tex themes theora threads tidy tiff transcode trayicon truetype unicode unzip usb vcd vhosts vim vim-pager vim-syntax vnc vncviewer vorbis vorbis-psy wav wavpack webdav win32codecs wma wmf x264 x86 xcomposite xine xiph xml xmlreader xmlrpc xorg xosd xplanet xrandr xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy auth_digest" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by Figaro on Sat May 10, 2008 2:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Figaro
n00b
n00b


Joined: 26 Apr 2002
Posts: 57
Location: earth.us.tx.austin

PostPosted: Fri May 09, 2008 7:16 pm    Post subject: Ouch....it's always the simple things. Reply with quote

MAKEOPTS="-j1" emerge imagemagick

I guess it doesn't parallelize very well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum