Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Date-Format CPAN distribution.

Report information
The Basics
Id: 63960
Status: rejected
Priority: 0/
Queue: Email-Date-Format

People
Owner: Nobody in particular
Requestors: andynic [...] xs4all.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: MIME::Lite and Email::Date::Format
Date: Wed, 15 Dec 2010 22:35:47 +0100
To: <bug-Email-Date-Format [...] rt.cpan.org>
From: "Andy" <andynic [...] xs4all.nl>
Hi, This script, taken from the MIME::Lite CPAN download site produces the error just below it: # use lib '/System/Library/Perl/Extras/5.10.0/Date '; <<< Tried this as well. use MIME::lite; # Build the message $message = MIME::Lite->new( From => 'andynic@xs4all.nl', To => 'andynic@xs4all.nl', Subject => "A test", Type => "text/plain", Encoding => '7bit', Data => "Just a test message"); # Tell MIME::Lite to use Net::SMTP instead of sendmail MIME::Lite->send('smtp', 'localhost', Timeout => 20); # Send the message $message->send; exit; Gives me the following error: $ perl -w x.pl Can't locate Email/Date/Format.pm in @INC (@INC contains: /System/Library/Perl/Extras/5.10.0/Date /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at /Library/Perl/5.10.0/MIME/lite.pm line 1092. What am I doing wrong? Thanks for your help. Andy Nicastro Some details of the installation. I installed MIME::Lite, 3.0.27. It warned me that Email::Date::Format was missing. I installed Email::Date::Format v1.002 (it's all I can find on CPAN). The installation procedure put it in /System/Library/Perl/Extras/5.10.0/Date $ ls /System/Library/Perl/Extras/5.10.0/Date total 0 -rw-r--r-- 1 root wheel 9758 2 Jun 2003 Format.pm drwxr-xr-x 25 root wheel 850 19 May 2009 Language -rw-r--r-- 1 root wheel 1343 21 Mar 2001 Language.pm -rw-r--r-- 1 root wheel 8859 3 Jun 2003 Parse.pm To be sure I re-installed MIME::Lite and still got the warning: $ cd MIME-Lite-3.027 $ $ perl Makefile.PL MIME::Lite is designed to take advantage of a variety of external modules if they are not present then MIME::Lite will attempt to do its best but its strongly recommend that you install them. These modules are: Mail::Address MIME::Types File::Basename MIME::Base64 MIME::QuotedPrint Some or all of these maybe included with your perl, neverless if you wish I can add these modules to the prereq list which will cause the files to be automatically installed if they arent already present Add prereqs? [Yes] Warning: prerequisite Email::Date::Format 1.000 not found. Warning: prerequisite MIME::Types 1.28 not found. Writing Makefile for MIME::Lite

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format
Date: Wed, 15 Dec 2010 16:40:19 -0500
To: Andy via RT <bug-Email-Date-Format [...] rt.cpan.org>
From: Ricardo Signes <rjbs [...] cpan.org>
* Andy via RT <bug-Email-Date-Format@rt.cpan.org> [2010-12-15T16:36:16] Show quoted text
> This script, taken from the MIME::Lite CPAN download site produces the error > just below it: >...
How did you install MIME::Lite? -- rjbs
Subject: RE: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format
Date: Wed, 15 Dec 2010 23:18:43 +0100
To: <bug-Email-Date-Format [...] rt.cpan.org>
From: "Andy" <andynic [...] xs4all.nl>
How did you install MIME::Lite? -- Rjbs Hi Ricardo, Thanks very much for your very fast reply. Below is a copy of the session when I installed MIME::Lite. Thanks for your help. Andy Nicastro PS: I am in Amsterdam, Netherlands. It is now 11:15pm so I am off to the land of nod. Won't see your reply until the morning. Thanks in advance. copy of the session when I installed MIME::Lite =============================================== gfrmDev$ tar xzf MIME-Lite-3.027.tar gfrmDev$ cd MIME-Lite-3.027 gfrmDev$ perl Makefile.PL MIME::Lite is designed to take advantage of a variety of external modules if they are not present then MIME::Lite will attempt to do its best but its strongly recommend that you install them. These modules are: Mail::Address MIME::Types File::Basename MIME::Base64 MIME::QuotedPrint Some or all of these maybe included with your perl, neverless if you wish I can add these modules to the prereq list which will cause the files to be automatically installed if they arent already present Add prereqs? [Yes] Checking if your kit is complete... Looks good Warning: prerequisite Email::Date::Format 1.000 not found. <<<< See further below> >>>> Warning: prerequisite MIME::Types 1.28 not found. Writing Makefile for MIME::Lite gfrmDev$ gfrmDev$ gfrmDev$ gfrmDev$ perl -pi -e's/MACOSX/env MACOSX/' Makefile gfrmDev$ make cp changes.pod blib/lib/MIME/changes.pod cp lib/MIME/Lite.pm blib/lib/MIME/Lite.pm Manifying blib/man3/MIME::changes.3pm Manifying blib/man3/MIME::Lite.3pm Show quoted text
-----Original Message----- From: Ricardo Signes via RT [mailto:bug-Email-Date-Format@rt.cpan.org] Sent: 15 December 2010 22:41 To: andynic@xs4all.nl Subject: Re: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format <URL: http://rt.cpan.org/Ticket/Display.html?id=63960 > * Andy via RT <bug-Email-Date-Format@rt.cpan.org> [2010-12-15T16:36:16]
> This script, taken from the MIME::Lite CPAN download site produces the
error
> just below it: >...
Because I was getting the error: "Can't locate Email/Date/Format.pm in @INC (@INC contains: /Librar..." I then installed Email::Date::Format and to be sure, re-installed MIME::Lite gfrmDev$ cd Email-Date-Format-1.002 gfrmDev$ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Email::Date::Format gfrmDev$ perl -pi -e's/MACOSX/env MACOSX/' Makefile gfrmDev$ make cp lib/Email/Date/Format.pm blib/lib/Email/Date/Format.pm Manifying blib/man3/Email::Date::Format.3pm When I re-installed MIME::Lite, I still, however, got the warning: Warning: prerequisite Email::Date::Format 1.000 not found.
Subject: Re: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format
Date: Wed, 15 Dec 2010 17:37:08 -0500
To: Andy via RT <bug-Email-Date-Format [...] rt.cpan.org>
From: Ricardo Signes <rjbs [...] cpan.org>
* Andy via RT <bug-Email-Date-Format@rt.cpan.org> [2010-12-15T17:19:10] Show quoted text
> Because I was getting the error: > "Can't locate Email/Date/Format.pm in @INC (@INC contains: /Librar..." > I then installed Email::Date::Format and to be sure, re-installed MIME::Lite > gfrmDev$ cd Email-Date-Format-1.002 > gfrmDev$ perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Email::Date::Format > gfrmDev$ perl -pi -e's/MACOSX/env MACOSX/' Makefile > gfrmDev$ make > cp lib/Email/Date/Format.pm blib/lib/Email/Date/Format.pm > Manifying blib/man3/Email::Date::Format.3pm > > When I re-installed MIME::Lite, I still, however, got the warning: > Warning: prerequisite Email::Date::Format 1.000 not found.
I don't see a "make install" here. I suggest you install cpanminus and use that to install things. Get the program from https://github.com/miyagawa/cpanminus/raw/master/cpanm Then you can run "cpanm Whatever::Module" and it will do what you want. If you need to install to a location where you do not have privs, you can use -S to sudo as needed. -- rjbs
Subject: RE: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format
Date: Thu, 16 Dec 2010 09:52:21 +0100
To: <bug-Email-Date-Format [...] rt.cpan.org>
From: "Andy" <andynic [...] xs4all.nl>
Thank you for this. I will give it a try. Andy Show quoted text
-----Original Message----- From: Ricardo Signes via RT [mailto:bug-Email-Date-Format@rt.cpan.org] Sent: 15 December 2010 23:37 To: andynic@xs4all.nl Subject: Re: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format <URL: http://rt.cpan.org/Ticket/Display.html?id=63960 > * Andy via RT <bug-Email-Date-Format@rt.cpan.org> [2010-12-15T17:19:10]
> Because I was getting the error: > "Can't locate Email/Date/Format.pm in @INC (@INC contains: /Librar..." > I then installed Email::Date::Format and to be sure, re-installed
MIME::Lite
> gfrmDev$ cd Email-Date-Format-1.002 > gfrmDev$ perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Email::Date::Format > gfrmDev$ perl -pi -e's/MACOSX/env MACOSX/' Makefile > gfrmDev$ make > cp lib/Email/Date/Format.pm blib/lib/Email/Date/Format.pm > Manifying blib/man3/Email::Date::Format.3pm > > When I re-installed MIME::Lite, I still, however, got the warning: > Warning: prerequisite Email::Date::Format 1.000 not found.
I don't see a "make install" here. I suggest you install cpanminus and use that to install things. Get the program from https://github.com/miyagawa/cpanminus/raw/master/cpanm Then you can run "cpanm Whatever::Module" and it will do what you want. If you need to install to a location where you do not have privs, you can use -S to sudo as needed. -- rjbs
Subject: RE: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format
Date: Thu, 16 Dec 2010 11:18:59 +0100
To: <bug-Email-Date-Format [...] rt.cpan.org>
From: "Andy" <andynic [...] xs4all.nl>
Thanks for trying to help. I have found a work-around. One last e-mail "for your information" about the MIME::Lite module: After creating a special directory /Email/Date and I copied Format.pm there. That solved the "Can't locate Format.pm" problem. But Then I got this message: Can't locate Net/SMTP/Multipart.pm in @INC (@INC contains: .. Tried a similar strategy with Multipart.pm which was left in my Downloads area by the install procedure (could not "find" it any other place on the disk) but that led to this problem (i.e. could not create the directory): cd / mkdir Net cd Net mkdir SMTP mkdir: SMTP: Operation not supported Then downloaded cpanm from https://github.com/miyagawa/cpanminus/raw/master/cpanm Tried to re-install MIME::Lite using cpanm Got: gfrmDev$ cpanm -S MIME::Lite MIME::Lite is up to date. (3.027) Also tried the same with Net::SMTP gfrmDev$ cpanm -S Net::SMTP Net::SMTP is up to date. (2.31) Still no cigar! Rummaging around on the web I found a post about cpan's Mail::Sender module. It installed and worked first time around. So I've given up on MIME::Lite. Thanks very much for the tip about cpanm. It is so simple! Greetings, Andy Nicastro Show quoted text
-----Original Message----- From: Ricardo Signes via RT [mailto:bug-Email-Date-Format@rt.cpan.org] Sent: 15 December 2010 23:37 To: andynic@xs4all.nl Subject: Re: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format <URL: http://rt.cpan.org/Ticket/Display.html?id=63960 > * Andy via RT <bug-Email-Date-Format@rt.cpan.org> [2010-12-15T17:19:10]
> Because I was getting the error: > "Can't locate Email/Date/Format.pm in @INC (@INC contains: /Librar..." > I then installed Email::Date::Format and to be sure, re-installed
MIME::Lite
> gfrmDev$ cd Email-Date-Format-1.002 > gfrmDev$ perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Email::Date::Format > gfrmDev$ perl -pi -e's/MACOSX/env MACOSX/' Makefile > gfrmDev$ make > cp lib/Email/Date/Format.pm blib/lib/Email/Date/Format.pm > Manifying blib/man3/Email::Date::Format.3pm > > When I re-installed MIME::Lite, I still, however, got the warning: > Warning: prerequisite Email::Date::Format 1.000 not found.
I don't see a "make install" here. I suggest you install cpanminus and use that to install things. Get the program from https://github.com/miyagawa/cpanminus/raw/master/cpanm Then you can run "cpanm Whatever::Module" and it will do what you want. If you need to install to a location where you do not have privs, you can use -S to sudo as needed. -- rjbs
Subject: RE: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format
Date: Thu, 16 Dec 2010 11:31:15 +0100
To: <bug-Email-Date-Format [...] rt.cpan.org>
From: "Andy" <andynic [...] xs4all.nl>
The final e-mail about this: After all that - the previous e-mails, I did get MIME::Lite working. The problem was that in the install procedure, I omitted a critical command, make install Which you clued me into below. Sorry about that. So now I have MIME::Lite and Mail::Sender at my disposal. Thanks again for your help. Andy Show quoted text
-----Original Message----- From: Ricardo Signes via RT [mailto:bug-Email-Date-Format@rt.cpan.org] Sent: 15 December 2010 23:37 To: andynic@xs4all.nl Subject: Re: [rt.cpan.org #63960] MIME::Lite and Email::Date::Format <URL: http://rt.cpan.org/Ticket/Display.html?id=63960 > * Andy via RT <bug-Email-Date-Format@rt.cpan.org> [2010-12-15T17:19:10]
> Because I was getting the error: > "Can't locate Email/Date/Format.pm in @INC (@INC contains: /Librar..." > I then installed Email::Date::Format and to be sure, re-installed
MIME::Lite
> gfrmDev$ cd Email-Date-Format-1.002 > gfrmDev$ perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Email::Date::Format > gfrmDev$ perl -pi -e's/MACOSX/env MACOSX/' Makefile > gfrmDev$ make > cp lib/Email/Date/Format.pm blib/lib/Email/Date/Format.pm > Manifying blib/man3/Email::Date::Format.3pm > > When I re-installed MIME::Lite, I still, however, got the warning: > Warning: prerequisite Email::Date::Format 1.000 not found.
I don't see a "make install" here. I suggest you install cpanminus and use that to install things. Get the program from https://github.com/miyagawa/cpanminus/raw/master/cpanm Then you can run "cpanm Whatever::Module" and it will do what you want. If you need to install to a location where you do not have privs, you can use -S to sudo as needed. -- rjbs
ticket closed -- rjbs