Using cpan

"Brad Morgan" <[email protected]> Thu, 15 Apr 2004 16:30:17 -0600
Newsgroups gmane.os.cygwin.perl
Message-ID <[email protected]>
I'm not having much luck with Perl and Cygwin...

I want to install the module MIME::Tools and any dependencies under Cygwin.

I tried "$ cpan MIME::Tools" and I get the errors below.  My Perl program
can't find MIME::Parser

Tried this on a machine with ActivePerl and PPM and all goes smoothly.

Suggestions?

Thanks,

Brad Morgan

$ cpan -v
cpan script version 1.03
CPAN.pm version 1.7601

$ cpan MIME::Tools
CPAN: Storable loaded ok
Going to read /cygdrive/c/Documents and Settings/brad.morgan/.cpan/Metadata
  Database was generated on Thu, 15 Apr 2004 12:51:35 GMT
Running install for module MIME::Tools
Running make for E/ER/ERYQ/MIME-tools-5.411a.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /cygdrive/c/Documents and
Settings/brad.morgan/.cpan/sources/authors/id/E/ER/ERYQ/MIME-
tools-5.411a.tar.gz ok
Scanning cache /cygdrive/c/Documents and Settings/brad.morgan/.cpan/build
for sizes
gzip: and.gz: No such file or directory
gzip:
Settings/brad.morgan/.cpan/sources/authors/id/E/ER/ERYQ/MIME-tools-5.411a.ta
r.gz: No such file
 or directory
Package seems to come without Makefile.PL.
  (The test -f "/cygdrive/c/Documents and
Settings/brad.morgan/.cpan/build/ERYQ001/Makefile.PL" retu
rned false.)
  Writing one on our own (setting NAME to MIMETools)

  CPAN.pm: Going to build E/ER/ERYQ/MIME-tools-5.411a.tar.gz

Writing Makefile for MIMETools
  /usr/bin/make  -- OK
Running make test
No tests defined for MIMETools extension.
  /usr/bin/make test -- OK
Running make install
Writing
/usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/MIMETools/.pac
klist
Appending installation info to
/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/perllocal.pod
  /usr/bin/make install  -- OK

$ cd /home/brad

brad.morgan@cs-2k20 /home/brad
$ perl -w mime.pl /cygwin/i/imail/spool/virus/Dc007031e00d21584.SMD
Can't locate MIME/Parser.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int /
usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int
/usr/lib/perl5/site_per
l/5.8.2 /usr/lib/perl5/site_perl .) at mime.pl line 2.
BEGIN failed--compilation aborted at mime.pl line 2.

brad.morgan@cs-2k20 /home/brad
$



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/ndFolB/TM