Reported by
TWiki:Main.PeteLey
at
TWiki:Support.SID-01503
on 2012-07-17 :
As part of my initial install, configure displays a Software Error on the page without finishing loading the rest of the settings after CGI setup:
Argument "5.8.1" isn't numeric in numeric lt (<) at /srv/http/twiki/lib/TWiki/Configure/Checker.pm line 307.
RCS is version 5.8.1 and this only happened when I installed it so I know that must be what it is. I'm not sure where to go from here.
--
TWiki:Main/PeterThoeny
- 2012-07-21
It looks like configure is failing to detect RCS properly in some circumstances. Suggested patch:
--- twiki/lib/TWiki/Configure/Checker.pm (revision 23023)
+++ twiki/lib/TWiki/Configure/Checker.pm (working copy)
@@ -299,9 +299,10 @@
$err .= $key.' is not set';
} else {
my $version = `$prog -V` || '';
- if ( $version =~ /(\d+(\.\d+)+)/ ) {
+ if ( $version !~ /Can't exec/ && $version =~ /(\d+(\.\d+)+)/ ) {
$version = $1;
} else {
+ $version = '';
$err .= $this->ERROR($prog.' did not return a version number (or might not exist..)');
}
if( $version =~ /^\d/ && $version < $rcsverRequired ) {
--
TWiki:Main.PeterThoeny
- 2012-07-19