New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33310 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Missing symlink /opt/local/bin/perl

Reported by: lionteeth@… Owned by: ricci@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: perl help2man Cc: cedric.luthi@…, ricci@…, openmaintainer@…
Port: mp4v2

Description

After an entirely fresh install of MacPorts on Lion 10.7.3 and Xcode 4.3, I get the error

:info:build /bin/sh: /opt/local/bin/help2man: /opt/local/bin/perl: bad interpreter: No such file

Fixed by adding a symlink in /opt/local/bin/

sudo ln -s perl5.12.3 perl

Change History

comment:1 follow-up: ↓ 3 Changed 2 years ago by ricci@…

  • Owner changed from macports-tickets@… to ricci@…

Did you install the perl5 port? It provides /opt/local/bin/perl, and ports that need perl should depend on the perl5 port.

comment:2 Changed 2 years ago by ricci@…

  • Status changed from new to assigned

comment:3 in reply to: ↑ 1 Changed 2 years ago by lionteeth@…

That's likely all that's required.

I had installed autoconf, which pulls in perl5 in the form of perl5 @5.12.3, Revision 1 (lang). It does not create a symlink to /opt/local/bin/perl.

help2man seems to depend on a slightly different, perl5.12, perl5.12 @5.12.3_3. This version insists on creating a symlink to /opt/local/bin/perl.

Somehow installing mp4v2, which depends on help2man, didn't quite handle this. help2man seems to have seen that perl5 @5.12.3 rev 1 was installed, but expected it to have a /opt/local/bin/perl.

comment:4 Changed 2 years ago by ricci@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Adjusted help2man port to depend on perl5 rather than perl5.12 (r90139), this should resolve this issue. Please reopen if it did not.

Note: See TracTickets for help on using tickets.