Hi all,

My goal is to convert MS .msg files generate by Outlook to mime so I can read the messages on linux. I found this article:

http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Read_Microsoft_Outlook_.MSG_files_in_Linux

The cpan deps are:

perl -MCPAN -e 'install("Email::Outlook::Message")'

perl -MCPAN -e 'install("Email::LocalDelivery")'

perl -MCPAN -e 'install("Getopt::Long")'

perl -MCPAN -e 'install("Pod::Usage")'

perl -MCPAN -e 'install("File::Basename")'

The last one "File::Basename" has been quite difficult for me. My opensuse 11.0 system has perl 5.10.0 , so I get a message like this (I lost the history but its similar):

The most recent version "2.77" of the module "File::Basename" is part of the perl-5.8.9 distribution. To install that, you need to r +un force install File::Baseline --or-- install N/NW/NWCLARK/perl-5.8.9.tar.gz

I seen a similar error on this forum and it mentioned something about getting the .pm and .t files for the git repo, but I'm not sure how to build those. What I decided to do was build 5.8.9 from source so that I'd have both 5.10.0 and 5.8.9 on my system. So I did:

wget http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.9.tar.bz2

And did a "make" and "make install" . Bad idea!!! It trashed my 5.10.0 install and now all my printing via hplib is broken, among other things. Assuming I can revert to 5.10.0 somehow, what is the easiest way to install "File::Basename" on a system with perl 5.10.0 ?

In reply to "File::Basename" problems by iksrazal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.