You are here: Foswiki>Tasks Web>Item13870 (08 Feb 2016, GeorgeClark)Edit Attach

Item13870: RCSStoreContrib configure check error by syntax shell command error in RCSChecker.pm

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.0
Target Release: minor
Applies To: Extension
Component: Configure, RCSStoreContrib
Branches: master Release02x00
Reported By: StanleyTweedle
Waiting For:
Last Change By: GeorgeClark
my $version = `$prog --version -V 2&>1` || ''; change to my $version = `$prog --version -V 2>&1` || '';

-- StanleyTweedle - 25 Nov 2015

Could you give a bit more information about this error? What platform? And what is the syntax error? Could you post a snip of the error log? It's not failing here. Thanks. (I plan to rework this checker a bit - Too many strange combinations on different platforms, and the returned version strings are very different.)

-- GeorgeClark - 25 Nov 2015

this simple error when somebody typing code. it produсes error message in RCSStoreContrib only and file with name "1" in /bin directory foswiki. you can see https://en.wikipedia.org/wiki/Redirection_%28computing%29 what means 2>&1 in unix shell.

-- StanleyTweedle - 26 Nov 2015

I looked at that line 3 times and did not notice the transposed > and & ... Thanks.

-- GeorgeClark - 26 Nov 2015

this the usual thing )))

-- StanleyTweedle - 26 Nov 2015

This is the problem where the configure script says "rcs did not return a version number (or might not exist..)"? Edited lib/Foswiki/Configure/Checkers/RCSChecker.pm as given above. Works. Hurray for interpreted languages.

-- DavidTonhofer - 03 Jan 2016
 
Topic revision: r11 - 08 Feb 2016, GeorgeClark - This page was cached on 30 Mar 2017 - 02:57.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License