Opened 13 years ago

Closed 13 years ago

#33310 closed defect (fixed)

Missing symlink /opt/local/bin/perl

Reported by: Liontooth (David Liontooth) Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: perl help2man Cc: 0xced (Cédric Luthi), ghosthound, 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 (4)

comment:1 Changed 13 years ago by ghosthound

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 13 years ago by ghosthound

Status: newassigned

comment:3 in reply to:  1 Changed 13 years ago by Liontooth (David Liontooth)

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 13 years ago by ghosthound

Resolution: fixed
Status: assignedclosed

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.