Fedora Linux Support Community & Resources Center
  #1  
Old 9th August 2011, 10:39 PM
Hefticus Offline
Registered User
 
Join Date: Nov 2010
Posts: 6
linuxopera
ImageMagick Make fails due too GCC error

I am trying to get ImageMagick up and running on my FC15 laptop. I've done this before without issue (on FC14). But now when I try to run "make" for ImageMagick it throws an error and fails. This is for ImageMagick 6.6.5, although I get the exact same error on 6.6.4 as well.

magick/xwindow.c:7491:1: internal compiler error: in new_elt_loc_list, at cselib.c:238

Here's my gcc information, from rpm -qa gcc\*

gcc-4.6.0-10.fc15.x86_64
gcc-c++-4.6.0-10.fc15.x86_64
gcc-java-4.6.0-10.fc15.x86_64

configure runs fine. I can't say if the RMagick make works or not since I can't configure it without ImageMagick installed first. I don't recall anything else having a similar problem.

It is similar to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=715336 (Except that person appears to be using FC16 packages). The solution there was to update GCC to 4.6.1. It doesn't quite seem right that I would need to upgrade GCC to install an older version of ImageMagick, especially when it worked fine in FC14 (I'm assuming FC14 to FC15 didn't for some reason go backwards in the versions of its compilers). And if I do need to do that, I'm not positive how. There's a FC15 gcc 4.6.1 package here: http://s390.koji.fedoraproject.org/k...?buildID=74356 I'm not sure how to install that to replace 4.6.0, though.
Reply With Quote
  #2  
Old 9th August 2011, 10:48 PM
SomeDamFool's Avatar
SomeDamFool Offline
Registered User
 
Join Date: Sep 2006
Location: Groom Lake Nevada
Posts: 478
linuxfirefox
Re: ImageMagick Make fails due too GCC error

If you use yum it will install ImageMagick and all the dependencies it needs.

Code:
#yum install imagemagick
__________________
su -
I am root the great and powerful
Pay no attention to the man behind the curtain
Reply With Quote
  #3  
Old 9th August 2011, 11:01 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,094
linuxfedorafirefox
Re: ImageMagick Make fails due too GCC error

What is the optimization level?

I seem to remember that there was a bug in the compiler for high levels of optimization that sometimes occurred.
Reply With Quote
  #4  
Old 9th August 2011, 11:03 PM
Hefticus Offline
Registered User
 
Join Date: Nov 2010
Posts: 6
linuxopera
Re: ImageMagick Make fails due too GCC error

Well, the real goal is to get RMagick installed, so I was following the instructions for that, which are to download the tar and build from that: http://rmagick.rubyforge.org/install2-linux.html

I actually need 6.6.4 installed in this case, and yum install ImageMagick will pull the latest 6.6.5. (I get the same error as above with 6.6.4 or 6.6.5, though). Unless I can find a specific name of the last 6.6.4 rpm package for FC15 (if there is one?) then a simple yum install doesn't seem like an option.

I'm not sure what the optimization level is. How would I check that?
Reply With Quote
  #5  
Old 9th August 2011, 11:12 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,094
linuxfedorafirefox
Re: ImageMagick Make fails due too GCC error

It should be in the Make files - something like:
CFLAGS = -O<number>

Though other flags may be there as well.
Reply With Quote
  #6  
Old 9th August 2011, 11:18 PM
Hefticus Offline
Registered User
 
Join Date: Nov 2010
Posts: 6
linuxopera
Re: ImageMagick Make fails due too GCC error

This?

CFLAGS = -fopenmp -g -O2 -Wall -pthread
Reply With Quote
  #7  
Old 10th August 2011, 12:24 AM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,094
linuxfedorafirefox
Re: ImageMagick Make fails due too GCC error

Thats it.

O2 is fairly normal. I didn't think that would be a problem... (I have seen problems in the past with O4).

You might try removing it just to see what happens. Or change it to O1.

Now, another possibility is that there is a conflict with the -g option (it is used to keep debugging information).
Reply With Quote
  #8  
Old 10th August 2011, 03:55 AM
Hefticus Offline
Registered User
 
Join Date: Nov 2010
Posts: 6
linuxopera
Re: ImageMagick Make fails due too GCC error

Removing the -g from that line seems to have allowed it work.

Thanks
Reply With Quote
  #9  
Old 10th August 2011, 05:01 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxfirefox
Re: ImageMagick Make fails due too GCC error

are you aware of the VERY ( 3 + years) long time running bug in IM source

you can only build it ONCE ( one time ONLY )
./configure --??option -- option2 .......
make && make install
only works one time .
re-extract the tarbal for EVERY rebuild .
Every time !
an error in the scripts for "make clean& distclean "things are not removed

it might have been fixed , it has been about a year since i last built it .
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
Reply

Tags
error, fails, gcc, imagemagick, make

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make modules_install fails with Error 143 str8line0 Installation and Live Media 1 30th October 2004 04:33 AM


Current GMT-time: 20:14 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat