• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Error: LocalSite.cfg is unreadable or has a configuration problem that is causing a Perl error - the following message(s) was generated:

require failed: No such file or directory

The @INC path is

/home/.balder/wbniv/tinderbox.wbniv.wikihosting.com/cgi-bin/lib/CPAN/lib//arch/:/home/.balder/wbniv/tinderbox.wbniv.wikihosting.com/cgi-bin/lib/CPAN/lib//5.8.4/i386-linux-thread-multi/:/home/.balder/wbniv/tinderbox.wbniv.wikihosting.com/cgi-bin/lib/CPAN/lib//5.8.4/:/home/.balder/wbniv/tinderbox.wbniv.wikihosting.com/cgi-bin/lib/CPAN/lib//:/home/.balder/wbniv/tinderbox.wbniv.wikihosting.com/cgi-bin/lib:/etc/perl:/usr/local/lib/perl/5.8.4:/usr/local/share/perl/5.8.4:/usr/lib/perl5:/usr/share/perl5:/usr/lib/perl/5.8:/usr/share/perl/5.8:/usr/local/lib/site_perl:.

This may be because this is the first time you have run configure. In this case you can simply ignore this error until you have filled in your General path settings. Otherwise, check that the file exists, and the webserver user is allowed to read it.

LB

suggested patch:

 # if this fails, ignore the problem, but we have to do it
-unless( eval 'do "LocalSite.cfg"' ) {
-    # Capture the Perl error(s)
-    $brokenLocalSiteError = 'require failed: '.
-      ( $! ? $! : '') . ( $@ ? $@ : '');
+if ( _findFileOnPath( 'LocalSite.cfg' ) ) {
+    unless( eval 'do "LocalSite.cfg"' ) {
+       # Capture the Perl error(s)
+       $brokenLocalSiteError = 'require failed: '.
+           ( $! || '') . ( $@ || '');
+    }
 }

which doesn't print out an error message if LocalSite.cfg doesn't exist.

WN

ItemTemplate
Summary configure gives misleading/confusing error/warning when LocalSite.cfg doesn't exist
ReportedBy LynnwoodBrown
AppliesTo Engine
Component

Priority Enhancement
CurrentState No Action Required
WaitingFor

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-11-08 - WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback