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