View Single Post
  #4   (View Single Post)  
Old 27th January 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

That is a Perl error message, saying that it cannot find a module in the Perl module PATH @INC

The following tiny test program also triggers the same error:
Code:
$  cat -n test.pl ; ./test.pl
     1  #!/usr/bin/perl
     2  
     3  use strict;
     4  use warnings;
     5  
     6  use CGI::Fast;
     7  
     8  print "This is a test\n";
     9  
    10 Can't locate FCGI.pm in @INC (@INC contains:
/usr/local/libdata/perl5/site_perl/amd64-openbsd
/usr/libdata/perl5/site_perl/amd64-openbsd
/usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl
/usr/libdata/perl5/amd64-openbsd/5.12.2
/usr/local/libdata/perl5/amd64-openbsd/5.12.2 /usr/libdata/perl5
/usr/local/libdata/perl5 .) at /usr/libdata/perl5/CGI/Fast.pm line 25.
BEGIN failed--compilation aborted at /usr/libdata/perl5/CGI/Fast.pm line 25.
Compilation failed in require at ./test.pl line 6.
BEGIN failed--compilation aborted at ./test.pl line 6.
The relevant lines from the CGI::Fast module:
Code:
     1  package CGI::Fast;
     2  use strict;
     3  
     4  # A way to say "use warnings" that's compatible with even older perls.
     5  # making it local will not affect the code that loads this module
     6  # and since we're not in a BLOCK, warnings are enabled until the EOF
     7  local $^W = 1;
     8  
     9  # See the bottom of this file for the POD documentation.  Search for the
    10  # string '=head'.
    11  
    12  # You can run this file through either pod2man or pod2html to produce pretty
    13  # documentation in manual or html file format (these utilities are part of the
    14  # Perl 5 distribution).
    15  
    16  # Copyright 1995,1996, Lincoln D. Stein.  All rights reserved.
    17  # It may be used and modified freely, but I do request that this copyright
    18  # notice remain attached to the file.  You may modify this module as you
    19  # wish, but if you redistribute a modified version, please attach a note
    20  # listing the modifications you have made.
    21  
    22  $CGI::Fast::VERSION='1.08';
    23  
    24  use CGI;
    25  use FCGI;
It is rather strange that a Perl module in the OpenBSD base Perl distribution has a dependency on an external module.

But all of this does not help you much. Later on today I have some time, and will try to install backuppc myself.

How did you install it? Through packages or ports? Which version of OBSD are you using?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote