Hello, On Wed, 11 Feb 2015, Felix Miata wrote:
I just replaced 11.4 with 13.1. Now KSIRC instead of auto-connecting properly displays this in the output window:
[03:48:20] Your perl interpreter is *really* screwed up: the getopts.pl library is not [03:48:20] even there! Have you even bothered to run 'install'?
It's a bug in ksirc. $ rpm -qf /usr/lib/perl5/5.14.2/getopts.pl perl-5.14.2-9.1.x86_64 $ head -1 /usr/lib/perl5/5.14.2/getopts.pl warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; ==== man perl5110delta (perl 5.10.0 was released 18-Dec-2007) ==== Deprecated numerous Perl 4-era libraries: termcap.pl, tainted.pl, stat.pl, shellwords.pl, pwd.pl, open3.pl, open2.pl, newgetopt.pl, look.pl, find.pl, finddepth.pl, importenv.pl, hostname.pl, getopts.pl, getopt.pl, getcwd.pl, flush.pl, fastcwd.pl, exceptions.pl, ctime.pl, complete.pl, cacheout.pl, bigrat.pl, bigint.pl, bigfloat.pl, assert.pl, abbrev.pl, dotsh.pl, and timelocal.pl are all now deprecated. Using them will incur a warning. ==== man perl5120delta (perl 5.12.0 was released 13-Apr-2010) ==== Numerous Perl 4-era libraries termcap.pl, tainted.pl, stat.pl, shellwords.pl, pwd.pl, open3.pl, open2.pl, newgetopt.pl, look.pl, find.pl, finddepth.pl, importenv.pl, hostname.pl, getopts.pl, getopt.pl, getcwd.pl, flush.pl, fastcwd.pl, exceptions.pl, ctime.pl, complete.pl, cacheout.pl, bigrat.pl, bigint.pl, bigfloat.pl, assert.pl, abbrev.pl, dotsh.pl, and timelocal.pl are all now deprecated. Earlier, Perl's developers intended to remove these libraries from Perl's core for the 5.14.0 release. During final testing before the release of 5.12.0, several developers discovered current production code using these ancient libraries, some inside the Perl core itself. Accordingly, the pumpking granted them a stay of execution. They will begin to warn about their deprecation in the 5.14.0 release and will be removed in the 5.16.0 release. ==== So, install Perl4::CoreLibs as per the warning, and file a bug for ksirc that it should use the Getopt* libs instead of that ancient getopts.pl and it's been almost 5 years that getopts.pl emits the warning! Anyway ksirc/dsirc is unmaintained, dsirc, which is where the problem is, is from 2005! Anyway: here's a patch replacing getopts.pl with Getopt::Std: ==== --- dsirc.orig 2005-09-10 10:20:47.000000000 +0200 +++ dsirc 2015-02-14 10:13:41.000000000 +0100 @@ -68,12 +68,7 @@ $publicAway = 1; -if (!eval "require 'getopts.pl';") { - print "\n\n\ -Your perl interpreter is *really* screwed up: the getopts.pl library is not -even there! Have you even bothered to run 'install'?\n"; - exit; -} +use Getopt::Std; *Getopts = *getopts; if ($] >= 5 && (eval "use Socket;", $@ eq '')) { $sock6 = eval ("require Socket6;") and eval("use Socket6;"); ==== HTH, -dnh PS: xchat2 is a much better irc client, IMO, but it's GTK. -- Yah. Spam, spam, spam, cuisson de cerf haché au sauce truffe, and spam. -- Richard Bos on french "hypermarkets" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org