macports handling perl paths
Daniel Bolgheroni
dbolgheroni at devio.us
Thu Mar 8 19:40:50 PST 2012
Hi macports-dev@,
building a new port (p5-net-openssh), I'm having an issue handling a
perl path. The Portfile is at the end.
Installed OK and tried to run a perl script which makes use of it. But
I've got this:
Can't locate Net/OpenSSH.pm in @INC (@INC contains:
/Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12
/Network/Library/Perl/5.12/darwin-thread-multi-2level
/Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3
/System/Library/Perl/5.12/darwin-thread-multi-2level
/System/Library/Perl/5.12
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.12 .) at confsync/cs line 67.
BEGIN failed--compilation aborted at confsync/cs line 67.
According to the Portfile, OpenSSH.pm is installed at:
/opt/local/lib/perl5/vendor_perl/5.12.3/Net/OpenSSH.pm
Any hints here?
Thank you.
Portfile:
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup perl5 1.0
perl5.setup Net-OpenSSH 0.57
revision 1
maintainers dbolgheroni
platforms darwin
description Perl SSH client package implemented on top of OpenSSH.
long_description Net::OpenSSH is a secure shell client package \
implemented on top of OpenSSH binary client (ssh).
checksums rmd160 6d942fa5e78e7391d314c8afa3c43b3933c650ce \
sha256 8c667f430572ebc9c54490165c3ca3530703a054116702fda8693f115681211b
if {${perl5.major} != ""} {
depends_lib-append port:libssh2 \
port:p${perl5.major}-io-tty
}
More information about the macports-dev
mailing list