Ticket #12794 (closed defect: fixed)
MacPorts should warn of old Xcode versions
|Reported by:||ryandesign@…||Owned by:||macports-tickets@…|
We have the problem that from time to time, although we say in InstallingMacPorts that people must install the latest Xcode, they don't, and they end up using an older Xcode. Then they run into weird problems that we waste time investigating.
MacPorts should catch this before it ever gets to Trac or the mailing list. It should either print a warning when the Xcode version is known to be outdated, or it should refuse to proceed altogether until it's updated. Landon objected to the latter saying users will be put off by such a large download, but Blair countered that developer time is valuable and we shouldn't waste it trying to re-solve problems that we already know are solved by upgrading Xcode.
We know at this point that Xcode 1.5 and 2.4.1 are fine for Mac OS X 10.3.9 and 10.4.10, respectively, so any Xcode versions earlier than those should trigger the new behavior. Alternately, Blair says Fink contains code that identifies specific bad versions of gcc, which we could look at doing too.
comment:13 Changed 3 years ago by jmr@…
- Cc ryandesign@… removed
- Milestone changed from MacPorts Future to MacPorts 1.9.0