Difference between revisions of "Mime-construct installation"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 41: Line 41:
===Can't locate CPAN.pm in @INC===
===Can't locate CPAN.pm in @INC===


  cd /usr/lib/perl5/5.8.8/
  cd /usr/src/
  wget http://search.cpan.org/src/JHI/perl-5.8.0/lib/CPAN.pm
  wget http://cpan.mirror.fr/authors/id/A/AN/ANDK//CPAN-1.9102.tar.gz
 
tar xvfz CPAN-1.9102.tar.gz
 
cd CPAN-1.9102
===Can't locate CPAN/FirstTime.pm in @INC===
perl Makefile.PL
 
  make install
  perl -MCPAN -e "install Proc::FirstTime"

Revision as of 14:59, 15 January 2008

This package is used to send faxes to emails.

Installation

Debian

apt-get install mime-construct

Centos/Fedora

cd /usr/src
wget http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/mime-construct-1.9.tar.gz
tar xzvf mime-construct-1.9.tar.gz
cd /usr/src/mime-construct-1.9
perl Makefile.PL
make install 

Testing

Write in bash to test:

mime-construct

You should see:

mime-construct: no recipients specified

If you see something else - troubleshoot.

Errors

Can't locate Proc/WaitStat.pm in @INC

This happens for Centos/Fedora. Fix:

perl -MCPAN -e "install Proc::WaitStat"

Then press ENTER half a million times (28 actually) and select continent/country when it asks.


Can't locate CPAN.pm in @INC

cd /usr/src/
wget http://cpan.mirror.fr/authors/id/A/AN/ANDK//CPAN-1.9102.tar.gz
tar xvfz CPAN-1.9102.tar.gz
cd CPAN-1.9102
perl Makefile.PL
make install