So I’m very new to PERL and to make matters more complicated I have installed PERL to an IBM mainframe. The zOS version comes from RocketSoftware and I installed it via miniconda. I have a user that would like to us PDF::API2. If I go to metacpan.org the install instructions gives me two options, via cpanm or the cpan shell. Since this version does not come with cpanm, I wanted to install it.
After getting into the shell, I did an install App::cpanminus
At first I encountered the error of getting the 01mailrc.txt.gz file. I got passed this by doing an interactive ftp and downloading it. I found this solution searching through the forum.
The second problem was the 02packages.details.txt.gz file and I ftp’ed and got that. Still get an error as seen in the output below but it moves past that.
The third problem 03modlist.data.gz. Again I downloaded via ftp but the error seems to be “perhaps you forgot to load “CPAN::Modulelist”?”
Kinda lost where to go from here. Any help would be grateful.
bash-4.3$ perl -MCPAN -e shell Terminal does not support ▒d▒story. cpan shell -- CPAN exploration and modules installation (v2.1101) ▒ter 'h' for help. cpan[1]> install App::cpanminus ▒ading '/u/sdc/xdc020r/.cpan/sources/authors/01mailrc.txt.gz' ...................................................................... +......DONE ▒ading '/u/sdc/xdc020r/.cpan/sources/modules/02packages.details. +txt.gz' Warning: Your /u/sdc/xdc020r/.cpan/sources/modules/02packages.details. +txt.gz does not contain a Ine-Ount header. Lease 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. Warning: Your /u/sdc/xdc020r/.cpan/sources/modules/02packages.details. +txt.gz does not contain a Ast-Updated header. Lease 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. DONE ▒ading '/u/sdc/xdc020r/.cpan/sources/modules/03modlist.data.gz' Catching error: "Can't locate object method \"data\" via package \"CPA +N::Modulelist\" (perhaps you forgot to load \ "CPAN::Modulelist\"?) a +t (eval 29) line 1.\cU at /usr/lpp/perl/lib/perl5/5.24.4/CPAN/Index.p +m line 525.\cU\cECPAN:: Index::rd_modlist(\"CPAN::Index\", \"/u/sdc/x +dc020r/.cpan/sources/modules/03modlist.data.gz\") called at /usr/lpp/ +p erl/lib/perl5/5.24.4/CPAN/Index.pm line 85\cU\cECPAN::Index::reload +(\"CPAN::Index\") called at /usr/lpp/perl/lib/pe rl5/5.24.4/CPAN.pm l +ine 978\cU\cECPAN::exists(CPAN=HASH(0x1be6ff10), \"CPAN::Module\", \" +App::cpanminus\") called a t /usr/lpp/perl/lib/perl5/5.24.4/CPAN/Shel +l.pm line 1304\cU\cECPAN::Shell::expandany(\"CPAN::Shell\", \"App::cp +anmi nus\") called at /usr/lpp/perl/lib/perl5/5.24.4/CPAN/Shell.pm li +ne 1738\cU\cECPAN::Shell::rematein(\"CPAN::Shell\", \"install\", \"A +pp::cpanminus\") called at /usr/lpp/perl/lib/perl5/5.24.4/CPAN/Shell. +pm line 2063\cU\cECPAN::Shell ::__ANON__(\"CPAN::Shell\", \"App::cpan +minus\") called at /usr/lpp/perl/lib/perl5/5.24.4/CPAN.pm line 375\cU +\cEeval {...} called at /usr/lpp/perl/lib/perl5/5.24.4/CPAN.pm line +372\cU\cECPAN::shell() called at -e line 1\cU" at /usr /lpp/perl/lib/ +perl5/5.24.4/CPAN.pm line 391. CPAN::shell() called at -e line 1 ▒ading '/u/sdc/xdc020r/.cpan/sources/authors/01mailrc.txt.gz' ...................................................................... +......DONE ▒ading '/u/sdc/xdc020r/.cpan/sources/modules/02packages.details. +txt.gz' Warning: Your /u/sdc/xdc020r/.cpan/sources/modules/02packages.details. +txt.gz does not contain a Ine-Ount header. Lease 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. Warning: Your /u/sdc/xdc020r/.cpan/sources/modules/02packages.details. +txt.gz does not contain a Ast-Updated header. Lease 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. DONE ▒ading '/u/sdc/xdc020r/.cpan/sources/modules/03modlist.data.gz' Terminal does not support Et▒story. Ockfile removed. Can't locate object method "data" via package "CPAN::Modulelist" (perh +aps you forgot to load "CPAN::Modulelist"?) a t (eval 31) line 1. at /usr/lpp/perl/lib/perl5/5.24.4/CPAN/Index.pm line 525. CPAN::Index::rd_modlist("CPAN::Index", "/u/sdc/xdc020r/.cpan/s +ources/modules/03modlist.data.gz") called at /usr/lpp/perl/lib/perl5 +/5.24.4/CPAN/Index.pm line 85 CPAN::Index::reload("CPAN::Index") called at /usr/lpp/perl/lib +/perl5/5.24.4/CPAN.pm line 692 CPAN::all_objects(CPAN=HASH(0x1be6ff10), "CPAN::Distribution") + called at /usr/lpp/perl/lib/perl5/5.24.4/CPA N/Shell.pm line 1110 CPAN::Shell::find_failed("CPAN::Shell", 1) called at /usr/lpp/ +perl/lib/perl5/5.24.4/CPAN/Shell.pm line 1074 CPAN::Shell::failed("CPAN::Shell", 1, 1) called at /usr/lpp/pe +rl/lib/perl5/5.24.4/CPAN.pm line 413 eval {...} called at /usr/lpp/perl/lib/perl5/5.24.4/CPAN.pm li +ne 413 CPAN::shell() called at -e line 1 bash-4.3$
In reply to New to PERL by TimeBandit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |