You are here: Foswiki>Tasks Web>Item1960 (17 Jan 2010, PaulHarvey)Edit Attach

Item1960: Extension installer fails on FreeBSD

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.9
Target Release: patch
Applies To: Engine
Component: Configure
Branches:
Reported By: KoenMartens
Waiting For:
Last Change By: PaulHarvey
When Archive::Tar is not installed, extension installer falls back to command line tar but fails because the file in /tmp is not there apparently:

Fetching http://foswiki.org/pub/Extensions/ImageGalleryPlugin/ImageGalleryPlugin.tgz...
Unpacking...
Archive::Tar is not installed; trying tar on the command-line
tar failed: No such file or directory Failed to unpack archive /tmp/7JaTDdOcDm.tgz
Content-type: text/html
Software error:

Use of uninitialized value in pattern match (m//) at /usr/local/www/sites/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 237,  line 1.

After installing Archive::Tar, untarring works fine.

-- KoenMartens

Configure tells "may be required by the Extensions Installer in configure if command line tar or unzip is not available". Can we detect this and show a warning?

-- ArthurClemens - 24 Aug 2009

This code has changed a lot on trunk; really need an updated test of this, please.

-- CrawfordCurrie - 07 Nov 2009

Code in trunk is also wrong.

This is a duplicate of Item2609

-- KennethLavrsen - 09 Jan 2010

ItemTemplate edit

Summary Extension installer fails on FreeBSD
ReportedBy KoenMartens
Codebase 1.0.6
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:ea0409e37c58
TargetRelease patch
ReleasedIn 1.0.9
Topic revision: r7 - 17 Jan 2010, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy