From joel at fentin.com Tue Nov 22 10:53:56 2016 From: joel at fentin.com (Joel Fentin) Date: Tue, 22 Nov 2016 10:53:56 -0800 Subject: [San-Diego-pm] Getting modules Message-ID: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> Hello Perl survivors, After a few years doing no Perl, I'm attempting it again. Unfortunately Perl has migrated away from what little I knew. And I am an Olympic contender representing my country in memory loss. (My memory loss - not my laptop) I have: Windows 7, Strawberry Perl 5.18.1.1 I tried to install Image::Size from cpan. It wouldn't. I tried to install File::Copy. It wouldn't. But it suggested: cpan> install R/RJ/RJBS/perl-5.24.0.tar.gz It wouldn't do that either. Am stuck. Please suggest. ============= Below are messages from above attempts. They are in order: Image::Size, File::Copy, perl-5.24.0 ------------ Failed 1/56 test programs. 110/11268 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' LEONT/Test-Harness-3.36.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LEONT/Test-Harness-3.36.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'TAP::Harness'. Failed during this command: LEONT/Test-Harness-3.36.tar.gz : make_test NO -------------- Running install for module 'File::Copy' The most recent version "2.31" of the module "File::Copy" is part of the perl-5.24.0 distribution. To install that, you need to run force install File::Copy --or-- install R/RJ/RJBS/perl-5.24.0.tar.gz Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Stopping: 'install' failed for 'File::Copy'. Failed during this command: RJBS/perl-5.24.0.tar.gz : make NO isa perl ---------------- cpan> install R/RJ/RJBS/perl-5.24.0.tar.gz Running make for R/RJ/RJBS/perl-5.24.0.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/perl-5.24.0.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/CHECKSUMS Checksum for C:\strawberry\cpan\sources\authors\id\R\RJ\RJBS\perl-5.24.0.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................DONE Could not make: isa perl Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com From rkleeman at energoncube.net Tue Nov 22 15:35:12 2016 From: rkleeman at energoncube.net (Bob Kleemann) Date: Tue, 22 Nov 2016 15:35:12 -0800 Subject: [San-Diego-pm] Getting modules In-Reply-To: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> References: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> Message-ID: I don't have much experience with Perl on Windows (whether it's ActiveState or Strawberry), so I can only offer up some alternative sources for guidance. It seems that 5.18.1.1 is a few years old, so maybe downloading and installing a newer version. It appears 5.24.0.1 is the most recent. Also, the website indicates some sources for help: http://strawberryperl.com/support.html A quick Google search for "image::size strawberry perl" produced this hit: https://www.imagemagick.org/discourse-server/viewtopic.php?t=29426 You could also try hitting up PerlMonks.org, or see if there is any help from the developers of the modules. On Tue, Nov 22, 2016 at 10:53 AM, Joel Fentin wrote: > Hello Perl survivors, > > After a few years doing no Perl, I'm attempting it again. Unfortunately > Perl has migrated away from what little I knew. And I am an Olympic > contender representing my country in memory loss. (My memory loss - not my > laptop) > > I have: Windows 7, Strawberry Perl 5.18.1.1 > > I tried to install Image::Size from cpan. It wouldn't. > I tried to install File::Copy. It wouldn't. But it suggested: > cpan> install R/RJ/RJBS/perl-5.24.0.tar.gz > It wouldn't do that either. > > Am stuck. Please suggest. > > ============= > Below are messages from above attempts. > They are in order: Image::Size, File::Copy, perl-5.24.0 > ------------ > > Failed 1/56 test programs. 110/11268 subtests failed. > dmake.exe: Error code 255, while making 'test_dynamic' > LEONT/Test-Harness-3.36.tar.gz > C:\strawberry\c\bin\dmake.exe test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports LEONT/Test-Harness-3.36.tar.gz > Running make install > make test had returned bad status, won't install without force > Stopping: 'install' failed for 'TAP::Harness'. > Failed during this command: > LEONT/Test-Harness-3.36.tar.gz : make_test NO > > -------------- > > Running install for module 'File::Copy' > The most recent version "2.31" of the module "File::Copy" > is part of the perl-5.24.0 distribution. To install that, you need to run > force install File::Copy --or-- > install R/RJ/RJBS/perl-5.24.0.tar.gz > Running make test > Can't test without successful make > Running make install > Make had returned bad status, install seems impossible > Stopping: 'install' failed for 'File::Copy'. > Failed during this command: > RJBS/perl-5.24.0.tar.gz : make NO isa perl > > ---------------- > > cpan> install R/RJ/RJBS/perl-5.24.0.tar.gz > Running make for R/RJ/RJBS/perl-5.24.0.tar.gz > Fetching with LWP: > http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/perl-5.24.0.tar.gz > Fetching with LWP: > http://cpan.strawberryperl.com/authors/id/R/RJ/RJBS/CHECKSUMS > Checksum for C:\strawberry\cpan\sources\authors\id\R\RJ\RJBS\perl-5.24.0. > tar.gz > ok > Scanning cache C:\strawberry\cpan\build for sizes > ............................................................ > ................DONE > > Could not make: isa perl > Running make test > Can't test without successful make > Running make install > Make had returned bad status, install seems impossible > > > > -- > Joel Fentin tel: 760-749-8863 > Personal Website: http://fentin.com > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elspicyjack at gmail.com Tue Nov 22 16:07:31 2016 From: elspicyjack at gmail.com (Brian Manning) Date: Tue, 22 Nov 2016 16:07:31 -0800 Subject: [San-Diego-pm] Getting modules In-Reply-To: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> References: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> Message-ID: On Tue, Nov 22, 2016 at 10:53 AM, Joel Fentin wrote: > Hello Perl survivors, > > I have: Windows 7, Strawberry Perl 5.18.1.1 > > I tried to install Image::Size from cpan. It wouldn't. Image::Size wants Test::Harness, but there's not enough error message in your email to see what the problem is with the installation of Test::Harness. Could you try to install Test::Harness, and paste the complete output (including the installation command you used) to a pastebin service somewhere? > I tried to install File::Copy. It wouldn't. But it suggested: > cpan> install R/RJ/RJBS/perl-5.24.0.tar.gz > It wouldn't do that either. There should be a copy of the File::Copy module with Strawberry Perl 5.18.1.1. If not, or if the version that comes with 5.18.1.1 is too old, then there's a 5.24.0.1 release of Strawberry Perl that you could upgrade to, strangely enough. Thanks, Brian From joel at fentin.com Wed Nov 23 14:45:31 2016 From: joel at fentin.com (Joel Fentin) Date: Wed, 23 Nov 2016 14:45:31 -0800 Subject: [San-Diego-pm] Getting modules In-Reply-To: References: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> Message-ID: <54823e9c-ad95-3229-fd9f-6eef6ab08eef@fentin.com> Brian, On 11/22/2016 4:07 PM, Brian Manning wrote: > On Tue, Nov 22, 2016 at 10:53 AM, Joel Fentin wrote: >> Hello Perl survivors, >> >> I have: Windows 7, Strawberry Perl 5.18.1.1 >> >> I tried to install Image::Size from cpan. It wouldn't. > > Image::Size wants Test::Harness, but there's not enough error message > in your email to see what the problem is with the installation of > Test::Harness. Could you try to install Test::Harness, and paste the > complete output (including the installation command you used) to a > pastebin service somewhere? Showmodules.pl says Test::Harness (3.28) is installed. I tried upgrade Test::Harness. It failed. hundreds of: missing semicolon missing operator Do you need to predeclare Bareword found where operator expected ------- I googled pastebin to learn what pastebin is. The government of Venezuela doesn't like it. Then went to pastebin.com. Am at a loss as to what to do with it. I'm shelled to DOS. The cursor is: cpan> I type "upgrade Test::Harness" Huge gobs of text roll by. (See below for what I could snag from DOS.) Don't know how to crowbar pastebin into this process. Isn't there a way to get the huge rolling output into a local file? > >> I tried to install File::Copy. It wouldn't. But it suggested: >> cpan> install R/RJ/RJBS/perl-5.24.0.tar.gz >> It wouldn't do that either. > > There should be a copy of the File::Copy module with Strawberry Perl > 5.18.1.1. If not, or if the version that comes with 5.18.1.1 is too > old, then there's a 5.24.0.1 release of Strawberry Perl that you could > upgrade to, strangely enough. According to Showmodules.pl, File::Copy is not in the machine. The perl I have seems to run Showmodules and a handful of programs I wrote. Brian: Thank you for your efforts. Much appreciated. Still going in circles. ========================== Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 192, near "EE52 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 192, near "1EE54" (Missing operator before EE54?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 193, near "EE54 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 193, near "1EE57" (Missing operator before EE57?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 194, near "EE57 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 194, near "1EE59" (Missing operator before EE59?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 195, near "EE59 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 195, near "1EE5B" (Missing operator before EE5B?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 196, near "EE5B 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 196, near "1EE5D" (Missing operator before EE5D?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 197, near "EE5D 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 197, near "1EE5F" (Missing operator before EE5F?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 198, near "EE5F 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 198, near "1EE61" (Missing operator before EE61?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 198, near "EE61 1" (Do you need to predeclare EE61?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 198, near "1EE62" (Missing operator before EE62?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 199, near "EE62 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 199, near "1EE64" (Missing operator before EE64?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 200, near "EE64 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 200, near "1EE67" (Missing operator before EE67?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 200, near "EE67 1" (Do you need to predeclare EE67?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 200, near "1EE6A" (Missing operator before EE6A?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 201, near "EE6A 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 201, near "1EE6C" (Missing operator before EE6C?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 201, near "EE6C 1" (Do you need to predeclare EE6C?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 201, near "1EE72" (Missing operator before EE72?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 202, near "EE72 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 202, near "1EE74" (Missing operator before EE74?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 202, near "EE74 1" (Do you need to predeclare EE74?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 202, near "1EE77" (Missing operator before EE77?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 203, near "EE77 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 203, near "1EE79" (Missing operator before EE79?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 203, near "EE79 1" (Do you need to predeclare EE79?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 203, near "1EE7C" (Missing operator before EE7C?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 204, near "EE7C 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 204, near "1EE7E" (Missing operator before EE7E?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 205, near "EE7E 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 205, near "1EE80" (Missing operator before EE80?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 205, near "EE80 1" (Do you need to predeclare EE80?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 205, near "1EE89" (Missing operator before EE89?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 206, near "EE89 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 206, near "1EE8B" (Missing operator before EE8B?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 206, near "EE8B 1" (Do you need to predeclare EE8B?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 206, near "1EE9B" (Missing operator before EE9B?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 207, near "EE9B 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 207, near "1EEA1" (Missing operator before EEA1?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 207, near "EEA1 1" (Do you need to predeclare EEA1?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 207, near "1EEA3" (Missing operator before EEA3?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 208, near "EEA3 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 208, near "1EEA5" (Missing operator before EEA5?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 208, near "EEA5 1" (Do you need to predeclare EEA5?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 208, near "1EEA9" (Missing operator before EEA9?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 209, near "EEA9 1" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 209, near "1EEAB" (Missing operator before EEAB?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 209, near "EEAB 1" (Do you need to predeclare EEAB?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 209, near "1EEBB" (Missing operator before EEBB?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 210, near "EEBB 20000" (Missing semicolon on previous line?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 210, near "20000 2" (Missing operator before 2?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 210, near "2A6D6" (Missing operator before A6D6?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 211, near "A6D6 2" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 211, near "2A700" (Missing operator before A700?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 211, near "A700 2" (Do you need to predeclare A700?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 211, near "2B734" (Missing operator before B734?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 212, near "B734 2" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 212, near "2B740" (Missing operator before B740?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 212, near "B740 2" (Do you need to predeclare B740?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 212, near "2B81D" (Missing operator before B81D?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 213, near "B81D 2" (Missing semicolon on previous line?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 213, near "2F800" (Missing operator before F800?) Number found where operator expected at C:/strawberry/perl/lib/unicore/lib/Perl/ Word.pl line 213, near "F800 2" (Do you need to predeclare F800?) Bareword found where operator expected at C:/strawberry/perl/lib/unicore/lib/Per l/Word.pl line 213, near "2FA1D" (Missing operator before FA1D?) Semicolon seems to be missing at C:/strawberry/perl/lib/unicore/lib/Perl/Word.pl line 214, <> line 3. t/unicode.t ..................... ok t/yamlish-output.t .............. ok t/yamlish-writer.t .............. ok t/yamlish.t ..................... ok Test Summary Report ------------------- t/regression.t (Wstat: 28160 Tests: 6960 Failed: 110) Failed tests: 2271, 2278-2281, 2285-2287, 2294-2297, 2517 2535-2538, 2658, 2660, 2662, 2669-2671 2674-2675, 2681-2684, 3131, 3135-3137, 3143 3145-3147, 3154-3157, 3355, 3362-3365, 3371-3374 3377-3381, 5751, 5754-5756, 5759, 5764-5766 5769-5772, 5997, 5999-6002, 6138, 6140 6143-6145, 6151, 6154-6159, 6611, 6613-6616 6623-6625, 6628, 6633-6635, 6835, 6837-6840 6846-6852, 6860-6861 Non-zero exit status: 110 Files=56, Tests=11268, 81 wallclock secs ( 2.54 usr + 0.52 sys = 3.06 CPU) Result: FAIL Failed 1/56 test programs. 110/11268 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' LEONT/Test-Harness-3.36.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LEONT/Test-Harness-3.36.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'Test::Harness'. -- Joel Fentin tel: 760-749-8863 Personal Website: http://fentin.com From elspicyjack at gmail.com Wed Nov 23 15:22:07 2016 From: elspicyjack at gmail.com (Brian Manning) Date: Wed, 23 Nov 2016 15:22:07 -0800 Subject: [San-Diego-pm] Getting modules In-Reply-To: <54823e9c-ad95-3229-fd9f-6eef6ab08eef@fentin.com> References: <1b4dc9e6-f7bc-8242-f917-257918307181@fentin.com> <54823e9c-ad95-3229-fd9f-6eef6ab08eef@fentin.com> Message-ID: On Wed, Nov 23, 2016 at 2:45 PM, Joel Fentin wrote: > I tried upgrade Test::Harness. It failed. hundreds of: > missing semicolon > missing operator > Do you need to predeclare > Bareword found where operator expected > > ------- > > I googled pastebin to learn what pastebin is. The government of Venezuela > doesn't like it. Then went to pastebin.com. Am at a loss as to what to do > with it. > > I'm shelled to DOS. > The cursor is: cpan> > I type "upgrade Test::Harness" > Huge gobs of text roll by. (See below for what I could snag from DOS.) > Don't know how to crowbar pastebin into this process. > Isn't there a way to get the huge rolling output into a local file? You can redirect output from processes on Windows the same as on *NIX. You can also install CPAN modules without using the full CPAN shell. Put the two together and you can do: perl -MCPAN -e upgrade Test::Harness > test_harness_install.txt You can then open test_harness_install.txt in your favorite text editor, then copy/paste the text inside that file into the big textbox on whichever pastebin site you choose; there's literally dozens, so you should be able to find one that's not censored. You never answered my question yesterday about upgrading Strawberry Perl to 5.24.0.1. Is this possible for you? For what it's worth, I'm not confident the Perl you have installed on your system is working correctly, and would suggest at a minimum removing then reinstalling what you have, or removing what you have and upgrading to 5.24.0.1. Thanks, Brian