NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item786: Installer on Mac: can't install extensions (Insecure dependency in open while running with -T switch)

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine configure  
this is the error: 
Insecure dependency in open while running with -T switch at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/IO/File.pm line 192.
happens on a fresh system, installed with the os x installer. have no erros in the config. 


I get the same - Martin Cleaver - 19 Jan 2009


Sorry, I'm unable to test on OSX. Can someone else look into this please?

-- CrawfordCurrie - 21 Jan 2009


So what exactly are the steps to reproduce the error message?

-- MatthiasWientapper - 22 Jan 2009

Steps to reproduce: Download the Foswiki OS X installer. Launch it; it will install everything correctly (as far as I can tell). You will have a nice fresh install, all working correctly and will be able to browse pages and edit them. Go to configure and open up the 'Extenstions' tab, click on the 'Find More Extensions' to see the list. Try installing any of them, and the error message above will appear.

Note that I've reproduced this on machines that currently have an old (working) installation of *wiki (v4.2); it is able to successfully install extensions with no errors.

-- JaseWickham - 22 Jan 2009

I have OS X 10.5 and no *wiki installation. everything runs fine after the installation, no config errors, but installing extensions result in the error described above. -- MaZe - 22 Jan 2009


I just did a clean install on 10.5.6 client, following all the instructions at FoswikiOnMacOSXLeopard, and I get "Insecure dependency in xxx" (mkdir, open, etc.) when trying to install an extension. -- AaronFuleki - 22 Jan 2009
I cannot reproduce the error. I just deleted my installation, restarted the webserver, installed the package, set a password in configure, clicked on 'Extensions', 'Find more Extensions', selected '!HolidayPlugin' and it installed without problems. I am using the stock perl 5.8.8 on MacOS 10.5.6. However, I installed/updated a couple of CPAN modules a while ago (not wiki related), so maybe that is the difference? My File.pm looks pretty stock, too.

-rw-r--r--  1 root  wheel  5011 Jan 13  2008 /System/Library/Perl/5.8.8/darwin-thread-multi-2level/IO/File.pm

-- MatthiasWientapper - 23 Jan 2009
Hmm - looks like my CPAN is a bit old then (same directory path as above):

-rw-r--r--  1 root  wheel   5011 24 Sep  2007 File.pm

Guess I'll be doing a CPAN update before trying again..

-- JaseWickham - 23 Jan 2009
OK, that seems to have done the trick. I ran sudo cpan (entering my superuser password), then typed install Bundle::CPAN at the prompt to ensure that CPAN was up to date. Many many chained installs later (I just kept hitting return wink ), once that was successful, I typed install IO::File to ensure that was up to date.

Restart the web server, return back to configure and repeat the install steps, and this time it worked successfully.

Suggest that proper instructions for ensuring CPAN and various modules are up-to-date be added to the documentation for the Leopard installer. Or install the correct versions via the installer itself, for extra points wink

Will continue to install more plugins to test now.

-- JaseWickham - 23 Jan 2009

I was getting this same error but on a couple of Debian x86 boxes. Another virtually identical system worked fine. The only difference I could see was that the non-working boxes had Archive::Tar installed, according to CGI setup (package libarchive-tar-perl 1.30). Removing that so the installer fell back to command line tar has resolved the issue for me.

-- MartinRowe - 26 Jan 2009

Not having it installed was the issue for me. Thanks to MartinRowe I now do have it installed, and installing now works fine.

My Mac installed Archive-Tar-1.44.tar.gz

-- MartinCleaver - 27 Jan 2009

I see the advice in FoswikiOnMacOSXLeopard

Please close Tasks when you fix them, guys!

Closed.

-- CrawfordCurrie - 03 Feb 2009

(noting for search engines)

same issue on redhat fedora7 - perl 5.8 and it still happens in 1.1.2

sadly, fedora7 has Archive::Tar 1.30-4 - so I cpan Archive::Tar upgraded it to 1.76, and the problem is resolved.

Software error: Insecure dependency in open while running with -T switch at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/File.pm line 192. For help, please send mail to the webmaster (biofuelscenter@fosiki.net), giving this error message and the time and date of the error.

-- SvenDowideit - 06 Mar 2011

ItemTemplate edit

Summary Installer on Mac: can't install extensions (Insecure dependency in open while running with -T switch)
ReportedBy MaZe
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component configure
Priority Urgent
CurrentState Closed
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r17 - 06 Mar 2011 - 06:17:58 - SvenDowideit
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads