Tags:
create new tag
, view all tags

Question

A Windows install of 4.1.0 produces an error when visiting http://localhost/twiki/bin/configure.pl : Can't locate Error.pm in @INC (@INC contains: C:\twiki\lib C:/Perl/lib C:/Perl/site/lib) at C:\twiki\lib/TWiki/Configure/LANGUAGES.pm line 25, line 1151.

failed workaround: Enable this in LocalLib.cfg @localPerlLibPath = ( 'c:/twiki/lib/CPAN/lib' ); (it was a no-op, same error)

successful workaround: copied C:\twiki\lib\CPAN\lib to C:\Perl\site\lib (this feels very wrong)

Any idea? 4.0.5 under Windows did not have this problem.

Note: with the successful workaround, I hit 2 other problems:

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003
Web server: Apache 2 2.0.55
Perl version: Active State v5.8.8 built for MSWin32-x86-multi-thread
Client OS: Windows 2003
Web Browser: Firefox 1.5.0.9
Categories: Installation

-- MarcioMarchini - 31 Jan 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I moved Marcio's question from TWikiRelease04x01x00 to here.

-- PeterThoeny - 01 Feb 2007

This problem is gone in 4.1.1

-- MarcioMarchini - 05 Feb 2007

Thanks for reporting; closing this...

-- PeterThoeny - 05 Feb 2007

I have a very similar problem with TWiki 4.0.4, and everything is working fine, so I don't really want to upgrade...

Everything was working fine when I installed a bunch of CPAN modules (Bit::Vector, HTML::CalendarMonthSimple, Carp::Clan and Date::Calc). Then I installed the CalendarPlugin, and now, when I go to twiki/bin/configure, I have the same error as Marcio: the script tells me it cannot locate some files (LocalSite.cfg and TWiki.pm among others) in the directories listed in @INC, among which the repertory in which these files actually are (I have checked, they are there):

/var/www/html/twiki-4.0.4/lib

The permissions seem correct. Any idea why can't the script see them?

Thanks in advance

-- FlorianSimatos - 07 Mar 2007

This is a new question, please open a new support question.

-- PeterThoeny - 08 Mar 2007

Hi, I have got the same problem after entering a new password in the configure script. (Twiki 4.1.2, WinXP? Pro IIS 5.1, ActivePerl 5.8.7). Chris

-- ChrisGadd - 16 Apr 2007

Copying Error.pm from C:\twiki\lib\CPAN\lib to C:\Perl\site\lib as suggested by Marcio worked ok.

-- ChrisGadd - 16 Apr 2007

Hi, I have exactly the same problem described above after upgrading from Release 4.1.1 to 4.1.2.

-- JanAltenburg - 11 May 2007

 
Change status to:
Topic revision: r9 - 11 May 2007 - 15:09:29 - JanAltenburg
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback