Opened 13 years ago

Last modified 13 years ago

#32262 closed defect

Cannot install Perl via MacPorts on Lion — at Version 2

Reported by: jrzeznik1@… Owned by: ricci@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: perl5.12

Description (last modified by ryandesign (Ryan Carsten Schmidt))

No versions of Perl will compile in Lion 10.7.2 with the 4.2.1 build of Xcode. I have tried Perl 5.12, and Perl 5.14 to no avail.

Specifically, the errors I run into are as follows:

  • "I can't seem to find your C library" error. I found this is alleviated somewhat by manually editing the Portfile and adding "-Dusenm=n" in the configure post-args. For what it's worth, the Darwin 11 patch alluded to in the portfile is not working and nm still throws a fit without the hack in place.
  • However, Perl still does not compile even with that edit. From an earlier ticket it appears that the portfile is skipping the entire "make depend" phase, which halts the build process with errors. Trying to manually run this script (sh ./makedepend MAKE=make) also fails.

I do think this is something that really needs to be fixed asap, given that quite a few ports are directly dependent on Perl to build and run--without it, parts of the MacPorts system are literally broken and useless. As an example, I noticed this issue with Perl when trying to build dash and wget (both of which seem to demand Perl 5.12).

There have been other tickets with this issue, but yet it appears this issue has never been fully resolved.

Change History (2)

comment:1 Changed 13 years ago by jrzeznik1@…

Cc: jrzeznik1@… added

Cc Me!

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

Cc: jrzeznik1@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to ricci@…

As reporter you do not need to Cc yourself. Please do however Cc the maintainer of the affected port(s).

Please supply a main.log file from the failed build. There must be something unique about your system; it appears to work fine for many other users.

Note: See TracTickets for help on using tickets.