Question
When I attempt to run the configure command, underneith the CGI setup section, an error appears that says, Software error: Argument "/usr/bin/rcs" isn't numeric in numeric lt (<) at /srv/twiki/lib/TWiki/Configure/Checkers/RCS/Checker.pm line 51.
After this error appears, configure does not present other categories to the browser to configure.
Here are the environmental variables listed in the cgi setup (read-only) section of configure.
Operating system Linux 2.6.16 (i586-linux-thread-multi)
Perl version 5.008008 (linux)
@INC
library path /srv/twiki/lib/CPAN/lib//arch
/srv/twiki/lib/CPAN/lib//5.8.8/i586-linux-thread-multi
/srv/twiki/lib/CPAN/lib//5.8.8
/srv/twiki/lib/CPAN/lib/
/srv/twiki/lib
/usr/lib/perl5/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
.
This is the Perl library path, used to load TWiki modules, third-party modules used by some plugins, and Perl built-in modules.
CGI bin directory /srv/twiki/bin
TWiki module in
@INC
path TWiki.pm (Version: TWiki-4.1.0, Tue, 16 Jan 2007, build 12567) found
Perl modules
Archive::Tar 1.30 installed
B::Deparse 0.71 installed
CGI::Carp 1.29 installed
Data::Dumper 2.121 installed
File::Basename 2.74 installed
File::Copy 2.09 installed
File::Find 1.10 installed
File::Glob 1.05 installed
File::Path 1.08 installed
File::Spec 3.12 installed
File::Temp 0.17 installed
IO::File 1.13 installed
MIME::Base64 3.07 installed
POSIX 1.09 installed
Socket 1.78 installed
Time::Local 1.13 installed
CGI::Cookie 1.27 installed
CGI::Session 4.20 installed
Locale::Maketext::Lexicon 0.49 installed
Net::SMTP 2.29 installed
Apache::Htpasswd 1.8 installed
Digest::MD5 2.36 installed
Digest::SHA1 2.10 installed
Encode 2.12 installed
Encode::compat Not installed. may be required for international characters
Getopt::Long 2.35 installed
I18N::Langinfo 0.02 installed
Lingua::EN::Sentence 0.25 installed
Unicode::MapUTF8 1.11 installed
Win32::Console Not installed. may be required for Windows
PATH_INFO
For a URL such as
http://localhost/twiki/bin/configure/foo/bar
, the correct PATH_INFO is /foo/bar, without any prefixed path components. Click here to test this - particularly if you are using mod_perl, Apache or IIS, or are using a web hosting provider. Look at the new path info here. It should be /foo/bar.
mod_perl Not used for this script
mod_perl is loaded into Apache
CGI user userid = apache groups = www,www
Your CGI scripts are executing as this user.
Original PATH /sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/apache2/bin:/usr/local/apache2/bin
This is the PATH value passed in from the web server to this script - it is reset by TWiki scripts to the PATH below, and is provided here for comparison purposes only.
Current PATH /bin:/usr/bin
This is the actual PATH setting that will be used by Perl to run programs. It is normally identical to {SafeEnvPath}, unless that variable is empty, in which case this will be the webserver users standard path..
Thanks,
Jeffrey
Environment
--
JeffreyJohnson - 19 Jan 2007
Answer
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.
I found the answer! The rcs install program put all the compiled rcs commands into /usr/local/bin. The program was looking for them in /usr/bin. Modifying the installation path and remaking the rcs files solved the problem.
--
JeffreyJohnson - 19 Jan 2007
Thanks for reporting, this needs to be fixed. Tracked in
Bugs:Item3473
.
--
PeterThoeny - 19 Jan 2007
You can guide step by step for fix this bug. And what is this error, library necessary for this error.
Thanks!
--
HuynhVanTin - 19 Jan 2009
TWikibug:Item3473
reports that this has been fixed in TWiki 4.1. Please upgrade your TWiki.
--
PeterThoeny - 19 Jan 2009