Tags:
create new tag
view all tags

Question

I'm having problems with Configure while trying to use a URL that ends differently from the directory name.

For example, setting up Apache to use a URL ending "/twiki" and pointing it at a directory tree ending "/twiki-4.1.2" causes the following error message to be output by configure just after the initial setting of the directories/urls:

Software error:

Argument "4.1.2" isn't numeric in numeric lt (<) at /home/www-data/twiki/twiki-4.1.2/lib/TWiki/Configure/Checkers/RCS/Checker.pm line 48.

If I re-install in a directory ending "twiki" rather than one ending "twiki-4.1.2" everything seems OK.

Any ideas?

Environment variables(read only) DOCUMENT_ROOT /var/www/ GATEWAY_INTERFACE CGI/1.1 HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING gzip,deflate HTTP_ACCEPT_LANGUAGE en-gb,en;q=0.5 HTTP_CONNECTION keep-alive HTTP_HOST localhost HTTP_KEEP_ALIVE 300 HTTP_REFERER http://localhost/twiki/bin/configure HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.6) Gecko/20071008 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6 PATH /bin:/usr/bin QUERY_STRING t=1192952493 REMOTE_ADDR 127.0.0.1 REMOTE_HOST localhost REMOTE_PORT 53154 REQUEST_METHOD GET REQUEST_URI /twiki/bin/configure?t=1192952493 SCRIPT_FILENAME /home/www-data/twiki/twiki-4.1.2/bin/configure SCRIPT_NAME /twiki/bin/configure SERVER_ADDR 127.0.0.1 SERVER_ADMIN webmaster@localhost SERVER_NAME localhost SERVER_PORT 80 SERVER_PROTOCOL HTTP/1.1 SERVER_SIGNATURE Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at localhost Port 80 SERVER_SOFTWARE Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 CGI Setup(read only) Operating system Linux 2.6.15.7 (i486-linux-gnu-thread-multi) Perl version 5.008008 (linux)

Note that by convention "Perl version 5.008" is referred to as "Perl version 5.8" and "Perl 5.008004" as "Perl 5.8.4" (i.e. ignore the leading zeros after the .) @INC library path /home/www-data/twiki/twiki-4.1.2/lib/CPAN/lib//arch /home/www-data/twiki/twiki-4.1.2/lib/CPAN/lib//5.8.8/i486-linux-gnu-thread-multi /home/www-data/twiki/twiki-4.1.2/lib/CPAN/lib//5.8.8 /home/www-data/twiki/twiki-4.1.2/lib/CPAN/lib/ /home/www-data/twiki/twiki-4.1.2/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_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 /home/www-data/twiki/twiki-4.1.2/bin TWiki module in @INC path TWiki.pm (Version: TWiki-4.1.2, Sat, 03 Mar 2007, build 13046) found Perl modules B::Deparse

0.71 installed Data::Dumper

2.121 installed File::Basename

2.74 installed File::Glob

1.05 installed File::Path

1.08 installed File::Spec

3.25 installed File::Temp

0.18 installed MIME::Base64

3.07 installed POSIX

1.09 installed Socket

1.78 installed Archive::Tar

1.36 installed CGI::Cookie

1.28 installed CGI::Session

4.20 installed Locale::Maketext::Lexicon

0.49 installed Net::SMTP

2.31 installed Apache::Htpasswd

Not installed. may be required for ApacheHtpasswd password manager Digest::MD5

2.36 installed Digest::SHA1

2.11 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

Not installed. may be required for generating new language files Unicode::MapUTF8

Not installed. may be required for international characters 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 not loaded into Apache CGI user userid = www-data groups = www-data,www-data

Your CGI scripts are executing as this user. Original PATH /usr/local/bin:/usr/bin:/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.. Software error:

Argument "4.1.2" isn't numeric in numeric lt (<) at /home/www-data/twiki/twiki-4.1.2/lib/TWiki/Configure/Checkers/RCS/Checker.pm line 48.

For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Ubuntu 7.10
Web server: Apache 2.2.4-3build1
Perl version: 5.8.8
Client OS: Ubuntu 7.10
Web Browser: Mozilla
Categories: Installation

-- MikeMoreton - 21 Oct 2007

Answer

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.

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 03 Dec 2007

Hmmm, I don't really know why this error occurs. I got it when installing 4.1.2 on Ubuntu Server 7.10, which has Perl 5.8.8.

It vanished for me when I installed the "rcs" package. So maybe the TWiki configure script somehow fails to find the built-in rcs equivalent?

-- JoachimNilsson - 22 Dec 2007

I had this issue today after upgrading a server. I can confirm installing the "rcs" package fixed it.

-- MatthewSSmith - 2010-10-19

What did you upgrade? Can you specify from what (OS, TWiki, ...) version to what version?

-- PeterThoeny - 2010-10-19

I'm having a similar problem with an install of 5.0.1 on AIX 6.1:

configure: Argument "5.0.1" isn't numeric in numeric...

Since the "configure" url was essentially unusable, I manually edited LocalSite.cfg and for the StoreImpl option, I changed RcsWrap to RcsLite , and it now "configure" works. Perhaps the default should be changed to RcsLite?

-- AaronLWalker - 2011-02-28

I believe RcsWrap is faster than RcsLite. Best to fix the configure script to allow dot names in base URL of TWiki install.

-- PeterThoeny - 2011-02-28

See also related SID-01503.

-- PeterThoeny - 2012-07-30

Change status to:
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2012-07-30 - 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.