[exim] Problems compiling exim binaries

Page principale
Supprimer ce message
Répondre à ce message
Auteur: klabautermann--- via Exim-users
Date:  
À: exim-users
Sujet: [exim] Problems compiling exim binaries
I had no another plan: Compiling an older exim, which gives me warnings about tainted strings, but accept them.  But it looks like, that all the tar-balls or zip-archives available in https://github.com/Exim/exim/tags
cannot be compiled.

It starts with the fact, that everythings gets unpacked in a directory: exim-exim-4.xx, with a duplicate exim in its name.
This directory contains the following files:
drwxrwxr-x  3 root root 4096 30. Mai 2020  configs
drwxrwxr-x  7 root root 4096 30. Mai 2020  doc
drwxrwxr-x  3 root root 4096 30. Mai 2020  release-process
drwxrwxr-x  7 root root 4096 30. Mai 2020  src
drwxrwxr-x 18 root root 4096 30. Mai 2020  test
drwxrwxr-x  2 root root 4096 30. Mai 2020  .github
-rw-rw-r--  1 root root 2316 30. Mai 2020  Readme.pod
-rw-rw-r--  1 root root 1104 30. Mai 2020  SECURITY.md
-rw-rw-r--  1 root root 1020 30. Mai 2020  .editorconfig
-rw-rw-r--  1 root root   63 30. Mai 2020  .exim-project-root
-rw-rw-r--  1 root root  299 30. Mai 2020  .gitattributes
-rw-rw-r--  1 root root   57 30. Mai 2020  .gitignore
-rw-rw-r--  1 root root 1916 30. Mai 2020  .mailmap
while src contains:
drwxrwxr-x 2 root root  4096 30. Mai 2020  exim_monitor
drwxrwxr-x 3 root root  4096 30. Mai 2020  OS
drwxrwxr-x 2 root root  4096 30. Mai 2020  scripts
drwxrwxr-x 7 root root  4096 30. Mai 2020  src
drwxrwxr-x 2 root root  4096 30. Mai 2020  util
-rw-rw-r-- 1 root root   333 30. Mai 2020  ABOUT
-rw-rw-r-- 1 root root 27739 30. Mai 2020  ACKNOWLEDGMENTS
-rw-rw-r-- 1 root root   387 30. Mai 2020  CHANGES
-rw-rw-r-- 1 root root    67 30. Mai 2020  conf
-rw-rw-r-- 1 root root  2725 30. Mai 2020  CONTRIBUTING
-rw-rw-r-- 1 root root    28 30. Mai 2020  .ctags
-rw-rw-r-- 1 root root    39 30. Mai 2020  .gitattributes
-rw-rw-r-- 1 root root    28 30. Mai 2020  .gitignore
-rw-rw-r-- 1 root root 18008 30. Mai 2020  LICENCE
-rw-rw-r-- 1 root root  1764 30. Mai 2020  LICENSE.opendmarc
-rw-rw-r-- 1 root root  4222 30. Mai 2020  Makefile
-rw-rw-r-- 1 root root  7164 30. Mai 2020  NOTICE
-rw-rw-r-- 1 root root 16157 30. Mai 2020  README
-rw-rw-r-- 1 root root  5942 30. Mai 2020  README.DSN
-rw-rw-r-- 1 root root 40594 30. Mai 2020  README.UPDATING

The README tells me:
Unpacking the tar file should produce a single directory called exim-<version>,
containing the following files and directories:

ACKNOWLEDGMENTS  some acknowledgments
CHANGES          a conventional file name; it indirects to some files in doc/
LICENCE          the GNU General Public Licence
Local/           an empty directory for local configuration files
Makefile         top level Makefile
NOTICE           notice about conditions of use
OS/              directory containing OS-specific files
README           this file
README.UPDATING  special notes about updating from previous versions
doc/             directory of documentation files
exim_monitor/    directory of source files for the Exim monitor
scripts/         directory of scripts used in the build process
src/             directory of source files
util/            directory of independent utilities

which does not match the directory structure I find in the archives.  I knew from previous compiles, that the structure looked like this.  Ok in here is another src-directory:

That looks like the source code, I have expected on step higher. In here is also the EDITME.
I created a directory Local like described in the README, but I have no success with calling make.
So I moved that directory with my Makefile down into the first src-directory, and I am finally able to call make.
But this fails with:
./macro_predef > macro.c
/bin/sh: 1: .: cannot open ./version.sh: No such file
and there is no version.sh in the whole package.
I tested this for all 4,94xxx variants, and as well with the latest 4,98, just to be sure.
I donloaded the zip files and the tgz files, both containing the same directory structure, which cannot be compiled.




--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/