r9 - 13 May 2008 - 04:13:40 - PeterThoenyYou are here: TWiki >  Support Web > ProblemConfigureExtensionsFails
Tags:
, create new tag

Question

I just installed 4.2 on FC 6 that has a working 4.1.2. The Configure script worked fine. When I try to add more extensions from Configure after submitting my password and waiting for the files to download and install I get the following error:Software Error Undefined subroutine &Compress::Zlib::gzopen called at /usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm line 440, line 1.

I tried multiple extensions/plugins that were 4.2 tested. I have successfully used Configure-add more extensions/plugins with 4.1.2 and they sef install or update fine.

Any ideas what I have done wrong?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedrora Core 6
Web server: Apache
Perl version: Perl 5.008
Client OS: XP
Web Browser: FF 2.o
Categories: Installation, Plugins
-- HansSchwing - 23 Jan 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Sounds like you need to install (or update) the Compress::Zlib module from CPAN.

-- CrawfordCurrie - 26 Jan 2008

I had the same problem Hans described. I had Compress::Zlib installed, but it didn't seem to find it after I installed 4.2. It turned out the way setlib.cfg configures the perl search path changed from 4.1 to 4.2. I had some perl modules installed in a local directory, and the setlib.cfg change meant the scripts found an older version of some modules at runtime.

My fix was to set $CPANBASE to $twikiLibPath/CPAN/lib/ (its default value) in LocalLib.cfg. This caused setlib.cfg to put my @localPerlLibPath directories at the front of the perl search path, like it did under 4.1, rather than at the end.

-- GeoffreyLowney - 28 Jan 2008

I am having the same problem. CPAN bails out with errors when trying to install Compress::Zlib, giving the message make test had returned bad status, won't install without force. This on CentOS release 4.6.

-- ArthurClemens - 29 Jan 2008

-- HansSchwing - 04 Feb 2008

Arthur, I tried updating CPAN and got the same response as you trying to install Compress::Zlib. What did you end up doing to solve? Did you install with "force" and how does one do that(I am a CPAN dummy).

-- HansSchwing - 04 Feb 2008

I figured out how to force update CPAN. The installer then makes more progress(looks like Compress got fixed?) but returns the following error: Subroutine install redefined at /var/www/twiki2/ActionTrackerPlugin_installer line 939

-- HansSchwing - 04 Feb 2008

I'm getting the same thing on a Centos5 update from 4.1.2 that worked previously. Is there a step-by-step guide to fixing it?

-- LesMikesell - 15 Feb 2008

When I try to add an extension it starts working but fails suddenly claiming that the plugin has to be installed in the twiki root directory... Looking in the /twiki/bin I really found the plugin here and not in /twiki. (RH enterprise server 4, twiki 4.2) Some idea?

-- BertrandFeuerstein - 16 Apr 2008

I've been trying to upgrade EditTablePlugin (to v4.8.2) and TinyMCEPlugin (to v16767) but I get "Subroutine install redefined" on both. I have upgraded both these in the past successfully. Nothing else has changed. Please advise.

-- FilSalustri - 12 May 2008

Better open a new support question describing the exact versions you use. See SupportGuidelines.

-- PeterThoeny - 13 May 2008

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r9 < r8 < r7 < r6 < r5 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo