[MacPorts] #32262: Cannot install Perl via MacPorts on Lion

MacPorts noreply at macports.org
Fri Nov 25 14:48:20 PST 2011


#32262: Cannot install Perl via MacPorts on Lion
-----------------------------------+----------------------------------------
 Reporter:  jrzeznik1@…            |       Owner:  ricci@…           
     Type:  defect                 |      Status:  new               
 Priority:  Normal                 |   Milestone:                    
Component:  ports                  |     Version:  2.0.3             
 Keywords:                         |        Port:  perl5.12          
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: jrzeznik1@… (removed)
  * owner:  macports-tickets@… => ricci@…


Old description:

> 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.

New description:

 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.

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/32262#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list