Tags:
create new tag
view all tags

SID-01503: RCS causes software error on configure

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.16.0
Category: CategoryInstallation Server OS: Arch Linux, kernel 3.4.4 Last update: 5 years ago

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.

-- PeteLey - 2012-07-17

Discussion and Answer

It looks like configure is failing to detect RCS properly. Try this 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 ) {

-- PeterThoeny - 2012-07-19

This is tracked in TWikibug:Item6905.

-- PeterThoeny - 2012-07-21

You may also want to see this: ConfigureCheckerNumericError

-- AaronLWalker - 2012-07-30

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2012-10-24

Hello,

After I change this code to

m        if ( $version !~ /Can't exec/ && $version =~ /(\d+(\.\d+))/ ) {
It works again. It seems to be the regex matching issue. This modification will only read first two blocks of version. ex. 5.8.1 -> 5.8

-- TWiki Guest - 2020-03-21

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title RCS causes software error on configure
SupportCategory CategoryInstallation
TWiki version 5.1.1
Server OS Arch Linux, kernel 3.4.4
Web server Apache 2.2.22
Perl version 5.16.0
Browser & version

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2020-03-21 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.