compiling – Trying to compile exim on CentOS, but I get errors with no info

I downloaded the repository from exim
and I used make under /src and got this log first :

*** Please create Local/Makefile by copying src/EDITME and making
*** appropriate changes for your site.

Then I copied Makefile under /Local without making any changes and tried to compile and got part of the output:

perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

>>> Creating links to source files...
>>> Creating lookups/Makefile for building dynamic modules
>>> New Makefile & lookups/Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile
 
make[1]: Entering directory `/root/exim/src/build-Linux-x86_64'
Makefile:615: warning: overriding recipe for target `exim'
Makefile:63: warning: ignoring old recipe for target `exim'
Makefile:1047: warning: overriding recipe for target `clean'
Makefile:89: warning: ignoring old recipe for target `clean'
Makefile:1047: warning: overriding recipe for target `install'
Makefile:87: warning: ignoring old recipe for target `install'
Makefile:1047: warning: overriding recipe for target `makefile'
Makefile:84: warning: ignoring old recipe for target `makefile'

*** Please create Local/Makefile by copying src/EDITME and making
*** appropriate changes for your site.

make[1]: *** [Local/Makefile] Error 1
make[1]: Leaving directory `/root/exim/src/build-Linux-x86_64'
make: *** [all] Error 2

The error just give Error1 and Error2 without much more info for me to proceed.

I am using CentOS Linux release 7.9.2009 (Core)

Read more here: Source link