Page 1 of 1

Trouble installing perl module

PostPosted: Fri Aug 28, 2020 2:47 pm
by AlSam
Trying to install Net::FTPSSL module results in the following message 4 times, after which, CPAN gives up.
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.


This box is running: ViciBox v.7.0.4-170113 | VERSION: 2.14-629a BUILD: 170920-2153 | Asterisk 11.25.1-vici | All-In-One | No additional software

Thanks in advance for any help on this matter.

Re: Trouble installing perl module

PostPosted: Fri Aug 28, 2020 3:39 pm
by carpenox
what operating system?

Re: Trouble installing perl module

PostPosted: Fri Aug 28, 2020 3:41 pm
by carpenox
This is what happen when i run this command:

Code: Select all
 cpan Net::FTPSSL
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 28 Apr 2020 03:29:02 GMT
CPAN: LWP::UserAgent loaded ok (v6.44)
CPAN: Time::HiRes loaded ok (v1.976)
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v1.30)
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.093)
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Fri, 28 Aug 2020 20:29:03 GMT
.............
  New CPAN.pm version (v2.28) available.
  [Currently running version is v2.18]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


...............................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Net::FTPSSL'
Fetching with LWP:
http://www.cpan.org/authors/id/C/CL/CLEACH/Net-FTPSSL-0.42.tar.gz
CPAN: Digest::SHA loaded ok (v6.02)
Fetching with LWP:
HASH(0x56193c7c6838)authors/id/C/CL/CLEACH/CHECKSUMS
Fetching with LWP:
HASH(0x56193c7c6838)authors/id/C/CL/CLEACH/CHECKSUMS.gz
Fetching with LWP:
http://www.cpan.org/authors/id/C/CL/CLEACH/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/C/CL/CLEACH/Net-FTPSSL-0.42.tar.gz ok
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20170922_26)
Configuring C/CL/CLEACH/Net-FTPSSL-0.42.tar.gz with Makefile.PL
Will you be tunneling through a proxy server?  This requires extra modules. [N] N
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::FTPSSL
Writing MYMETA.yml and MYMETA.json
  CLEACH/Net-FTPSSL-0.42.tar.gz
  /usr/bin/perl Makefile.PL -- OK
Running make for C/CL/CLEACH/Net-FTPSSL-0.42.tar.gz
cp FTPSSL.pm blib/lib/Net/FTPSSL.pm
Manifying 1 pod document
  CLEACH/Net-FTPSSL-0.42.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-basic.t ...................... ok
t/01-test-if-environment-ok.t ..... ok
t/02-ask-questions.t .............. ok
t/03-ask-questions-again.t ........ ok
t/05-check-new-cmd.t .............. ok
t/06-login.t ...................... ok
t/07-prompt_validation.t .......... ok
t/20-test_multiple_connections.t .. ok
t/22-supported.t .................. ok
t/24-dir_tests.t .................. ok
t/26-ccc_test.t ................... ok
t/28-put_get_delete_tests.t ....... ok
t/30-more_put_delete_tests.t ...... ok
t/32-rename_tests.t ............... ok
t/34-xput_tests.t ................. ok
t/36-quot_and_callback.t .......... ok
All tests successful.
Files=16, Tests=53,  2 wallclock secs ( 0.04 usr  0.02 sys +  1.89 cusr  0.22 csys =  2.17 CPU)
Result: PASS
  CLEACH/Net-FTPSSL-0.42.tar.gz
  /usr/bin/make test -- OK
Running make install
Manifying 1 pod document
Installing /usr/lib/perl5/site_perl/5.26.1/Net/FTPSSL.pm
Installing /usr/share/man/man3/Net::FTPSSL.3pm
Appending installation info to /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/perllocal.pod
  CLEACH/Net-FTPSSL-0.42.tar.gz
  /usr/bin/make install  -- OK

Re: Trouble installing perl module

PostPosted: Fri Aug 28, 2020 4:23 pm
by AlSam
carpenox wrote:what operating system?

OpenSuSE Leap 42.3

Re: Trouble installing perl module

PostPosted: Fri Aug 28, 2020 9:44 pm
by carpenox

Re: Trouble installing perl module

PostPosted: Sat Aug 29, 2020 7:03 am
by AlSam
AlSam wrote:
carpenox wrote:what operating system?

OpenSuSE Leap 42.3

My mistake, it is openSUSE Leap 42.1. I noticed that there are no packages under https://download.opensuse.org/repositor ... Leap_42.1/. Can I use the one for 42.3?

Re: Trouble installing perl module

PostPosted: Sat Aug 29, 2020 11:32 pm
by carpenox
yea it should b fine

Re: Trouble installing perl module

PostPosted: Mon Aug 31, 2020 7:19 am
by AlSam
I tried installing the package but nothing happens; it does not install.

server:~ # rpm -i perl-Net-FTPSSL-0.42-1.4.src.rpm
server:~ # rpm -e perl-Net-FTPSSL-0.42-1.4.src.rpm
error: package perl-Net-FTPSSL-0.42-1.4.src.rpm is not installed

Re: Trouble installing perl module

PostPosted: Mon Aug 31, 2020 12:08 pm
by carpenox
Code: Select all
rpm -i https://download.opensuse.org/repositories/devel:/languages:/perl:/CPAN-N/openSUSE_Tumbleweed/src/perl-Net-FTPSSL-0.42-1.4.src.rpm



just like this ^^^

Re: Trouble installing perl module

PostPosted: Wed Sep 02, 2020 11:14 am
by AlSam
I did, but I thought I'd try downloading it as well. It won't install either way.

Re: Trouble installing perl module

PostPosted: Wed Sep 02, 2020 11:20 am
by carpenox

Re: Trouble installing perl module

PostPosted: Wed Sep 02, 2020 6:10 pm
by AlSam
At least I'm getting some output now
server:~ # rpm -i https://download.opensuse.org/repositor ... noarch.rpm
error: Failed dependencies:
perl(:MODULE_COMPAT_5.30.1) is needed by perl-Net-FTPSSL-0.42-1.4.noarch
perl(Net::HTTPTunnel) >= 0.50 is needed by perl-Net-FTPSSL-0.42-1.4.noarch
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by perl-Net-FTPSSL-0.42-1.4.noarch

Re: Trouble installing perl module

PostPosted: Fri Sep 04, 2020 6:19 am
by AlSam
Can't seem to find these packages. Know of reliable/trustworthy sources to find them (binaries)?

Re: Trouble installing perl module

PostPosted: Mon Sep 14, 2020 9:23 am
by AlSam
Any further assistance you can provide, carpenox?

Re: Trouble installing perl module

PostPosted: Mon Sep 14, 2020 2:05 pm
by carpenox
try rpm find for the packages