[Dovecot] error while compiling dovecot 2.2.9
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
.....
make[3]: Entering directory /home/luuk/source/dovecot-2.2.9/src/anvil' /usr/bin/mkdir -p '/usr/local/lib/dovecot' /bin/sh ../../libtool --mode=install /usr/bin/install -c anvil '/usr/local/lib/dovecot' libtool: install: /usr/bin/install -c .libs/anvil /usr/local/lib/dovecot/anvil make[3]: Nothing to be done for
install-data-am'.
make[3]: Leaving directory /home/luuk/source/dovecot-2.2.9/src/anvil' make[2]: Leaving directory
/home/luuk/source/dovecot-2.2.9/src/anvil'
Making install in auth
make[2]: Entering directory /home/luuk/source/dovecot-2.2.9/src/auth' make[3]: Entering directory
/home/luuk/source/dovecot-2.2.9/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: 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'
/usr/bin/mkdir: cannot create directory ‘/usr/local/lib/dovecot/auth’:
File exists
make[3]: *** [install-auth_moduleLTLIBRARIES] Error 1
make[3]: Leaving directory /home/luuk/source/dovecot-2.2.9/src/auth' make[2]: *** [install-am] Error 2 make[2]: Leaving directory
/home/luuk/source/dovecot-2.2.9/src/auth'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/luuk/source/dovecot-2.2.9/src'
make: *** [install-recursive] Error 1
luuk@asus:~/source/dovecot-2.2.9>
any tips on what i did wrong?
On 25-11-2013 19:36, Luuk wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
..... make[3]: Entering directory
/home/luuk/source/dovecot-2.2.9/src/anvil' /usr/bin/mkdir -p '/usr/local/lib/dovecot' /bin/sh ../../libtool --mode=install /usr/bin/install -c anvil '/usr/local/lib/dovecot' libtool: install: /usr/bin/install -c .libs/anvil /usr/local/lib/dovecot/anvil make[3]: Nothing to be done for
install-data-am'. make[3]: Leaving directory/home/luuk/source/dovecot-2.2.9/src/anvil' make[2]: Leaving directory
/home/luuk/source/dovecot-2.2.9/src/anvil' Making install in auth make[2]: Entering directory/home/luuk/source/dovecot-2.2.9/src/auth' make[3]: Entering directory
/home/luuk/source/dovecot-2.2.9/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: 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' /usr/bin/mkdir: cannot create directory ‘/usr/local/lib/dovecot/auth’: File exists make[3]: *** [install-auth_moduleLTLIBRARIES] Error 1 make[3]: Leaving directory/home/luuk/source/dovecot-2.2.9/src/auth' make[2]: *** [install-am] Error 2 make[2]: Leaving directory
/home/luuk/source/dovecot-2.2.9/src/auth' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/luuk/source/dovecot-2.2.9/src' make: *** [install-recursive] Error 1 luuk@asus:~/source/dovecot-2.2.9>any tips on what i did wrong?
i'm able to provide more info, if only i knew what info is needed ;)
it's a new install from the downloaded sources: -rw-r--r-- 1 luuk users 4540858 Nov 25 19:05 dovecot-2.2.9.tar.gz
luuk@asus:~/source/dovecot-2.2.9> cat /etc/os-release NAME=openSUSE VERSION="12.3 (Dartmouth)" VERSION_ID="12.3" PRETTY_NAME="openSUSE 12.3 (Dartmouth) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:12.3" luuk@asus:~/source/dovecot-2.2.9>
On 11/25/13 01:40 PM, Luuk wrote:
On 25-11-2013 19:36, Luuk wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
.....
/usr/bin/mkdir -p '/usr/local/lib/dovecot/auth' /usr/bin/mkdir: cannot create directory ‘/usr/local/lib/dovecot/auth’: File exists
any tips on what i did wrong?
i'm able to provide more info, if only i knew what info is needed ;)
ls -ld /usr/local/lib/dovecot/auth
On 25-11-2013 19:54, Oscar del Rio wrote:
On 11/25/13 01:40 PM, Luuk wrote:
On 25-11-2013 19:36, Luuk wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
.....
/usr/bin/mkdir -p '/usr/local/lib/dovecot/auth' /usr/bin/mkdir: cannot create directory ‘/usr/local/lib/dovecot/auth’: File exists
any tips on what i did wrong?
i'm able to provide more info, if only i knew what info is needed ;)
ls -ld /usr/local/lib/dovecot/auth
luuk@asus:~/source/dovecot-2.2.9> ls -ld /usr/local/lib/dovecot/auth -rwxr-xr-x 1 root root 1356716 Nov 25 19:36 /usr/local/lib/dovecot/auth luuk@asus:~/source/dovecot-2.2.9>
On 25.11.2013, at 19.36, Luuk dovecot@vosslamber.nl wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
Don’t use the same directory for libexecdir and moduledir.
On 25-11-2013 20:04, Timo Sirainen wrote:
On 25.11.2013, at 19.36, Luuk dovecot@vosslamber.nl wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
Don’t use the same directory for libexecdir and moduledir.
luuk@asus:~/source/dovecot-2.2.9> grep -ir libexecdir config.log | # If user did not specify libexecdir, set the correct target: | if test "$libexecdir" = '${exec_prefix}/libexec' ; then | libexecdir='${exec_prefix}/lib' Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux libexecdir='${exec_prefix}/lib' luuk@asus:~/source/dovecot-2.2.9> grep -ir moduledir config.log moduledir='${exec_prefix}/lib/dovecot' luuk@asus:~/source/dovecot-2.2.9>
They seem to be different: libexecdir='${exec_prefix}/lib' moduledir='${exec_prefix}/lib/dovecot'
i started with configure: ./configure --with-sql=yes --with-mysql --with-sqlite
Am 25.11.2013 20:31, schrieb Luuk:
On 25-11-2013 20:04, Timo Sirainen wrote:
On 25.11.2013, at 19.36, Luuk dovecot@vosslamber.nl wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
Don’t use the same directory for libexecdir and moduledir.
Configured with: ../configure --prefix=/usr
i doubt that this would end in /usr/local/ at all
They seem to be different: libexecdir='${exec_prefix}/lib' moduledir='${exec_prefix}/lib/dovecot'
normally you would have /usr/local/lib/dovecot and /usr/local/libexec/dovecot or for a x86_64 OS /usr/lib64/ like below
[harry@rh:~]$ rpm -q --filesbypkg dovecot | grep dovecot/auth dovecot /usr/lib64/dovecot/auth dovecot /usr/lib64/dovecot/auth/libauthdb_imap.so dovecot /usr/lib64/dovecot/auth/libdriver_mysql.so dovecot /usr/libexec/dovecot/auth
i started with configure: ./configure --with-sql=yes --with-mysql --with-sqlite
./configure --help
On 25-11-2013 20:38, Reindl Harald wrote:
Am 25.11.2013 20:31, schrieb Luuk:
On 25-11-2013 20:04, Timo Sirainen wrote:
On 25.11.2013, at 19.36, Luuk dovecot@vosslamber.nl wrote:
while doing 'sudo make install', its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
Don’t use the same directory for libexecdir and moduledir.
Configured with: ../configure --prefix=/usr
i doubt that this would end in /usr/local/ at all
They seem to be different: libexecdir='${exec_prefix}/lib' moduledir='${exec_prefix}/lib/dovecot'
normally you would have /usr/local/lib/dovecot and /usr/local/libexec/dovecot or for a x86_64 OS /usr/lib64/ like below
[harry@rh:~]$ rpm -q --filesbypkg dovecot | grep dovecot/auth dovecot /usr/lib64/dovecot/auth dovecot /usr/lib64/dovecot/auth/libauthdb_imap.so dovecot /usr/lib64/dovecot/auth/libdriver_mysql.so dovecot /usr/libexec/dovecot/auth
i started with configure: ./configure --with-sql=yes --with-mysql --with-sqlite
./configure --help
ok, i changed it to: ./configure --with-sql=yes --with-mysql --with-sqlite --libexecdir=/usr/local/libexec/dovecot --with-moduledir=/usr/local/lib/dovecot
and now 'make install' worked.
tomorrow i'll start with configuring... ;)
participants (4)
-
Luuk
-
Oscar del Rio
-
Reindl Harald
-
Timo Sirainen