[Dovecot] Error Building v2.2
Nikolaos Milas
nmilas at noa.gr
Wed Mar 27 17:46:32 EET 2013
On 26/3/2013 10:57 μμ, Nikolaos Milas wrote:
> So, how do we build Dovecot v2.2 on CentOS 5 ?
I decided to use:
ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/h/hp/hphp/CentOS%205%2064bit/RPM/autoconf-2.63-3.noarch.rpm
which required me to build m4 with a version > 1.4.7 (because I couldn't
find such an m4 version around).
Therefore, I used:
https://oss.oracle.com/el5/SRPMS/m4-1.4.5-3.el5.1.src.rpm with source
for v1.4.9 (from: ftp://ftp.gnu.org/gnu/m4/) and I built
m4-1.4.9-1.el5.1.x86_64.rpm
After that, I was able to build Dovecot 2.2 successfully on CentOS 5.
Nevertheless, I had a bunch of warnings from autoconf, which I copy
below, in case someone can suggest how to avoid them.
Thanks and regards,
Nick
autoconf warnings follow:
=========================================================================
+ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
/usr/share/aclocal/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is
expanded from...
/usr/share/aclocal/libtool.m4:4835: AC_LIBTOOL_PROG_COMPILER_PIC is
expanded from...
/usr/share/aclocal/libtool.m4:2668: _LT_AC_LANG_C_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:2667: AC_LIBTOOL_LANG_C_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
configure.ac:293: the top level
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded
from...
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:2749: _LT_AC_LANG_CXX_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:2748: AC_LIBTOOL_LANG_CXX_CONFIG is
expanded from...
/usr/share/aclocal/libtool.m4:1804: _LT_AC_TAGCONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:3916: _LT_AC_LANG_F77_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:3915: AC_LIBTOOL_LANG_F77_CONFIG is
expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:4018: _LT_AC_LANG_GCJ_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:4017: AC_LIBTOOL_LANG_GCJ_CONFIG is
expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
cache-id, must contain _cv_ to be cached
autoreconf: configure.ac: tracing
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:1878: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:6086: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:3931: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:3930: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1343: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:1323: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:1288: AC_PROG_LIBTOOL is expanded from...
configure.ac:293: the top level
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:1923: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4008: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4007: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:3067: _LT_AC_TAGCONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5171: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:5170: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5273: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:5272: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
cache-id, must contain _cv_ to be cached
autoreconf: running: libtoolize --copy --force
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
/usr/share/aclocal/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is
expanded from...
/usr/share/aclocal/libtool.m4:4835: AC_LIBTOOL_PROG_COMPILER_PIC is
expanded from...
/usr/share/aclocal/libtool.m4:2668: _LT_AC_LANG_C_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:2667: AC_LIBTOOL_LANG_C_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
configure.ac:293: the top level
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded
from...
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:2749: _LT_AC_LANG_CXX_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:2748: AC_LIBTOOL_LANG_CXX_CONFIG is
expanded from...
/usr/share/aclocal/libtool.m4:1804: _LT_AC_TAGCONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:3916: _LT_AC_LANG_F77_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:3915: AC_LIBTOOL_LANG_F77_CONFIG is
expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:4018: _LT_AC_LANG_GCJ_CONFIG is expanded
from...
/usr/share/aclocal/libtool.m4:4017: AC_LIBTOOL_LANG_GCJ_CONFIG is
expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
cache-id, must contain _cv_ to be cached
autoreconf: running: /usr/bin/autoconf --force
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:1878: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:6086: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:3931: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:3930: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1343: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:1323: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:1288: AC_PROG_LIBTOOL is expanded from...
configure.ac:293: the top level
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:1923: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4008: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4007: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:3067: _LT_AC_TAGCONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5171: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:5170: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5273: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:5272: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
cache-id, must contain _cv_ to be cached
autoreconf: running: /usr/bin/autoheader --force
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:1878: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:6086: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:3931: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:3930: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1343: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:1323: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:1288: AC_PROG_LIBTOOL is expanded from...
configure.ac:293: the top level
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:1923: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4008: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4007: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:3067: _LT_AC_TAGCONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5171: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:5170: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5273: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:5272: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
cache-id, must contain _cv_ to be cached
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:1878: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:6086: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:3931: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:3930: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1343: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:1323: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:1288: AC_PROG_LIBTOOL is expanded from...
configure.ac:293: the top level
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:1923: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4008: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4007: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:3067: _LT_AC_TAGCONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5171: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:5170: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:293: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5273: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:5272: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:293: warning:
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
cache-id, must contain _cv_ to be cached
autoreconf: Leaving directory `.'
=========================================================================
More information about the dovecot
mailing list