message in error report of 'twiki/bin/configure':
Error: 'TWiki.pm' could not be loaded. The error was:
Cannot read TWiki.cfg: syntax error at /data/www/htdocs/twiki/lib/LocalSite.cfg line 27, near "$TWiki::$cfg"
BEGIN failed--compilation aborted at /data/www/htdocs/twiki/lib/TWiki.pm line 473.
Compilation failed in require at (eval 50) line 3.
Error: Check path to twiki/lib and check that
LocalSite.cfg is present and readable
In the Apache Log you get:
configure: \t(Missing operator before $cfg?), referer: XXXXXXXXXXXXXXXXXx
The reason is that $TWiki::$cfg should be $TWiki::cfg!
Workaround
cp
LocalSite.cfg.txt
LocalSite.cfg
sed -i 's#$TWiki::$cfg#$TWiki::cfg#g'
LocalSite.cfg
This is a duplicate of
Item2558. See follow up there.
--
SP