Tags:
create new tag
view all tags

SID-00099: Configure Error

Status: Answered Answered TWiki version: 4.2.0 Perl version: 5.8.8
Category: CategoryInstallation Server OS: Windows 2003 Server Last update: 16 years ago

When I open the Configure page it shows me the below error,

Software error: Failed to load the perl module CGI qw(:any). The module could not be found.

Please ensure that:

  1. CGI qw(:any) is installed,
  2. that the module is available on the @INC path,
  3. that the webserver user (SYSTEM) has permission to read the CGI qw(:any).pm file.
The detailed error seen was: Use of uninitialized value in -d at C:/perl/site/lib/CGI.pm line 4083. Compilation failed in require at (eval 8) line 2. BEGIN failed--compilation aborted at (eval 8) line 2.

Am I going wrong somewhere?

-- RajeshN - 13 Feb 2009

Discussion and Answer

Something is wrong with your Perl installation. Perl and TWiki can be tricky to get right on Windows. I don't have much experience with TWiki installation on Windoze, maybe someone else can help. Consider installing TWiki on Linux, running inside VMware on Windows.

-- PeterThoeny - 13 Feb 2009

Hi Peter,

I just had to remove the -w on the shebang line in the configure script and then my configure worked !!!

-- RajeshN - 16 Feb 2009

What do you mean by "remove the -w" RajeshN? I am receiving much the same error msg when I go to http://localhost/twiki/bin/configure:

Failed to load the perl module CGI qw(:any). The module could not be found.

Please ensure that:

  1. CGI qw(:any) is installed,
  2. that the module is available on the @INC path,
  3. that the webserver user (SYSTEM) has permission to read the CGI qw(:any).pm file.
The detailed error seen was: Use of uninitialized value $_ in -d at D:/Perl/lib/CGI.pm line 4083. Compilation failed in require at (eval 9) line 2. BEGIN failed--compilation aborted at (eval 9) line 2.

This is my first twiki install and I'm new at perl and apache, thanks in advance.

-- MichaelKerr - 2009-07-21

I had this same problem and this is how I solved it.

1. Go to twiki/bin directory. In my case it is C:\www\twiki\bin.

2. Open the file configure for editing. I used WordPad.

3. Edit the first line to remove the "-w" Line 1 before the edit: #!C:\Perl\bin\perl.exe -w Line 1 after the edit: #!C:\Perl\bin\perl.exe

4. That's it. No need to restart apache server. Just go to http://localhost/twiki/bin/configure. I was following the installation instructions from http://twiki.org/cgi-bin/view/TWiki/TWiki04x02WindowsInstallationGuide

-- CarlosEscobar - 2009-07-23

-- RajeshN - 2009-08-07

#! /usr/bin/perl -w

This will generate warnings and tell you where the problems are in your script. Be sure to use it if you're a Perl beginner... and be doubly sure to use it if you're a Perl expert. The errors don't go away as you progress; they just grow smarter. smile

-- MartinAcevedo - 2009-12-28

having the same error, ... I install ActivePerl and then it works fine... mod_perl/2.0.4 Perl/v5.10.1 configured.

-- MartinAcevedo - 2009-12-28

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Configure Error
SupportCategory CategoryInstallation
TWiki version 4.2.0
Server OS Windows 2003 Server
Web server Apache 2.2.4
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2009-12-28 - MartinAcevedo
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.