Re: [Dovecot] problem compiling pigeonhole + my fix

2010-05-19 Thread Stephan Bosch

Andreas Schulze wrote:

hello,

yesterday I tried to package dovecot-2.0beta5 + pigeonhole from
Mercurial repository. I put pigeonhole as a subdir in the dovecot
sourcetree. Following
http://hg.rename-it.nl/dovecot-2.0-pigeonhole/raw-file/tip/INSTALL I
called ./autogen.sh; ./configure --with-dovecot=..; make

In the buildprocess I saw this output ( from autogen.sh ): Putting
files in AC_CONFIG_AUX_DIR, `..'. libtoolize: `config.guess' exists:
use `--force' to overwrite libtoolize: `config.sub' exists: use
`--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force'
to overwrite

I dont know *why* AC_CONFIG_AUX_DIR is .. but in .. there are the
mentioned files (from dovecot) already present. The following make
failed with less helpfull errors.



Hmm. This doesn't happen at my end, but:

http://www.gnu.org/software/hello/manual/automake/Subpackages.html


The purpose of the ‘AC_CONFIG_AUX_DIR([.])’ instruction is to force
Automake and Autoconf to search for auxiliary scripts in the current
directory. For instance, this means that there will be two copies of
install-sh: one in the top-level of the arm package, and another one
in the hand/  subdirectory for the hand package.

The historical default is to search for these auxiliary scripts in
the parent directory and the grandparent directory. So if the
‘AC_CONFIG_AUX_DIR([.])’ line was removed from hand/configure.ac,
that subpackage would share the auxiliary script of the arm package.
This may looks like a gain in size (a few kilobytes), but it is
actually a loss of modularity as the hand subpackage is no longer
self-contained (‘make dist’ in the subdirectory will not work
anymore).


This should fix it:

http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/48798f16daaf

Regards,

Stephan.


[Dovecot] problem compiling pigeonhole + my fix

2010-05-18 Thread Andreas Schulze
hello,

yesterday I tried to package dovecot-2.0beta5 + pigeonhole from Mercurial 
repository.
I put pigeonhole as a subdir in the dovecot sourcetree.
Following http://hg.rename-it.nl/dovecot-2.0-pigeonhole/raw-file/tip/INSTALL
I called ./autogen.sh; ./configure --with-dovecot=..; make

In the buildprocess I saw this output ( from autogen.sh ):
Putting files in AC_CONFIG_AUX_DIR, `..'.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite

I dont know *why* AC_CONFIG_AUX_DIR is .. but in .. there are
the mentioned files (from dovecot) already present. The following make failed
with less helpfull errors.

- my fix is to call autoreconf -i -f again after autogen.sh

should -f be added to autogen.sh ?

-- 
Andreas Schulze
Internetdienste | P532

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
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen