Tags:
create new tag
view all tags

Question

Trying to install 4.1 and when I connect to bin/configure an internal error is displayed, and the error logs show:

"Perl v5.8.0 required--this is only v5.6.1, stopped at (eval 3) line 3. "

Have not had any issues installing TWiki 4.0 in this same shared hosting environment, which has Perl 5.6.1. TWiki system requirements page indicates Perl "5.005_03 or higher".

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux 2.4.31
Web server: Apache 1.3.7
Perl version: 5.6.1
Client OS:  
Web Browser:  
Categories: Installation

-- LianeRoditi - 20 Jan 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.

This is a bug that unfortunately slipped into the 4.1 release, I just filed Bugs:Item3476.

Fix: Edit the configure script and change the 'require' number to:

eval 'require 5.00503';
die $@ if $@;

-- PeterThoeny - 20 Jan 2007

Thanks Peter. I realize 4.1.0 just got released, but do you have a target date for 4.1.1?

-- LianeRoditi - 20 Jan 2007

Not yet. You can get involved in the TWikiCommunity to learn. ReadmeFirst to get started.

-- PeterThoeny - 21 Jan 2007

Above change was made, however I now get the following when trying to access configure:

Argument "" isn't numeric in numeric lt (<) at /big/dom/xacsa_admin/www/committee/wiki/lib/TWiki/Configure/Checker.pm line 207.

-- LianeRoditi - 21 Jan 2007

Possibly a bug. Could you try this and let us know: Change '' to '0' in line 204 of the configure script:

203:            eval '$mod_version = $'.$mod->{name}.'::VERSION';
204:            $mod_version ||= '0';
205:            $mod_version =~ s/(\d+(\.\d*)?).*/$1/; # keep 99.99 style only
206:            use strict 'refs';
207:            if ($mod_version < $mod->{minimumVersion}) {

-- PeterThoeny - 22 Jan 2007

Be careful about this. The change to the perl version was quite deliberate, and not a "bug". TWiki is untested on perl versions before 5.008, and if you want to use it on these versions I'm afraid you are currently on your own.

-- CrawfordCurrie - 24 Jan 2007

Please note that the change to the perl version did not follow the TWikiRelease04x01Process, hence it is considered a bug.

-- PeterThoeny - 24 Jan 2007

TWiki 4.1.2 will be released in the next few days; it will support again Perl 5.6.1.

-- PeterThoeny - 02 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-03-02 - 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.