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

Item6905: RCS can cause software error on configure

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine configure Normal Closed   patch 5.1.2

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary RCS can cause software error on configure
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 5.1.1
SVN Range TWiki-5.1.1-trunk, Wed, 20 Jun 2012, build 23007
AppliesTo Engine
Component configure
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:23078 TWikirev:23079
TargetRelease patch
ReleasedIn 5.1.2
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2012-10-07 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback