LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-20-2013, 05:45 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
perl Time::HiRes and Archive::Tar not installed


perl installation failed while installing qmail

iam installing script cnt5064-perl.sh
contail perl

#!/bin/sh
#
# Install common perl modules used by
# spamassassin-toaster
#
# Nick Hemmesch <nick@ndhsoft.com>
# <http://www.qmailtoaster.com>
# May 31, 2006
#

perl -e 'use CPAN; install MIME::Base64;'
perl -e 'use CPAN; install DB_File;'
perl -e 'use CPAN; install Net:NS;'
perl -e 'use CPAN; install Net::SMTP;'
perl -e 'use CPAN; install Mail::SPF::Query;'
perl -e 'use CPAN; install Time::HiRes;'
perl -e 'use CPAN; install Mail:omainKeys;'
perl -e 'use CPAN; install IO::Zlib;'
perl -e 'use CPAN; install Archive::Tar;



while installing perl -e 'use CPAN; install Time::HiRes;
report error-


Test Summary Report
-------------------
t/00_all.t (Wstat: 0 Tests: 223 Failed: 195)
Failed tests: 3-7, 9-76, 78-81, 89-127, 129, 131-161
163-164, 166-182, 184-185, 187-188, 190-191
193-194, 196-197, 199-200, 202-203, 205-206
208-209, 211-212, 214-215, 217-218, 220-223
Files=1, Tests=223, 5 wallclock secs ( 0.07 usr 0.01 sys + 0.26 cusr 0.02 csys = 0.36 CPU)
Result: FAIL
Failed 1/1 test programs. 195/223 subtests failed.
make: *** [test_dynamic] Error 255




if installing individual script- error
perl -e 'use CPAN; install Time::HiRes;'
Can't locate object method "install" via package "Time::HiRes" at -e line 1.


please short out this problem

Last edited by centos123; 04-20-2013 at 05:47 AM.
 
Old 04-20-2013, 06:59 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
those modules at cpan are under constant development. You can download and install them individually also. 2006 looks kind of old to be using current versions of these perl modules.
 
Old 04-22-2013, 02:05 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
It would help if you told us what distro+version this is
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
uninstall perl which I installed via tar.gz niraj.vara Linux - Server 4 07-10-2012 02:14 AM
Installing a Perl Module Time::HiRes (Please Help) karnal Linux - Newbie 3 01-27-2012 12:17 PM
[SOLVED] Perl Tar::Archive question MTK358 Programming 4 07-16-2010 11:39 AM
Error in TAR - tar: GNU features wanted on incompatible archive format. kuldeep.k Linux - General 3 08-14-2009 11:09 AM
Piping tar bzcat to add a file to a tar.bz2 archive DaveQB Linux - Software 0 06-02-2008 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration