Opened 12 years ago

Closed 12 years ago

#35249 closed defect (fixed)

MacPorts Perl build making incorrect assumptions

Reported by: jwelch@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: perl5.12

Description

In building Perl 5.12.3, someone didn't take into account the new path to the compilers.

If you run "perl -V" on a current macports build, you get:

cc='/Developer/usr/bin/llvm-gcc-4.2'

This is clearly a problem, since with how Xcode is set up now, there is no /Developer. That's now:

/Applications/Xcode45-DP3.app/Contents/Developer or similar

So there's no way Perl will ever find a C compiler, something it rather wants for certain modules.

Change History (3)

comment:1 Changed 12 years ago by danielluke (Daniel J. Luke)

macports perl5.12 is currently at 5.12.4, on my 10.7 box it has a cc of /usr/bin/clang

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

Owner: changed from macports-tickets@… to ricci@…
Port: perl5.12 added

Perl will find what the correct compiler is at compile time. So there should be no problem, assuming you build perl after installing Xcode 4.5 DP3.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Yeah, this was changed quite a while ago.

Note: See TracTickets for help on using tickets.