create new tag
, view all tags


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?


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


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.

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

New install of 4.2.1, same problem here on SME server 7.3 (CentOS 4.6) Compress::Zlib was installed (from a downloaded rpm) but apparently not working. In case it ever helps anyone here is what I had to do to get it fixed...

'yum install gcc' (duh, why wasn't that there smile 'yum install zlib-devel' (may not have been necessary but including anyway) 'perl -MCPAN -e shell' 'force install Scalar::Util' (before I tried this I kept getting: You don't have the XS version of Scalar::Util amongst a million other errors) 'install Compress::Zlib'

-- OwenKaluza - 04 Aug 2008


I'm using MacosX Leopard. I had TWiki-4.2.3 working Friday; today I tried to get DirectedGraphPlugin working. I broke things somehow. I then did a reinstall of TWiki-4.2.3 using a mix of CPAN and Fink perl modules. I get the error:

Undefined subroutine &Compress::Zlib::gzopen called at /sw/lib/perl5/5.8.8/IO/Zlib.pm line 440, line 1.

As I nuked my entire /Library/WebServer/Documents for this reinstall, I'm confident that it's not a TWiki setting that's causing this. The configure script had been working fine until I tried getting DirectedGraphPlugin working. My tinkering (installing perl modules with cpan) must have broken something...?

Update: Deleting the directory /Library/Perl/5.8.8/Compress makes the error go away; apparently that contained the defective version of Compress::Zlib. I have a new error: Bad parameter at /System/Library/Perl/5.8.8/CGI/Carp.pm line 314.

-- CharlesHowes - 06 Oct 2008

Closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 10 Dec 2008

I am having similar problems installing/upgrading ANY plugins. I am getting the following error when trying to perform an upgrade:

Fetching http://twiki.org/p/pub/Plugins/TWikiNetSkin/TWikiNetSkin.tgz... Unpacking... Content-type: text/html Software error: Undefined subroutine &Compress::Zlib::gzopen called at /apps/twiki-root/perlmodules/IO/Zlib.pm line 434, <DATA> line 1.

-- JenniferBakker - 2009-05-29

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-07-05

This seems to have finally been fixed by an upgrade to CentOS 5.3. Earlier versions must have had some problem with the perl modules in the distribution.

-- LesMikesell - 2009-08-25

Thanks Les for reporting back a solution!

-- PeterThoeny - 2009-08-25

Change status to:
Edit | Attach | Watch | Print version | History: r17 < r16 < r15 < r14 < r13 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r17 - 2009-08-25 - 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.