[Dovecot] Missing ACLOCAL_AMFLAGS ?

Eray Aslan eray.aslan at caf.com.tr
Wed Oct 13 22:08:21 EEST 2010


dovecot-2.0.5

autoreconf is failing with: [1]

$ autoreconf -f -i
[...]
src/plugins/acl/Makefile.am:11: `module_LTLIBRARIES' is used but
`moduledir' is undefined
[...]
autoreconf-2.65: automake failed with exit status: 1

Also,
$ ./configure --help | grep module
  --with-nss              Build with NSS module support (auto)

In other words, no moduledir output in configure --help.  Looks like
dovecot.m4 is not being read.  With the patch below:

---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d037258..49514e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+ACLOCAL_AMFLAGS = -I .
 aclocaldir = $(datadir)/aclocal
 
 SUBDIRS = \
---

I get moduledir option in configure and working autoreconf.
-- 
Eray


[1]:
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
src/plugins/acl/Makefile.am:11: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/acl/Makefile.am:14: variable `lib01_acl_plugin_la_SOURCES' is defined but no program or
src/plugins/acl/Makefile.am:14: library has `lib01_acl_plugin_la' as canonical name (possible typo)
src/plugins/acl/Makefile.am:9: variable `lib01_acl_plugin_la_LDFLAGS' is defined but no program or
src/plugins/acl/Makefile.am:9: library has `lib01_acl_plugin_la' as canonical name (possible typo)
src/plugins/autocreate/Makefile.am:9: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/autocreate/Makefile.am:12: variable `lib20_autocreate_plugin_la_SOURCES' is defined but no program or
src/plugins/autocreate/Makefile.am:12: library has `lib20_autocreate_plugin_la' as canonical name (possible typo)
src/plugins/autocreate/Makefile.am:7: variable `lib20_autocreate_plugin_la_LDFLAGS' is defined but no program or
src/plugins/autocreate/Makefile.am:7: library has `lib20_autocreate_plugin_la' as canonical name (possible typo)
src/plugins/expire/Makefile.am:19: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/expire/Makefile.am:22: variable `lib20_expire_plugin_la_SOURCES' is defined but no program or
src/plugins/expire/Makefile.am:22: library has `lib20_expire_plugin_la' as canonical name (possible typo)
src/plugins/expire/Makefile.am:17: variable `lib20_expire_plugin_la_LDFLAGS' is defined but no program or
src/plugins/expire/Makefile.am:17: library has `lib20_expire_plugin_la' as canonical name (possible typo)
src/plugins/fts-lucene/Makefile.am:11: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/fts-lucene/Makefile.am:17: variable `lib21_fts_lucene_plugin_la_SOURCES' is defined but no program or
src/plugins/fts-lucene/Makefile.am:17: library has `lib21_fts_lucene_plugin_la' as canonical name (possible typo)
src/plugins/fts-lucene/Makefile.am:14: variable `lib21_fts_lucene_plugin_la_LIBADD' is defined but no program or
src/plugins/fts-lucene/Makefile.am:14: library has `lib21_fts_lucene_plugin_la' as canonical name (possible typo)
src/plugins/fts-lucene/Makefile.am:9: variable `lib21_fts_lucene_plugin_la_LDFLAGS' is defined but no program or
src/plugins/fts-lucene/Makefile.am:9: library has `lib21_fts_lucene_plugin_la' as canonical name (possible typo)
src/plugins/fts-solr/Makefile.am:14: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/fts-solr/Makefile.am:11: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/fts-solr/Makefile.am:22: variable `lib21_fts_solr_plugin_la_SOURCES' is defined but no program or
src/plugins/fts-solr/Makefile.am:22: library has `lib21_fts_solr_plugin_la' as canonical name (possible typo)
src/plugins/fts-solr/Makefile.am:18: variable `lib21_fts_solr_plugin_la_LIBADD' is defined but no program or
src/plugins/fts-solr/Makefile.am:18: library has `lib21_fts_solr_plugin_la' as canonical name (possible typo)
src/plugins/fts-solr/Makefile.am:9: variable `lib21_fts_solr_plugin_la_LDFLAGS' is defined but no program or
src/plugins/fts-solr/Makefile.am:9: library has `lib21_fts_solr_plugin_la' as canonical name (possible typo)
src/plugins/fts-squat/Makefile.am:13: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/fts-squat/Makefile.am:10: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/fts-squat/Makefile.am:18: variable `lib21_fts_squat_plugin_la_SOURCES' is defined but no program or
src/plugins/fts-squat/Makefile.am:18: library has `lib21_fts_squat_plugin_la' as canonical name (possible typo)
src/plugins/fts-squat/Makefile.am:14: variable `lib21_fts_squat_plugin_la_LIBADD' is defined but no program or
src/plugins/fts-squat/Makefile.am:14: library has `lib21_fts_squat_plugin_la' as canonical name (possible typo)
src/plugins/fts-squat/Makefile.am:8: variable `lib21_fts_squat_plugin_la_LDFLAGS' is defined but no program or
src/plugins/fts-squat/Makefile.am:8: library has `lib21_fts_squat_plugin_la' as canonical name (possible typo)
src/plugins/fts/Makefile.am:10: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/fts/Makefile.am:13: variable `lib20_fts_plugin_la_SOURCES' is defined but no program or
src/plugins/fts/Makefile.am:13: library has `lib20_fts_plugin_la' as canonical name (possible typo)
src/plugins/fts/Makefile.am:8: variable `lib20_fts_plugin_la_LDFLAGS' is defined but no program or
src/plugins/fts/Makefile.am:8: library has `lib20_fts_plugin_la' as canonical name (possible typo)
src/plugins/imap-acl/Makefile.am:17: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/imap-quota/Makefile.am:16: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/imap-zlib/Makefile.am:17: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/lazy-expunge/Makefile.am:13: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/lazy-expunge/Makefile.am:16: variable `lib02_lazy_expunge_plugin_la_SOURCES' is defined but no program or
src/plugins/lazy-expunge/Makefile.am:16: library has `lib02_lazy_expunge_plugin_la' as canonical name (possible typo)
src/plugins/lazy-expunge/Makefile.am:11: variable `lib02_lazy_expunge_plugin_la_LDFLAGS' is defined but no program or
src/plugins/lazy-expunge/Makefile.am:11: library has `lib02_lazy_expunge_plugin_la' as canonical name (possible typo)
src/plugins/listescape/Makefile.am:10: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/listescape/Makefile.am:13: variable `lib20_listescape_plugin_la_SOURCES' is defined but no program or
src/plugins/listescape/Makefile.am:13: library has `lib20_listescape_plugin_la' as canonical name (possible typo)
src/plugins/listescape/Makefile.am:8: variable `lib20_listescape_plugin_la_LDFLAGS' is defined but no program or
src/plugins/listescape/Makefile.am:8: library has `lib20_listescape_plugin_la' as canonical name (possible typo)
src/plugins/mail-log/Makefile.am:16: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/mail-log/Makefile.am:13: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/mail-log/Makefile.am:21: variable `lib20_mail_log_plugin_la_SOURCES' is defined but no program or
src/plugins/mail-log/Makefile.am:21: library has `lib20_mail_log_plugin_la' as canonical name (possible typo)
src/plugins/mail-log/Makefile.am:17: variable `lib20_mail_log_plugin_la_LIBADD' is defined but no program or
src/plugins/mail-log/Makefile.am:17: library has `lib20_mail_log_plugin_la' as canonical name (possible typo)
src/plugins/mail-log/Makefile.am:11: variable `lib20_mail_log_plugin_la_LDFLAGS' is defined but no program or
src/plugins/mail-log/Makefile.am:11: library has `lib20_mail_log_plugin_la' as canonical name (possible typo)
src/plugins/mbox-snarf/Makefile.am:9: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/mbox-snarf/Makefile.am:12: variable `lib20_mbox_snarf_plugin_la_SOURCES' is defined but no program or
src/plugins/mbox-snarf/Makefile.am:12: library has `lib20_mbox_snarf_plugin_la' as canonical name (possible typo)
src/plugins/mbox-snarf/Makefile.am:7: variable `lib20_mbox_snarf_plugin_la_LDFLAGS' is defined but no program or
src/plugins/mbox-snarf/Makefile.am:7: library has `lib20_mbox_snarf_plugin_la' as canonical name (possible typo)
src/plugins/notify/Makefile.am:12: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/notify/Makefile.am:15: variable `lib15_notify_plugin_la_SOURCES' is defined but no program or
src/plugins/notify/Makefile.am:15: library has `lib15_notify_plugin_la' as canonical name (possible typo)
src/plugins/notify/Makefile.am:10: variable `lib15_notify_plugin_la_LDFLAGS' is defined but no program or
src/plugins/notify/Makefile.am:10: library has `lib15_notify_plugin_la' as canonical name (possible typo)
src/plugins/quota/Makefile.am:16: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/quota/Makefile.am:30: variable `nodist_lib10_quota_plugin_la_SOURCES' is defined but no program or
src/plugins/quota/Makefile.am:30: library has `lib10_quota_plugin_la' as canonical name (possible typo)
src/plugins/quota/Makefile.am:29: variable `lib10_quota_plugin_la_SOURCES' is defined but no program or
src/plugins/quota/Makefile.am:29: library has `lib10_quota_plugin_la' as canonical name (possible typo)
src/plugins/quota/Makefile.am:14: variable `lib10_quota_plugin_la_LDFLAGS' is defined but no program or
src/plugins/quota/Makefile.am:14: library has `lib10_quota_plugin_la' as canonical name (possible typo)
src/plugins/trash/Makefile.am:13: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL
src/plugins/trash/Makefile.am:10: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/trash/Makefile.am:18: variable `lib11_trash_plugin_la_SOURCES' is defined but no program or
src/plugins/trash/Makefile.am:18: library has `lib11_trash_plugin_la' as canonical name (possible typo)
src/plugins/trash/Makefile.am:14: variable `lib11_trash_plugin_la_LIBADD' is defined but no program or
src/plugins/trash/Makefile.am:14: library has `lib11_trash_plugin_la' as canonical name (possible typo)
src/plugins/trash/Makefile.am:8: variable `lib11_trash_plugin_la_LDFLAGS' is defined but no program or
src/plugins/trash/Makefile.am:8: library has `lib11_trash_plugin_la' as canonical name (possible typo)
src/plugins/virtual/Makefile.am:11: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/virtual/Makefile.am:14: variable `lib20_virtual_plugin_la_SOURCES' is defined but no program or
src/plugins/virtual/Makefile.am:14: library has `lib20_virtual_plugin_la' as canonical name (possible typo)
src/plugins/virtual/Makefile.am:9: variable `lib20_virtual_plugin_la_LDFLAGS' is defined but no program or
src/plugins/virtual/Makefile.am:9: library has `lib20_virtual_plugin_la' as canonical name (possible typo)
src/plugins/zlib/Makefile.am:11: `module_LTLIBRARIES' is used but `moduledir' is undefined
src/plugins/zlib/Makefile.am:24: variable `lib20_zlib_plugin_la_SOURCES' is defined but no program or
src/plugins/zlib/Makefile.am:24: library has `lib20_zlib_plugin_la' as canonical name (possible typo)
src/plugins/zlib/Makefile.am:21: variable `lib20_zlib_plugin_la_LIBADD' is defined but no program or
src/plugins/zlib/Makefile.am:21: library has `lib20_zlib_plugin_la' as canonical name (possible typo)
src/plugins/zlib/Makefile.am:9: variable `lib20_zlib_plugin_la_LDFLAGS' is defined but no program or
src/plugins/zlib/Makefile.am:9: library has `lib20_zlib_plugin_la' as canonical name (possible typo)
autoreconf-2.65: automake failed with exit status: 1


More information about the dovecot mailing list