Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

Item1960: Extension installer fails on FreeBSD

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine Configure  
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 Foswikirev:5984
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 CopyrightStatement. Creative Commons License