Add to Favourites Add to Favourites    Print this Article Print this Article

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

If you get this error while trying to compile exim:

>>> Creating links to source files...
Please install ExtUtils::Embed for /usr/bin/perl
grep: Makefile: No such file or directory
Missing CFLAGS_DYNAMIC inhibits building dynamic module lookup
../scripts/lookups-Makefile: line 115: lookups/Makefile.predynamic: No such file or directory
grep: Makefile: No such file or directory
grep: Makefile: No such file or directory
grep: Makefile: No such file or directory
grep: Makefile: No such file or directory
../scripts/lookups-Makefile: line 138: lookups/Makefile.predynamic: No such file or directory
make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.76/build-Linux-x86_64'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.76/build-Linux-x86_64'
make: *** [all] Error 2

You can either install it with yum, eg:

yum install perl-ExtUtils-Embed

or via source:

wget http://files1.directadmin.com/services/all/perl_modules/ExtUtils-Embed-1.14.tar.gz
tar xvzf ExtUtils-Embed-1.14.tar.gz
cd ExtUtils-Embed-1.14
perl Makefile.PL
make
make install

or via cpan:

cpan -i ExtUtils::Embed

be sure to also install any dependencies requested by cpan.


Related error

>>> Creating lookups/Makefile for building dynamic modules
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
       LANGUAGE = (unset),
       LC_ALL = (unset),
       LC_CTYPE = "UTF-8",
       LANG = "C"
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Please install ExtUtils::Embed for /usr/bin/perl
make: *** [configure] Error 1

*** The make has failed, would you like to try to make again? (y,n):

where a reported solution is to use:

cd /usr/local/directadmin/custombuild
LC_ALL=C ./build exim

if you've already added the ExtUtils::Embed module, but are still getting the error.


Was this answer helpful?

Also Read