• 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.

http://twiki.org/cgi-bin/view/Support/ConfigureRequireFails

Basically: require failed: No such file or directory, Can't locate TWiki.cfg but when I check from the filesystem things exist where I say they are.

Question

Hi, I figured I'd give the latest Dakar (r4386) snapshot a try. I'm following http://ntwiki.ethermage.net/~develop/cgi-bin/view/TWiki/TWikiInstallationGuide but there is something not right and I can't get past running bin/configure. The error message is not informative enough to tell me what's not right.

Configuration error
WARNING:
TWiki.cfg is unreadable or has a configuration problem that is causing a Perl error - the following message(s) should help locate the problem.

require failed: No such file or directory
Can't locate TWiki.cfg in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 8) line 1. 

The only thing I changed in bin/LocalLib.cfg was to add the first line below:

my $twikiLibPath = "/usr/local/sites/www/htdocs/dakar/lib";
use Cwd qw( abs_path );

I've verfied the path by copying and doing ls from the shell and TWiki.cfg is in that directory.

Environment

TWiki version: TWikiAlphaRelease
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: 2.6.10-1.770_FC3smp #1 SMP Thu Feb 24 14:20:06 EST 2005 i686 i686 i386 GNU/Linux
Web server: Apache/2.0.54
Perl version: v5.8.5
Client OS:  
Web Browser:  
Categories: Installation %SUPPORTCATEGORIES%

-- MattWilkie - 19 Jun 2005

Answer


Oh dear; my $twikiLibPath? No, that isn't going to work, I'm afraid. Delete the my. -CC

That shortens the error message to simply require failed: No such file or directory without telling me what file or dir it's looking for. Upgraded to r4405 with no change in results.

I set Current State to 'new' as I don't know what to use for re-opening


This was due to the LocalSite.cfg no esxisting. I have improved the checking for a writable localsite.cfg, and disabled the update button if it is not writable.

SVN 4411

CC

ItemTemplate
Summary reports missing required, not enough info to figure out what/how
ReportedBy MattWilkie
Codebase

AppliesTo

Priority Normal
CurrentState Closed
WaitingFor

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2005-08-21 - ThomasWeigert
 
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