Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
imagemagick-6.8.6.8 wont build [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Wed Sep 18, 2013 4:36 am    Post subject: imagemagick-6.8.6.8 wont build [SOLVED] Reply with quote

imagemagick-6.8.6.8 wont build for me....the only error I can see in the build log are:

Code:

libtool: relink: /bin/grep -E -e ".*" "filters/.libs/analyze.exp" > "filters/.libs/analyze.expT"
libtool: install: error: relink `coders/aai.la' with the above command before installing it
make[3]: *** [install-codersLTLIBRARIES] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: relink: mv -f "filters/.libs/analyze.expT" "filters/.libs/analyze.exp"
libtool: relink: echo "{ global:" > filters/.libs/analyze.ver
libtool: relink:  cat filters/.libs/analyze.exp | sed -e "s/\(.*\)/\1;/" >> filters/.libs/analyze.ver
libtool: relink:  echo "local: *; };" >> filters/.libs/analyze.ver
libtool: relink:  i686-pc-linux-gnu-gcc -std=gnu99 -std=gnu99 -shared  -fPIC -DPIC  filters/.libs/filters_analyze_la-analyze.o   -Wl,--as-needed -L/var/tmp/portage/media-gfx/imagemagick-6.8.6.8/image//usr/lib -L/usr/lib -lMagickCore-6.Q16 -L/usr/lib/gcc/i686-pc-linux-gn$
 /usr/bin/install -c -m 644 magick/signature.h magick/splay-tree.h magick/statistic.h magick/stream.h magick/string_.h magick/studio.h magick/timer.h magick/token.h magick/transform.h magick/threshold.h magick/type.h magick/utility.h magick/version.h magick/widget.h mag$
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagickCore-6.Q16
collect2: ld returned 1 exit status
libtool: install: error: relink `filters/analyze.la' with the above command before installing it
make[3]: *** [install-filtersLTLIBRARIES] Error 1

..
..
..
..
/usr/bin/install -c -m 644 ./www/api/MagickWand/wand_8h-source.html /var/tmp/portage/media-gfx/imagemagick-6.8.6.8/image//usr/share/doc/imagemagick-6.8.6.8/html/www/api/MagickWand
/usr/bin/install -c -m 644 ./www/api/MagickWand/wandtest_8c.html /var/tmp/portage/media-gfx/imagemagick-6.8.6.8/image//usr/share/doc/imagemagick-6.8.6.8/html/www/api/MagickWand
make[3]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.8.6.8/work/ImageMagick-6.8.6-8'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.8.6.8/work/ImageMagick-6.8.6-8'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.8.6.8/work/ImageMagick-6.8.6-8'
make: *** [install] Error 2
 * ERROR: media-gfx/imagemagick-6.8.6.8::gentoo failed (install phase):
 *   emake failed


anyone got any idea how to fix this ?

mod edit by i92guboj: please, use the code tags when pasting config files and command line output, it makes the whole thing much easier to read in GUI browsers. ;)


Last edited by col on Thu Sep 19, 2013 7:50 am; edited 1 time in total
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Wed Sep 18, 2013 8:19 am    Post subject: Reply with quote

Please post the output of emerge --info. Thank you.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Wed Sep 18, 2013 11:13 am    Post subject: Reply with quote

emerge --info

Code:

Portage 2.2.1 (default/linux/x86/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo i686)
=================================================================
System uname: Linux-3.8.13-gentoo-i686-AMD_Phenom-tm-_II_X4_20_Processor-with-gentoo-2.2
KiB Mem:    12464440 total,   3499664 free
KiB Swap:   12739540 total,  12732128 free
Timestamp of tree: Tue, 17 Sep 2013 23:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.8-r3, 2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo bleeding-edge java-overlay rion
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=barcelona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/bleeding-edge /var/lib/layman/java-overlay /var/lib/layman/rion"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alaw alsa amr apache2 asterisk berkdb bluetooth branding bzip2 cairo cdda cddb cdr clearpasswd cleartype cli consolekit corefonts cpudetection cracklib crypt cups curl cxx dba dbus declarative diskio divx djbfft dri dts dvb dvd dvdr dvdread emboss encode exif expat extensions extrafilters extras faac faad fam ffmpeg fftw firefox flac fortran g722 g729 gd gdbm gif gmedia gnutls gpm gtk httpd iconv imap imlib ios iphone ipv6 ithreads jbig jpeg jpeg2k jpg kde kerberos kipi lcms ldap libnotify lirc lm-sensors lua lzo mad mbrola milter mmx mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit posix ppds qt3support qt4 quicktime readline real realmedia rtsp sdl semantic-desktop sendmail server session sndfile snmp speex spell sse sse2 ssl startup-notification stream svg tcpd threads tiff truetype type1 udev udisks ulaw unicode upower usb utempter v4l v4l2 vdpau vorbis wav wavpack win32codecs wma wmp wxwidgets wxwindows x264 x86 xcb xcomposite xinerama xml xscreensaver xv xvid zlib zvbi" ABI_X86="32" 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" 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 asis threads cgi" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Back to top
View user's profile Send private message
przemas_r
n00b
n00b


Joined: 18 Sep 2013
Posts: 1

PostPosted: Wed Sep 18, 2013 11:27 am    Post subject: Reply with quote

Code:

sudo MAKEOPTS=-j1 emerge -av imagemagick --oneshot


solved this problem for me.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Wed Sep 18, 2013 10:31 pm    Post subject: Reply with quote

przemas_r wrote:
Code:

sudo MAKEOPTS=-j1 emerge -av imagemagick --oneshot


solved this problem for me.


great....worked for me as well

thankyou.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Mon Sep 23, 2013 3:44 am    Post subject: Reply with quote

przemas_r wrote:
Code:

sudo MAKEOPTS=-j1 emerge -av imagemagick --oneshot


solved this problem for me.
Please file a bug, any package that successfully builds with MAKEOPTS="-j1" but fails with higher values of -j${n} for multiple users almost certainly has a bug in its Makefile(s) which should be fixed, especially considering that these sorts of bugs rarely become lesser problems over time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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