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