LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-30-2011, 07:05 AM   #1
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
iRedMail error


My distro Redhat 5.2


This is the error which I get whe I try to install iRedmail as per the instruction of

http://www.iredmail.org/install_ired...l#requirements



Code:
-> Processing Dependency: perl(Date::Format) for package: perl-MailTools
--> Processing Dependency: perl(Date::Parse) for package: perl-MailTools
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Date::Parse) is needed by package perl-MailTools
Error: Missing Dependency: perl(Date::Format) is needed by package perl-MailTools
< ERROR > Installation failed, please check the terminal output.
< ERROR > If you're not sure what the problem is, try to get help in iRedMail
< ERROR > forum: http://www.iredmail.org/forum/
 
Old 12-01-2011, 06:23 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You miss the TimeDate perl module, that provides Date::Format and Date::Parse
Since you're using RHEL, take a look here to see how to use up2date/yum to install it
Or you can use the cpan shell to install it manually (as mentioned in the same link)

Regards

Last edited by bathory; 12-01-2011 at 06:25 AM.
 
Old 12-01-2011, 06:40 AM   #3
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195

Original Poster
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by bathory View Post
Hi,

You miss the TimeDate perl module, that provides Date::Format and Date::Parse
Since you're using RHEL, take a look here to see how to use up2date/yum to install it
Or you can use the cpan shell to install it manually (as mentioned in the same link)

Regards
Thanks for the reply

I did as the link said and this is the output which I got

Code:
[root@server ~]# cpan -i Date::Parse
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 01 Dec 2011 04:28:47 GMT
Date::Parse is up to date.
[root@server ~]# cpan -i Date::Format
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 01 Dec 2011 04:28:47 GMT
Date::Format is up to date.
but still when i try to run iRedmail I receive the same error

I manually downloaded rpm for

Code:
perl-MailTools-2.04-1.el5.rf.noarch.rpm
perl-TimeDate-1.16-11.1.el6.noarch.rpm
Code:
#rpm -ivh perl-MailTools-2.04-1.el5.rf.noarch.rpm
warning: perl-MailTools-2.04-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        perl(Date::Format) is needed by perl-MailTools-2.04-1.el5.rf.noarch
        perl(Date::Parse) is needed by perl-MailTools-2.04-1.el5.rf.noarch
Code:
[root@server ~]# rpm -ivh perl-TimeDate-1.16-11.1.el6.noarch.rpm
warning: perl-TimeDate-1.16-11.1.el6.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
        perl(:MODULE_COMPAT_5.10.1) is needed by perl-TimeDate-1.16-11.1.el6.noarch
        rpmlib(FileDigests) <= 4.6.0-1 is needed by perl-TimeDate-1.16-11.1.el6.noarch
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by perl-TimeDate-1.16-11.1.el6.noarch
What should I do?
 
Old 12-01-2011, 07:44 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
rpm -ivh perl-TimeDate-1.16-11.1.el6.noarch.rpm
warning: perl-TimeDate-1.16-11.1.el6.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
perl(:MODULE_COMPAT_5.10.1) is needed by perl-TimeDate-1.16-11.1.el6.noarch
rpmlib(FileDigests) <= 4.6.0-1 is needed by perl-TimeDate-1.16-11.1.el6.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by perl-TimeDate-1.16-11.1.el6.noarch
You're trying to use a RHEL6 module (that is for perl-5.10.1), while your RHEL 5.2 uses perl-5.8.x.
You should install the perl module that matches your distro/perl/architecture
 
Old 12-01-2011, 07:54 AM   #5
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195

Original Poster
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by bathory View Post
You're trying to use a RHEL6 module (that is for perl-5.10.1), while your RHEL 5.2 uses perl-5.8.x.
You should install the perl module that matches your distro/perl/architecture
oooppss didn't noticed ....

well I will try downloading correct package and update you tomorrow
today office time is over .....

Thanks once again
 
  


Reply



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
iRedMail nima0102 Linux - Server 4 11-08-2011 11:11 AM
imap error while logging user in roundcube iredmail amjadask Linux - Server 1 09-15-2011 02:25 PM
iredmail fresh install rhlnewbie Linux - Server 1 06-22-2011 01:36 AM
want to know is iredmail is good? sachinaxn Linux - Server 9 04-21-2011 08:51 AM
iRedMail v0.6.1 j.smith1981 Linux - Server 1 01-21-2011 11:11 AM

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

All times are GMT -5. The time now is 12:28 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