source code doesn't compile

John Fawcett john at voipsupport.it
Wed Jan 12 19:54:28 UTC 2022


On 12/01/2022 04:19, Ruben Safir wrote:
> I downloaded the dovecot source and it doesn't compile.  The install
> script fails in auth because it makes a file and then tries to make a
> directory over it
>
> make[2]: Entering directory '/home/ruben/src/dovecot-2.3.17.1/src/auth'
> make[3]: Entering directory
> '/home/ruben/src/dovecot-2.3.17.1/src/auth'
>    /usr/bin/mkdir -p '/usr/local/lib/dovecot'
>     /bin/sh ../../libtool   --mode=install /usr/bin/install -c
> auth checkpassword-reply '/usr/local/lib/dovecot'
>   libtool: warning: 'libstats_auth.la' has not been installed
> in '/usr/local/lib/dovecot/old-stats'
>   libtool: install: /usr/bin/install -c .libs/auth
> /usr/local/lib/dovecot/auth
>   libtool: install: /usr/bin/install -c
> .libs/checkpassword-reply /usr/local/lib/dovecot/checkpassword-reply
>    /usr/bin/mkdir -p '/usr/local/lib/dovecot/auth'
>
> I am running an older version of dovecott and would really like to
> upgrade it and there is no package for this linux version
>
>
I guess you want these to be installed in /usr/local/libexec/dovecot 
directory not /usr/local/lib.

libtool: install: /usr/bin/install -c .libs/auth 
/usr/local/libexec/dovecot/auth
libtool: install: /usr/bin/install -c .libs/checkpassword-reply 
/usr/local/libexec/dovecot/checkpassword-reply

According to ./configure --help this is the default:

   --libexecdir=DIR        program executables [EPREFIX/libexec]

John



More information about the dovecot mailing list