(Answer) (Category) Faq-O-Matic Faq-O-Matic : (Category) Administrators' Guide : (Category) Troubleshoot :
Error accessing configuration screen
I have a problem accessing the configuration screen. When I try to access faq/?cmd=install I get the following error:
  Warnings:
  problem: Use of uninitialized value in vec at /usr/lib/perl5/5.6.0/warnings.pm line 252
  BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/Cwd.pm line 342
  Compilation failed in require at /usr/lib/perl5/site_perl/5.005/FAQ/OMatic/install.pm line 163.
  BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/FAQ/OMatic/install.pm line 163
  Compilation failed in require at /usr/lib/perl5/site_perl/5.005/FAQ/OMatic/dispatch.pm line 141
System: RedHat 6.2, Perl 5.6.0, FOM 2.7.10, apache 1.3.14
I have exactly the same problem on my system: RedHat 6.2, perl 5.6.0 installed (not sure of the source. Not official rpm packages. Many traces of the old installation of 5.005 ar still around. A current installation of FOM 2.7.10 works fine. I fail to install 2.7.19 (although it may just be a problem with the install page).

Ugly Workaround:

 --- /usr/lib/perl5/5.6.0/warnings.pm_tzafrirorig        Sun Aug 20 10:34:12 2000
 +++ /usr/lib/perl5/5.6.0/warnings.pm    Wed Jul 23 07:23:28 2003
 @@ -248,7 +248,8 @@
 
  sub unimport {
      shift;
 -    my $mask = ${WARNING_BITS} ;
 +    #my $mask = ${WARNING_BITS} ;
 +    my $mask = bits(@_ ? @_ : 'all') ; # Chacing an uninitilized value...
      if (vec($mask, $Offsets{'all'}, 1)) {
          $mask = $Bits{'all'} ;
          $mask |= $DeadBits{'all'} if vec($mask, $Offsets{'all'}+1, 1);

Perl forgot to initilize something? FOM forgot to initialize something? (look a bit up in the function 'import' in that file)

[Append to This Answer]
Previous: (Answer) Rebuilding cache & dependency files error
Next: (Answer) Why am I getting moderator mail?
This document is: http://www.jonh.net/cgi-bin/faqomatic/fom?file=1522
[Search] [Appearance]
This is a Faq-O-Matic 2.718d.
Hosted by SourceForge Logo and jonh.net.