|
Posted by Paul Lalli on April 27, 2006, 1:32 pm
Please log in for more thread options
mmccaws2 wrote:
> My script, originally from Roth, is trying to run win32::daemon. I get
> this error message
>
> D:\Perl\perlstuff>perl Example_5_3.pl
> Can't locate Win32/Daemon.pm in @INC (@INC contains: D:/Perl/lib
> D:/Perl/site/li
> b .) at Example_5_3.pl line 16.
> BEGIN failed--compilation aborted at Example_5_3.pl line 16.
>
> The win32::daemon module that is installed is from activestate called
> Win32-Daemon-Simple. Are these not compatible?
It has nothing to do with compatability, they're simply not the same
module, any more than Foo::Bar is the same module as Data::Doit. Just
because they have similar names, doesn't mean they're even related, let
alone the same thing.
If your module needs Win32::Daemon (not win32::daemon - case matters),
then you need to install Win32::Daemon, not Win32::Daemon::Simple.
> I tried to download the zip and install roth's win32::daemon
>
> however it complains and stops, what I am doing wrong? Here is the
> commands I tried neither worked
>
> D:\Perl\pkgs>ppm install d:\perl\pkgs\win32-daemon.ppd
I don't know a lot about ppm, but that seems odd. You generall just
provide the name of the module, and let ppm go out to its repositiries
and find it:
ppm install Win32::Daemon
Paul Lalli
|