[Dovecot] 2.2.4 + metadata plugin: autoconf failed
Hello,
I can compile metadata plugin using debian squeeze + wheezy. But build on suse enterprise server 9,10 and 11 failed.
The metadata plugin require autoconf-2.65 which i too new. On the other side I can build the dovecot-2.2.4 and pigeonhole-0.4.0 plugin without problems: dovecot require autoconf-2.59 and pigeonhole does not require any specific autoconf version.
I asked the authors of the plugin for support but got no response. Maybe somebody could review the plugin.
Thanks Andreas
-- Andreas Schulze Internetdienste | P252
DATEV eG 90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196 E-Mail info @datev.de | Internet www.datev.de Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70 Vorstand Prof. Dieter Kempf (Vorsitzender) Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender) Dipl.-Kfm. Michael Leistenschneider Dipl.-Kfm. Dr. Robert Mayr Jörg Rabe v. Pappenheim Dipl.-Vw. Eckhard Schwarzer Vorsitzender des Aufsichtsrates: Reinhard Verholen
Hi Andreas,
it would be helpful to provide the error message(s). Meanwhile you can try to call the 'autogen.sh' script which is shipped with the sources of the metadata-plugin before running 'configure'. This will try to regenerate all the autotools related files using your installed version.
Cheers, Chris
On Mon, 22 Jul 2013 14:56:20 +0200 Andreas Schulze andreas.schulze@datev.de wrote:
Hello,
I can compile metadata plugin using debian squeeze + wheezy. But build on suse enterprise server 9,10 and 11 failed.
The metadata plugin require autoconf-2.65 which i too new. On the other side I can build the dovecot-2.2.4 and pigeonhole-0.4.0 plugin without problems: dovecot require autoconf-2.59 and pigeonhole does not require any specific autoconf version.
I asked the authors of the plugin for support but got no response. Maybe somebody could review the plugin.
Thanks Andreas
I guess you had to call 'autogen.sh' anyway so maybe you could also try to simply remove the first line of 'configure.ac'. http://hg.dovecot.org/dovecot-metadata-plugin/file/2a17386d4dbc/configure.ac...
This obviously defines the minimal version of autoconf and who knows if that is really needed ;)
Cheers, Chris
On Mon, 22 Jul 2013 15:31:11 +0200 Christian Wiese christian.wiese@securepoint.de wrote:
Hi Andreas,
it would be helpful to provide the error message(s). Meanwhile you can try to call the 'autogen.sh' script which is shipped with the sources of the metadata-plugin before running 'configure'. This will try to regenerate all the autotools related files using your installed version.
Cheers, Chris
On Mon, 22 Jul 2013 14:56:20 +0200 Andreas Schulze andreas.schulze@datev.de wrote:
Hello,
I can compile metadata plugin using debian squeeze + wheezy. But build on suse enterprise server 9,10 and 11 failed.
The metadata plugin require autoconf-2.65 which i too new. On the other side I can build the dovecot-2.2.4 and pigeonhole-0.4.0 plugin without problems: dovecot require autoconf-2.59 and pigeonhole does not require any specific autoconf version.
I asked the authors of the plugin for support but got no response. Maybe somebody could review the plugin.
Thanks Andreas
-- Kind regards, Mit freundlichen Grüßen, Christian Wiese
Follow us on Facebook: http://www.facebook.com/pages/Securepoint-GmbH/132451210137395
Follow us on Twitter: http://twitter.com/SecurepointStat
Securepoint GmbH Christian Wiese Salzstr. 1 D-21335 Lueneburg http://www.securepoint.de Tele: ++49 4131 2401-0 Fax: ++49 4131 2401-50 Lueneburg HRB 1776
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
GEHEIMHALTUNGSPFLICHT : Dieses E-Mail und alle damit verbundenen Anlagen sind vertraulich und dürfen nur bestimmten Personen zugänglich gemacht werden. Sofern Sie nicht zu den angegebenen Empfängern gehören, benachrichtigen Sie bitte unverzüglich den Absender. Der Inhalt darf weder an Dritte weitergegeben noch zu anderen Zwecken verwendet werden. Die Informationen dürfen auch nicht auf einem Datenträger gespeichert oder auf einen Datenträger kopiert werden.
Hi Andreas,
sorry to hear that you didn't had much luck so far to solve the issue. I just tested to run the supplied autogen.sh on a freshly checked out metadata plugin tree, and had no issues.
Somehow it seems to me that you might miss some important development files like some 3rd party .m4 files defining certain macros for autoconf.
Can you please tell me the versions of autoconf, automake, m4, libtool you are using and paste me the output of following commands?
Please provide the information for the debian host where it actually builds and for one of the other hosts where it fails to build.
grep -rn "AC_PROG_CC_C99" /usr/share/auto*
that particular macro should be found in something like /usr/share/autoconf/autoconf/c.m4
find /usr/share/ -name "dovecot.m4"
Actually I am nearly sure that you are missing the 'dovecot.m4' file, which is installed at '/usr/share/aclocal/dovecot.m4' on my test host.
I bet the debian host is having the 'dovecot.m4' installed and the others don't have it, because after renaming the 'dovecot.m4' here I ran into the very same issue you have ;)
bash-4.2# mv /usr/share/aclocal/dovecot.m4{,.orig} bash-4.2# ./autogen.sh libtoolize: putting auxiliary files in `.'.
- creating m4/ ...
- running autoreconf ...
libtoolize: copying file ./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR,
m4'.
libtoolize: copying file m4/libtool.m4' libtoolize: copying file
m4/ltoptions.m4'
libtoolize: copying file m4/ltsugar.m4' libtoolize: copying file
m4/ltversion.m4'
libtoolize: copying file m4/lt~obsolete.m4' src/Makefile.am:33: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL src/Makefile.am:41: DOVECOT_PLUGIN_DEPS does not appear in AM_CONDITIONAL src/Makefile.am:10:
dovecot_pkglib_LTLIBRARIES' is
used but dovecot_pkglibdir' is undefined src/Makefile.am:13: variable
libdovecot_metadata_la_SOURCES' is defined but no program or
src/Makefile.am:13: library has `libdovecot_metadata_la' as canonical
name (possible typo) autoreconf: automake failed with exit status: 1
So now we only need to find why the file was not installed on your "failing hosts".
How did you compiled and installed dovecot on those?
As I am compiling/installing dovecot from sources using the provided autotools infrastructure which seems to install the needed 'dovecot.m4', I suppose you ran into an issue with the (S)RPMs provided for your SLES version. For example it is simply not installing the file because RPM is such a "marvelous" packaging system forcing package maintainers to specify what to install instead of simply relying on the way provided by the author to simply run 'make install'. Another reason could be that you simply missed to install the 'dovecot-devel' package, which should install the 'dovecot.m4'. At least in the case of Fedora that seems to be the case.
http://pkgs.fedoraproject.org/cgit/dovecot.git/tree/dovecot.spec#n444
Cheers Chris
On Mon, 22 Jul 2013 14:56:20 +0200 Andreas Schulze andreas.schulze@datev.de wrote:
Hello,
I can compile metadata plugin using debian squeeze + wheezy. But build on suse enterprise server 9,10 and 11 failed.
The metadata plugin require autoconf-2.65 which i too new. On the other side I can build the dovecot-2.2.4 and pigeonhole-0.4.0 plugin without problems: dovecot require autoconf-2.59 and pigeonhole does not require any specific autoconf version.
I asked the authors of the plugin for support but got no response. Maybe somebody could review the plugin.
Thanks Andreas
participants (2)
-
Andreas Schulze
-
Christian Wiese