• 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


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.


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.


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

Priority Enhancement
CurrentState No Action Required

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-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback