Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

PPM problem with Win32::OLE

by cormanaz (Deacon)
on Mar 24, 2007 at 01:07 UTC ( [id://606367]=perlquestion: print w/replies, xml ) Need Help??

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

Good day bros. On advice of a monk in another thread I am seeking to check out mod Win32::IEAutomation. When I ask PPM ver 4.01 (ActivePerl 5.8.8.820) to install that it tells me "WARNING: Can't find any package that provide Win32-OLE for Win32-IEAutomation."

Yet I checked my Perl setup and C:\Perl\lib\Win32 already contains OLE.pm. Why is PPM choking if Win32-OLE is already installed?

Many TIA...

Steve

Replies are listed 'Best First'.
Re: PPM problem with Win32::OLE
by syphilis (Archbishop) on Mar 24, 2007 at 04:20 UTC
    I get the same. I don't know how to resolve the issue.

    As a workaround, since Win32::IEAutomation requires no compilation, you could install from CPAN source if you have either nmake or dmake. (The latter is freely available from http://search.cpan.org/dist/dmake/.)

    It's then just a matter of downloading the Win32::IEAutomation source from http://search.cpan.org/~prashant/Win32-IEAutomation-0.5/, extracting the tarball to some location, 'cd'ing to that location and running, in sequence 'perl Makefile.PL', 'dmake test' and 'dmake install'. (Replace those 'dmake' commands with comparable 'nmake' commands if that's appropriate.)

    Cheers,
    Rob
    Update: It's interesting that Win32::IEAutomation installs fine using the version of PPM (2.1.8) that's on CPAN. (It's probably not a good idea, however, to attempt replacing ppm-4 with the CPAN version of ppm.)
Re: PPM problem with Win32::OLE
by randyk (Parson) on Mar 24, 2007 at 18:26 UTC
    Probably, in making up the ppd package for Win32::IEAutomation, the dependency on the module Win32::OLE got translated into a dependency on the ppm package Win32-OLE. While this s/::/-/g translation from module to package name often works, it fails sometimes - in this case, Win32::OLE is found within the libwin32 package, which already comes installed with ActivePerl. The solution is to remove the dependency on Win32-OLE within the Win32-IEAutomation ppd file.
Re: PPM problem with Win32::OLE
by Anonymous Monk on Mar 24, 2007 at 04:37 UTC
    force install
      With the ppm of ActivePerl 820, the syntax is
      ppm install Package-Name --nodeps
      to install a package without resolving the dependencies.
      ppm install --force Win32-IEAutomation ppm install failed: Can't find any package that provide Win32-OLE for +Win32-IEAutomation

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-16 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found