View previous topic :: View next topic |
Author |
Message |
palsyboy Apprentice
Joined: 08 Jun 2004 Posts: 262 Location: USA
|
Posted: Sat Nov 18, 2006 7:34 pm Post subject: ImageMagick Won't Emerge [Solved] |
|
|
If I try to install imagemagick, I get the following error:
Code: | !!! ERROR: media-gfx/imagemagick=6.3.0.5 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
imagemagick-6.3.0.5.ebuild, line 86: Called die
!!! compile problem |
It seems to be a dependency of the GIMP, as I don't have imagemagick enabled as a USE flag. Will I lose GIMP functionality if I try to install the GIMP with USE="-imagemagick"?
I should note that it's breaking when I try to run: emerge grip gimp gimp-user-manual gimp-help gimp-freetype gimp-print kuser kicker-applets mesa-progs alsa-utils alsa-oss alsa-tools alsa-plugins kamix
Thanks.
Last edited by palsyboy on Wed Nov 22, 2006 6:02 am; edited 2 times in total |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Sat Nov 18, 2006 7:41 pm Post subject: |
|
|
That wasn't the error message, I can't figure out what's wrong from that. That's a call stack - the error message is a few lines up. Try compiling it again and post the errors it prints to the terminal. |
|
Back to top |
|
|
palsyboy Apprentice
Joined: 08 Jun 2004 Posts: 262 Location: USA
|
Posted: Sat Nov 18, 2006 7:58 pm Post subject: |
|
|
Sorry about that. Here's what it says:
Code: | /usr/lib/gcc/i686-pc-linux-gnu/4.1.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/Image/Magickr/Magick.so] Error 1
make[1]: Leaving directory '/var/tmp/portage/imagemagick-6.3.0.5./work/ImageMagick-6.3.0/PerlMagick'
make: *** [all-perl] Error 2
make: *** Waiting for unfinished jobs... |
Then it gives the call stack. |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Sat Nov 18, 2006 8:20 pm Post subject: |
|
|
Can you give me a few more lines? sorry to bother you so much. |
|
Back to top |
|
|
palsyboy Apprentice
Joined: 08 Jun 2004 Posts: 262 Location: USA
|
Posted: Sat Nov 18, 2006 9:21 pm Post subject: |
|
|
No need to apologize - you're the one helping me.
I was typing all that manually from my Linux machine to my Mac, since I don't yet have a running X-server. I decided to try getting it running so I could just copy the code over from Konsole to Firefox, but I found out that I was missing some necessary parts of make.conf. I'm now running a major emerge --newuse, so it might be a while before I get back to this thread.
At least I finally pulled my head out of my rear to figure out that ImageMagick is necessary for gimp-print, not the GIMP itself. |
|
Back to top |
|
|
quietScot n00b
Joined: 19 Nov 2006 Posts: 6 Location: Newcastle, UK
|
Posted: Sun Nov 19, 2006 12:26 pm Post subject: Same problem - found a unstatisfactory workaround |
|
|
Hi,
I've been having the same problem when emerging 'gnome-light' with imagemagick failing.
The only way I could find of fixing it is (being a relative newbie and trying to interpret other posts/internet) was to add a '-perl' flag to package.use for imagemagick . Looking at imagemagick.org there's some threads suggesting the perl element of the implementation might be a bit flaky currently.
Doing this and then emerging, imagemagick complied, but the compiler complained about not being able to find various Xorg libraries during the compile - so I don't think this is an ideal solution.
Any pointers would be appreciated. |
|
Back to top |
|
|
buckyball n00b
Joined: 28 Oct 2002 Posts: 14 Location: Fremont, CA
|
Posted: Sun Nov 19, 2006 10:02 pm Post subject: |
|
|
Here's what I get:
-SNIP-
i686-pc-linux-gnu-gcc -L../magick/.libs -lMagick -shared -L/usr/local/lib Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
-L/usr/lib -lfreetype -lz -L/usr/lib -ltiff -lfreetype -ljpeg -lfreetype -lz -lfontconfig -lexpat -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread \
chmod 755 blib/arch/auto/Image/Magick/Magick.so
Manifying blib/man3/Image::Magick.3pm
make[1]: Leaving directory `/var/tmp/portage/imagemagick-6.3.0.5/work/ImageMagick-6.3.0/PerlMagick'
!!! ERROR: media-gfx/imagemagick-6.3.0.5 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
imagemagick-6.3.0.5.ebuild, line 86: Called die
!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant. _________________ Buckyball
If it doesn't fit, force it --
if it breaks, it needed fixing anyway! |
|
Back to top |
|
|
firre n00b
Joined: 26 Jul 2004 Posts: 7
|
Posted: Mon Nov 20, 2006 10:39 pm Post subject: Re: Same problem - found a unstatisfactory workaround |
|
|
quietScot wrote: | Hi,
I've been having the same problem when emerging 'gnome-light' with imagemagick failing.
|
I just installed gentoo and was having the same problem with imagemagick when merging gnome-light.
To solve this problem I first merged imagemagick-6.2.9.5 and then imagemagick-6.3.0.5. |
|
Back to top |
|
|
blixem n00b
Joined: 17 Nov 2006 Posts: 1
|
Posted: Tue Nov 21, 2006 3:47 pm Post subject: Re: Same problem - found a unstatisfactory workaround |
|
|
firre wrote: | quietScot wrote: | Hi,
I've been having the same problem when emerging 'gnome-light' with imagemagick failing.
|
I just installed gentoo and was having the same problem with imagemagick when merging gnome-light.
To solve this problem I first merged imagemagick-6.2.9.5 and then imagemagick-6.3.0.5. |
Same problem, same fix. I just emerged 6.2.9.5 first and 6.3.0.5 emerged with zero errors. |
|
Back to top |
|
|
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Tue Nov 21, 2006 7:44 pm Post subject: |
|
|
Same problem, same fix. Installing x86 from scratch into a virtual machine. Looking back on the original error, why is the build for ImageMagick trying to include the Magick library? That recursive dependency doesn't seem right. _________________ Guy Rouillier |
|
Back to top |
|
|
togan Apprentice
Joined: 10 Jun 2004 Posts: 200 Location: Germany NRW
|
Posted: Tue Nov 21, 2006 10:09 pm Post subject: Re: Same problem - found a unstatisfactory workaround |
|
|
firre wrote: | quietScot wrote: | Hi,
I've been having the same problem when emerging 'gnome-light' with imagemagick failing.
|
I just installed gentoo and was having the same problem with imagemagick when merging gnome-light.
To solve this problem I first merged imagemagick-6.2.9.5 and then imagemagick-6.3.0.5. |
Same problem and fix,
Code: | echo ">=media-gfx/imagemagick-6.3.0.5" >> /etc/portage/package.mask
env-update
emerge imagemagick |
thanks. _________________ Gentoo 2006.1 stage1 MSI nforce 4 Athlon64 Nvidia PCI Express
Raptor74 GB + 200 GB X 2 SATA
Last edited by togan on Thu Nov 23, 2006 8:40 pm; edited 1 time in total |
|
Back to top |
|
|
palsyboy Apprentice
Joined: 08 Jun 2004 Posts: 262 Location: USA
|
Posted: Wed Nov 22, 2006 6:02 am Post subject: |
|
|
That fix worked for me, too. Thanks. |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Wed Dec 06, 2006 2:27 pm Post subject: |
|
|
On my brand new install:
Code: | MAKEOPTS="-j1" emerge imagemagick |
did the trick! _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
misterjack Veteran
Joined: 03 Oct 2004 Posts: 1655
|
Posted: Fri Dec 08, 2006 11:25 am Post subject: |
|
|
SvenFischer wrote: | On my brand new install:
Code: | MAKEOPTS="-j1" emerge imagemagick |
did the trick! |
works fine here too _________________ „Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen.“ |
|
Back to top |
|
|
millerl n00b
Joined: 26 Jul 2004 Posts: 51 Location: Coeur d'Alene
|
Posted: Tue Dec 12, 2006 4:19 am Post subject: |
|
|
That worked for me too. Thanks!
I was having the same problem!! |
|
Back to top |
|
|
cable_guy n00b
Joined: 08 Jan 2005 Posts: 17 Location: Smithers, BC
|
Posted: Sun Dec 17, 2006 10:00 pm Post subject: |
|
|
I had the same problem. -j1 worked awesome here too. _________________ What, Windows isn't 64bit yet? |
|
Back to top |
|
|
rsborn Tux's lil' helper
Joined: 10 Feb 2004 Posts: 105 Location: Webster, NY
|
Posted: Tue Dec 26, 2006 11:46 pm Post subject: Fixed mine too |
|
|
This is a brand new install under vmware (not that it matters) and the j1 seemed to take care of it for me as well
thanks,
Rick |
|
Back to top |
|
|
NickG n00b
Joined: 07 May 2005 Posts: 7 Location: UK
|
Posted: Tue Jan 02, 2007 2:00 pm Post subject: |
|
|
SvenFischer wrote: | On my brand new install:
Code: | MAKEOPTS="-j1" emerge imagemagick |
did the trick! |
This worked for me too, many thanks!
Out of curiousity, why does it work? |
|
Back to top |
|
|
cable_guy n00b
Joined: 08 Jan 2005 Posts: 17 Location: Smithers, BC
|
Posted: Mon Jan 15, 2007 12:19 am Post subject: |
|
|
I'm not positive but I have an idea. I believe that makeopts is supposed to control the number of parallel processes to use during the build. I think that one of the processes is trying to build code that is dependant on code that has yet to finish in the other process. I admit it's a bit of a guess but it makes a bit of sense to me. _________________ What, Windows isn't 64bit yet? |
|
Back to top |
|
|
lukmih n00b
Joined: 16 Nov 2005 Posts: 13
|
Posted: Mon Jan 15, 2007 10:21 pm Post subject: |
|
|
I just had this same problem and had to use the:
Code: | MAKEOPTS="-j1" emerge imagemagick |
The make(1) man page states the argument to -j is the number of simultaneous jobs to run. I don't like old software dependencies so I'm going to stick with the -j1 and avoid the old stuff.
Looks like several already posted the bug as 155804
I suppose its possible to see this work fine on faster computers opposed to slower single processors with no ht because of how much better running multiple threads works when there are more processors...but I could be wrong. |
|
Back to top |
|
|
metatinara n00b
Joined: 02 Nov 2006 Posts: 5 Location: Ohio, USA
|
Posted: Thu Jan 18, 2007 3:54 pm Post subject: |
|
|
misterjack wrote: | SvenFischer wrote: | On my brand new install:
Code: | MAKEOPTS="-j1" emerge imagemagick |
did the trick! |
works fine here too |
I this fix worked for me too -- thank you very much! |
|
Back to top |
|
|
Padwarmo n00b
Joined: 24 Jan 2007 Posts: 1 Location: Germany
|
Posted: Wed Jan 24, 2007 2:42 pm Post subject: |
|
|
[quote=cable_guy]I'm not positive but I have an idea. I believe that makeopts is supposed to control the number of parallel processes to use during the build. I think that one of the processes is trying to build code that is dependant on code that has yet to finish in the other process. I admit it's a bit of a guess but it makes a bit of sense to me.[/quote]
Turns out to be just that. Seems like make "forgets" to wait for a dependent compilation and moves on to the next step right away. Usually when my non-emerge builds fail with "-j2" I just run make with no -j option set to overcome that error. After that I could go on with -j2.
If you wanna make sure something compiles over night you should remove the "-j2" option in your make.conf - even though it will take longer at least it will finish |
|
Back to top |
|
|
Theron NightStar n00b
Joined: 21 Jan 2007 Posts: 7
|
Posted: Tue Jan 30, 2007 3:41 pm Post subject: |
|
|
Leave it to the ever-so-excellent Gentoo Forums to have a solution to a problem waiting here for me! |
|
Back to top |
|
|
kg4ysy Apprentice
Joined: 08 Jul 2006 Posts: 183 Location: North Carolina
|
Posted: Fri Feb 02, 2007 2:31 am Post subject: |
|
|
The -j1 worked for me as well. Thanks for help. |
|
Back to top |
|
|
rsa4046 l33t
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Feb 08, 2007 2:51 pm Post subject: |
|
|
++ ! _________________ I love gentoo, but I am certainly no guru, despite what it says above. |
|
Back to top |
|
|
|