Subject: bug#22478: 25.1.50; tramp error: Wrong method specification for ‘scp’

From: Michael Albinus <[email-masked]>
Date: Fri, 26 Aug 2016 15:20:09 +0200

Sam Steingold <[email-masked]> writes:

> Hi Michael,

Hi Sam,

>> # perl -e 'print "hello\n"'; echo $?
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> 	LANGUAGE = (unset),
> 	LC_ALL = (unset),
> 	LC_PAPER = "en_US.UTF-8",
> 	LC_COLLATE = "C",
> 	LANG = "C.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Can't locate Carp/Always.pm in @INC (you may need to install the Carp::Always module) (@INC contains: /home/sds/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
> BEGIN failed--compilation aborted.
> 2

I've added this check now to tramp-sh.el, looking for a proper
installation of Perl once the binary is found. Committed to the
repositories.

You might try this, but prior to open a Tramp connection, you shall
clear persistent caches:

(tramp-cleanup-all-connections)

Next I will check the other problem you've reported.

> Thanks for your patience!

Best regards, Michael.