• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3545: Configure dies with: Not an ARRAY reference at Checker.pm line 191

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 4.1.1

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Reported by a guest in TWiki:Support/ConfigureSoftwareErrorArrayReference:

Upon running the configure script, I'm seeing the following output after the Environment Variables and CGI Setup sections:

Software error: Not an ARRAY reference at /export/www/TWiki/lib/TWiki/Configure/Checker.pm line 191.

TWiki version: TWikiRelease04x01x00
Server OS: SunOS 5.8 Generic_117350-25 sun4u sparc
Web server: Apache 1.3.36
Perl version: 5.8.8

See support topic for HTML output of configure.

-- TWiki:Main/PeterThoeny - 31 Jan 2007


We will need more information than that, I'm afraid. Please attach the stack trace that will have been output to the apache error log. Thanks.

(Peter, I'm putting you in the WaitingFor as the user has chosen to remain anonymous)

CC

The only thing appearing in the apache error logs related to this is:

[Wed Jan 31 13:56:50 2007] configure: Not an ARRAY reference at /export/www/TWiki/lib/TWiki/Configure/Checker.pm line 191. Subroutine TWiki::Configure::Checker::tmpfile redefined at /usr/local/lib/perl/5.8.8/Exporter.pm line 65. at /usr/local/lib/perl/5.8.8/sun4-solaris/POSIX.pm line 19

Is there any additional info I could add that would be helpful?

-- TWiki:Main.ChristopherOMalley - 01 Feb 2007

Sorry, I am only the messenger on this one, this item is not waiting for me.

-- PTh

Thanks Christopher. Humph. There should have been a stack trace there :-\ That line is in a function that is called to check the versions of install CPAN libraries. Unfortunately the function is called in many places, and without a stacktrace it's hard to determine the cause of the effect.

One thing that might help nail it down. Are you using either digest or sha1 password encodings? Also, there should be a file called lib/DEPENDENCIES in your install. Is it present, readable by the webserver user, and non-empty? It's a csv file; does it contain at least one line where 'cpan' is the third field?

What plugins and contribs do you have installed?

CC

1) at the moment, sha1

2) there is a tools/DEPENDENCIES, no lib/DEPENDENCIES

3) none, aside from whatever comes with the vanilla install tarball. this is a new, clean, from-scratch install of 4.1.0.

-- TWiki:Main.ChristopherOMalley - 02 Feb 2007

On SVN DEPENDENCIES for configure has moved from tools to lib. So in 4.1.0 it is in tools. And from 4.1.1 it has moved to lib to ease installation. The change was done because otherwise an installer had to place tools and lib side by side on the server and we had some bug reports related to this.

Just for your info. And this will have nothing to do with this bug item

-- TWiki:Main.KennethLavrsen - 02 Feb 2007

Thanks Christopher, that was the clue I needed. You can manually modify LocalSite.cfg and temporarily change the encoding to crypt or plain if you want to use configure; otherwise, it is now fixed in subversion. This only affects configure, not TWiki proper.

Propose that this goes into 4.1.1

CC

Merged to Patch04x01 for 4.1.1

-- TWiki:Main.KennethLavrsen - 03 Feb 2007

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary Configure dies with: Not an ARRAY reference at Checker.pm line 191
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.1.0
SVN Range TWiki-4.1.1, Tue, 30 Jan 2007, build 12650
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 12734 12736
TargetRelease patch
ReleasedIn 4.1.1
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2008-08-10 - GilmarSantosJr
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback