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
--
MarcioMarchini - 31 Jan 2007
Answer
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.
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
I'm using Twiki 6.0 with Xampp in Windows 8 & have the same issue. Any solution ?
--
Nitin Surana - 2014-07-25
For now, fixed by copying Error.pm to xampp/perl/site/lib
--
Nitin Surana - 2014-07-25