Tags:
create new tag
view all tags

SID-00919: Installing Extensions

Status: Answered Answered TWiki version: 5.0.0 Perl version: 5.10.1
Category: CategoryPlugins Server OS: Ubuntu 10.04 LTS Last update: 12 years ago

Error when attempting to install batch upload plugin from configure:

Fetching http://twiki.org/p/pub/Plugins/BatchUploadPlugin/BatchUploadPlugin.tgz... Unpacking...
Warning: CPAN is not available, some installer functions have been disabled
### BatchUploadPlugin Installer ###

This installer must be run from the root directory of your TWiki installation.
 * You can abort the script at any point and re-run it later
 * If you answer 'no' to any questions you can always re-run the script again later 
#######################################################
### Checking dependency on Archive::Zip.... ***

BatchUploadPlugin depends on cpan package Archive::Zip >=1.18 which is described as "Required." But when I tried to find it I got this error:

Insecure dependency
Fetching the archive for TWiki::Plugins::BatchUploadPlugin.
Error: Installer returned errors:
Insecure dependency in require while running with -T switch at /usr/share/perl5/LWP/UserAgent.pm line 386.

-- MarkJones - 2010-07-30

Discussion and Answer

Not sure, the insecure dependency might be a bug in installer showing up only on Ubuntu.

As a workaround you can manually install the plugin and dependencies.

Plugin install: Unzip plugin in twiki root, fix ownership

Dependencies: For CPAN see HowToInstallCpanModules

-- PeterThoeny - 2010-07-30

I got the same error and till now I figured out, that this seems to be a problem with certain perl versions or perl setups. If you manually remove the T in the she-bang line in bin/configure you can run it in the normal mode not the tainted mode. But I'm not really sure how risky this is ...

-- CarlaReitzenstein - 2010-08-02

without the tainted mode I can install extensions via configure but it need a long time and in some cases I don't see the installation process page...

-- CarlaReitzenstein - 2010-08-03

I tried the same thing on FOSWIKI and it worked first time, finding the dependency Archive::Zip, and correctly reporting the installed version.

-- MarkJones - 2010-08-04

Known issue, see TWikibug:Item6534

Workaround until fixed: Remove the -T switch from twiki/bin/configure, e.g. first line should look like this:

#!/usr/bin/perl -w

-- PeterThoeny - 2010-08-05

Please see TWikibug:Item6534 for an unverified patch that should fix the issue. Please report back if this fixes the issue.

-- PeterThoeny - 2010-08-05

When I remove the -T in /bin/configure I have to wait more than 20 minutes till the installation finishes. I don't know why but without the -T it needs that much time to fetch the archives. (It fetches and unpackes the archive very fast with the -T, but than the above told error occurred). does anyone has an idea what's happening there and how to fix it?

And Peter, I'm afraid the patch is not working for me, got the same error ... frown

-- CarlaReitzenstein - 2010-08-06

I forgot to say, that I have to use a proxy and a user-agent for getting external sources. Maybe this relates to the long time need to fetch?

-- CarlaReitzenstein - 2010-08-06

UPDATE: This is now fixed in TWikibug:Item6534. Action you can take:

  • Workaround: Remove the T switch in the first line of file twiki/bin/configure.
  • Manual fix: Please apply patch in TWikibug:Item6534 dated 2012-09-17.
  • Wait for fix: The fix will be released in the upcoming TWiki-5.1.2 release (in a few weeks).

-- PeterThoeny - 2012-09-17

> Wait for fix: The fix will be released in the upcoming TWiki-5.1.2 release (in a few weeks).

I'm running configure under 6.0 and get the same error.

Insecure dependency in require while running with -T switch at /usr/local/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 407.
 at /usr/local/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 407.

-- Vicki Brown - 2014-03-07

Yes, it is back again, tracked in TWikibug:Item6965.

-- Peter Thoeny - 2014-03-07

      Change status to:
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.
SupportForm
Status Answered
Title Installing Extensions
SupportCategory CategoryPlugins
TWiki version 5.0.0
Server OS Ubuntu 10.04 LTS
Web server Apache 2.2.14
Perl version 5.10.1
Browser & version

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2014-03-07 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.