[MacPorts] #36474: Perl 5.12 Config.pm gets wrong gcc
MacPorts
noreply at macports.org
Thu Oct 4 22:03:07 PDT 2012
#36474: Perl 5.12 Config.pm gets wrong gcc
-----------------------------+--------------------------------
Reporter: macports.org@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: |
-----------------------------+--------------------------------
Comment (by ryandesign@…):
I suspect you either installed perl5.12 while you had Xcode 3 (before you
upgraded to Xcode 4), or else you received a pre-compiled binary of
perl5.12 from our Snow Leopard buildbot, which uses Xcode 3 at this time.
Because you are using a different Xcode than our buildbot (in particular
an Xcode that has a different default compiler, and even more in
particular an Xcode that no longer contains the compiler that our
buildbot's Xcode uses by default), I suggest you disable the use of pre-
compiled binaries in macports.conf (set "buildfromsource" to "always")
then rebuild perl5.12:
{{{
sudo port clean perl5.12
sudo port -n upgrade --force perl5.12
}}}
perl5.12 is not the only port that will "remember" the compiler it was
used with, so you might have other ports already installed that you need
to rebuild.
--
Ticket URL: <https://trac.macports.org/ticket/36474#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list