in reply to Installing module Sys::Syslog without installing whole Perl

So, I copied over the Syslog.pm file to the C:\perl\lib directory and I get the error message that it Can't locate loadable object for module Sys::Syslog in @INC.

Put it in C:\perl\lib\Sys.
'::' acts as a directory 'splitter' when using modules

  • Comment on Re: Installing module Sys::Syslog without installing whole Perl

Replies are listed 'Best First'.
Re^2: Installing module Sys::Syslog without installing whole Perl
by gellyfish (Monsignor) on Aug 15, 2005 at 18:16 UTC

    Well, yeah except the error was Can't locate loadable object for module Sys::Syslog in @INC which indicates that the .pm file of the module was located succesfully but perl couldn't locate the compiled XS component required.

    /J\

      Not to mention that I'm really skeptical that even if you try and compile it you're going to have syslog(3) on a Windows box (under Cygwin maybe it'd be available).

      --
      We're looking for people in ATL

        Do you know I completely missed the fact that the OP was using Windows. No it won't work. The OP will probably want to try out Net::Syslog which will log to a remote syslogd over a network.

        /J\