Please install ExtUtils::Embed for /usr/bin/perl

|Font Size: | No Comments | Previous

  在通过directadmin安装exim时遇到这个错误:

Trying to make exim...
/bin/sh scripts/source_checks

>>> Creating links to source files...
>>> Creating lookups/Makefile for building dynamic modules
Please install ExtUtils::Embed for /usr/bin/perl
make: *** [configure] Error 1

  尝试通过cpanm命令来安装也失败了,

cpan[1]> install ExtUtils::Embed
CPAN: Storable loaded ok (v2.51)
CPAN: LWP::UserAgent loaded ok (v6.06)
CPAN: Time::HiRes loaded ok (v1.9726)
...
Running install for module 'ExtUtils::Embed'
The most recent version "1.32" of the module "ExtUtils::Embed"
is part of the perl-5.20.0 distribution. To install that, you need to run
  force install ExtUtils::Embed   --or--
  install R/RJ/RJBS/perl-5.20.0.tar.gz
Failed during this command:
 RJBS/perl-5.20.0.tar.gz                      : make NO isa perl

  最后使用yum安装成功的:

[root@qcloud-vps custombuild]#yum install perl-ExtUtils-Embed
[root@qcloud-vps custombuild]#./build exim
[root@qcloud-vps custombuild]#ln -s /usr/sbin/exim /usr/sbin/sendmail

本文结束。

Leave a comment