Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#32732 closed defect (fixed)

swftools: configure fails with clang: Your gcc is too old to compile this!

Reported by: vincentdigitallife@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc: ryandesign (Ryan Schmidt)
Port: swftools

Description (last modified by ryandesign (Ryan Schmidt))

Hi,

I tried to install swftools (0.9.1 in the available ports) with the latest Mac Ports release 2.0.3 on Mac OS X 10.7.2 Lion. But it failed the log is complaining GCC is too old. Of course I ran the macport selffupdate, and I have the latest Xcode 4.2.1 installed

:info:configure *****************************
----
**********************
:info:configure * Your gcc is too old to compile this!
:info:configure * 
:info:configure * The last version compileable by this compiler is 
:info:configure * swftools 0.7.0, which you can download from 
:info:configure * http://www.swftools.org/swftools-0.7.0.tar.gz 
:info:configure * .
:info:configure * Newer versions require at least gcc 3.0.0 

Attachments (1)

main.log (45.2 KB) - added by vincentdigitallife@… 9 years ago.
swftools falis on Lion 10.7.2

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by vincentdigitallife@…

Attachment: main.log added

swftools falis on Lion 10.7.2

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: clang added
Summary: swftools port not installable on Lion 10.7.2 : gcc is too oldswftools: configure fails with clang: Your gcc is too old to compile this!

Of course the error message is wrong; swftools is just under the mistaken impression that every compiler one might use to compile it is gcc. In this case, we're using clang; clang's version number happens to be lower than gcc's, though it is just as (or more) capable than gcc.

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Actually, that's the problem we had in another port, but with swftools, I see they just wrote their test wrong. Fixed in r88456.

comment:3 Changed 9 years ago by vincentdigitallife@…

Gret news so how do I do to get/install r88456 Thanks

comment:4 Changed 9 years ago by ryandesign (Ryan Schmidt)

Same as always: selfupdate, clean, and try again.

sudo port selfupdate
sudo port clean swftools
sudo port install swftools

comment:5 Changed 9 years ago by vincentdigitallife@…

Thanks A LOT, it worked !

Note: See TracTickets for help on using tickets.