New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32732 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

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@…
Port: swftools

Description (last modified by ryandesign@…) (diff)

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

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

Change History

Changed 17 months ago by vincentdigitallife@…

swftools falis on Lion 10.7.2

comment:1 Changed 17 months ago by ryandesign@…

  • Keywords clang added
  • Description modified (diff)
  • Summary changed from swftools port not installable on Lion 10.7.2 : gcc is too old to swftools: 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 17 months ago by ryandesign@…

  • Status changed from new to closed
  • Cc ryandesign@… added
  • Resolution set to fixed

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 17 months ago by vincentdigitallife@…

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

comment:4 Changed 17 months ago by ryandesign@…

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

sudo port selfupdate
sudo port clean swftools
sudo port install swftools

comment:5 Changed 17 months ago by vincentdigitallife@…

Thanks A LOT, it worked !

Note: See TracTickets for help on using tickets.