Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Win32-PowerPoint-0.09 does not install under Strawberry 5.12.3

by iaw4 (Monk)
on Aug 25, 2011 at 22:37 UTC ( [id://922466]=perlquestion: print w/replies, xml ) Need Help??

iaw4 has asked for the wisdom of the Perl Monks concerning the following question:

Downloaded Strawberry Perl latest version (5.12.3.0). installed Regexp and now Win32-PowerPoint. alas, I get an installation error (described below). is this one incompatible with 5.12.3 ? does anyone know?



cpan> install Win32::PowerPoint
Running install for module 'Win32::PowerPoint'
Running make for I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/I/IS/ISHIGAKI/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\I\IS\ISHIGAKI\Win32-PowerPoint-0.09.tar.gz ok

  CPAN.pm: Going to build I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz

... all ok

  CPAN.pm: Going to build M/MS/MSCHWERN/Exporter-Lite-0.02.tar.gz

... all ok

  CPAN.pm: Going to build I/IS/ISHIGAKI/Test-UseAllModules-0.13.tar.gz

... all ok

  CPAN.pm: Going to build K/KA/KASEI/Class-Accessor-0.34.tar.gz

... all ok

  CPAN.pm: Going to build I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz

cp lib/Win32/PowerPoint/Constants.pm blib\lib\Win32\PowerPoint\Constants.pm
cp lib/Win32/PowerPoint/Utils.pm blib\lib\Win32\PowerPoint\Utils.pm
cp lib/Win32/PowerPoint.pm blib\lib\Win32\PowerPoint.pm
  ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
  C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,'blib\lib', 'blib\arch')" t/*.t
t/00_load.t ......... ok
t/01_basic.t ........ 1/12 # Hello, Microsoft PowerPoint

t/01_basic.t ........ 2/12 #   Failed test at t/01_basic.t line 32.
t/01_basic.t ........ 7/12
#   Failed test at t/01_basic.t line 98.
# Looks like you failed 2 tests of 12.
t/01_basic.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/12 subtests
t/99_pod.t .......... skipped: Test::Pod 1.18 required
t/99_podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required

Test Summary Report
-------------------
t/01_basic.t      (Wstat: 512 Tests: 12 Failed: 2)
  Failed tests:  2, 12
  Non-zero exit status: 2
Files=4, Tests=15,  3 wallclock secs ( 0.03 usr +  0.05 sys =  0.08 CPU)
Result: FAIL
Failed 1/4 test programs. 2/15 subtests failed.
dmake.EXE:  Error code 255, while making 'test_dynamic'
  ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ISHIGAKI/Win32-PowerPoint-0.09.tar.gz        : make_test NO


cpan> reports ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
Distribution: I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz
Fetching 'http://www.cpantesters.org/show/Win32-PowerPoint.yaml'...Could not dow
nload 'http://www.cpantesters.org/show/Win32-PowerPoint.yaml': 500


cpan>
  • Comment on Win32-PowerPoint-0.09 does not install under Strawberry 5.12.3

Replies are listed 'Best First'.
Re: Win32-PowerPoint-0.09 does not install under Strawberry 5.12.3
by dasgar (Priest) on Aug 26, 2011 at 04:18 UTC

    According to your post, your install process failed at line 32 and 98 of the t/01_basic.t file. I just downloaded and extracted out the tarball from CPAN. If I'm reading and understanding those lines correctly, they are testing the creation of a new presentation and closing a presentation within PowerPoint.

    Based on that, I'll risk looking like an idiot and ask the dumb question. Do you have PowerPoint installed?

    By the way, it looks like there's no test results for this module for perl 5.12.3 listed at cpantesters.org. (http://cpantesters.org/author/I/ISHIGAKI.html#Win32-PowerPoint) If you do have PowerPoint installed and still seeing the same install issue, you might want to submit a bug.

Re: Win32-PowerPoint-0.09 does not install under Strawberry 5.12.3
by cdarke (Prior) on Aug 26, 2011 at 08:03 UTC
    Installs fine on ActiveState 5.14.1, apart from a warning from Makefile.PL (using the wrong comparison operator for a version number).

    OLE programs can sometime fail if the product is already running, so I ran the tests with PowerPoint already opened. Worked OK for me.

      thanks, everybody. I did have powerpoint installed, but it was running in the background. apparently, this does screw up the installation.

      and the moral of the story is, close Powerpoint before you install this program. (it would make a nice error message). /iaw

Re: Win32-PowerPoint-0.09 does not install under Strawberry 5.12.3
by Jim (Curate) on Aug 26, 2011 at 00:02 UTC

    It installed successfully for me under Strawberry Perl 5.12.3.

    Running make for I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\W +in32-PowerPoint-0.09-zP3WzC CPAN.pm: Going to build I/IS/ISHIGAKI/Win32-PowerPoint-0.09.tar.gz cp lib/Win32/PowerPoint/Constants.pm blib\lib\Win32\PowerPoint\Constan +ts.pm cp lib/Win32/PowerPoint/Utils.pm blib\lib\Win32\PowerPoint\Utils.pm cp lib/Win32/PowerPoint.pm blib\lib\Win32\PowerPoint.pm ISHIGAKI/Win32-PowerPoint-0.09.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/00_load.t ......... ok t/01_basic.t ........ 1/12 # Hello, Microsoft PowerPoint t/01_basic.t ........ ok t/99_pod.t .......... skipped: set TEST_POD to enable this test t/99_podcoverage.t .. skipped: set TEST_POD to enable this test All tests successful. Files=4, Tests=15, 5 wallclock secs ( 0.06 usr + 0.05 sys = 0.11 CP +U) Result: PASS ISHIGAKI/Win32-PowerPoint-0.09.tar.gz C:\strawberry\c\bin\dmake.EXE test -- OK Running make install Prepending C:\strawberry\cpan\build\Win32-PowerPoint-0.09-zP3WzC/blib/ +arch C:\strawberry\cpan\build\Win32-PowerPoint-0.09-zP3WzC/blib/lib t +o PERL5LIB for 'install' Installing C:\strawberry\perl\site\lib\Win32\PowerPoint.pm Installing C:\strawberry\perl\site\lib\Win32\PowerPoint\Constants.pm Installing C:\strawberry\perl\site\lib\Win32\PowerPoint\Utils.pm Appending installation info to C:\strawberry\perl\lib/perllocal.pod ISHIGAKI/Win32-PowerPoint-0.09.tar.gz C:\strawberry\c\bin\dmake.EXE install UNINST=1 -- OK

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://922466]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-24 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found