[Dovecot] compiling Dovecot CVS version, 1 problem, 1 wish, 3 questions
Hello,
today I checked out a new copy of Dovecot (and LDA) from CVS:
File: ChangeLog Status: Up-to-date
Working revision: 1.2765
Repository revision: 1.2765 /home/cvs/dovecot/ChangeLog,v
I could compile them, but my findings follow:
- the problem: I copied dovecot-lda below CVS_ROOT/dovecot, the first make attempt failed with this fatal error:
make[3]: Entering directory
/var/autofs/fb02/prgdist/dovecot/dovecot/dovecot-lda/src/libsieve' /bin/sh ../../ylwrap
test -f 'addr.y' || echo './'`addr.y y.tab.c addr.c
y.tab.h addr.h y.output addr.output -- bison -y -d -p addr
../../ylwrap: ../../ylwrap: No such file or directory
the "ylwrap" is actually located in the Dovecot directory, hence, one directory up, so running
ln -s ../ylwrap .
in CVS_ROOT/dovecot/dovecot-lda fixed the problem.
the wish: It would be nice, if one could compile dovecot-lda right in the CVS locations without the need to give any option, e.g. the default "dovecot" path could be "../dovecot".
the questions:
running ./autogen.sh results in:
configure.in:1562: required file ./config.h.in' not found SUBDIRS: variable
DELIVER' is used but `DELIVER' is undefined
^^ Maybe the 2nd error results in that I passed "--without-deliver" to ./configure?
running ./configure results in: checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory done
running dovecot-lda/autogen.sh results in: configure.in:4: required file `./lda-config.h.in' not found
Neither of these error messages prevent to built Dovecot, but they does not look "correct".
Bye,
-- Steffen Kaiser
Steffen Kaiser skdovecot@smail.inf.fh-bonn-rhein-sieg.de wrote Fri, 13 Jan 2006 11:47:53 +0100 (CET):
| I copied dovecot-lda below CVS_ROOT/dovecot, the first make attempt failed | with this fatal error:
Have you seen the instructions for compiling dovecot-lda on http://wiki.dovecot.org/LDA ?
-- Linus
On Fri, 13 Jan 2006, Linus Nordberg wrote:
Steffen Kaiser skdovecot@smail.inf.fh-bonn-rhein-sieg.de wrote Fri, 13 Jan 2006 11:47:53 +0100 (CET):
| I copied dovecot-lda below CVS_ROOT/dovecot, the first make attempt failed | with this fatal error:
Have you seen the instructions for compiling dovecot-lda on http://wiki.dovecot.org/LDA ?
Yes and no; in the Wiki:
./configure --with-dovecot=../dovecot
The default is "..", so the default assumes that the source are located in a sub-dir of Dovecot (which was mandatory some versions ago).
===
The Wiki-way works, which is also confusing, because shouldn't it work anywhere. So how about to change the default for the dovecot-path to '../dovecot', in order to avoid confusion?
Bye,
-- Steffen Kaiser
Steffen Kaiser skdovecot@smail.inf.fh-bonn-rhein-sieg.de wrote Fri, 13 Jan 2006 13:48:10 +0100 (CET):
| > Have you seen the instructions for compiling dovecot-lda on
| > http://wiki.dovecot.org/LDA ?
|
| Yes and no; in the Wiki:
|
| ./configure --with-dovecot=../dovecot
|
| The default is "..", so the default assumes that the source are located in
| a sub-dir of Dovecot (which was mandatory some versions ago).
Ah, I didn't realize that.
| The Wiki-way works, which is also confusing, because shouldn't it work | anywhere. So how about to change the default for the dovecot-path to | '../dovecot', in order to avoid confusion?
There's some magic going on with the Auto* tools and parent directory, it seems. For me, with dovecot-lda in subdirectory of dovecot, libtool --force says
Putting files in AC_CONFIG_AUX_DIR, `..'.
and automake --add-missing says
configure.in: installing `../ylwrap'
Auto* versions used: ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) automake (GNU automake) 1.9.6 autoconf (GNU Autoconf) 2.59
aclocal.m4 mentions using $srcdir/.. for AC_CONFIG_AUX_DIR if not given explicitly. I'm not versed enough in Auto*magic to sort this out though.
-- Linus
On Fri, 2006-01-13 at 11:47 +0100, Steffen Kaiser wrote:
make[3]: Entering directory
/var/autofs/fb02/prgdist/dovecot/dovecot/dovecot-lda/src/libsieve' /bin/sh ../../ylwrap
test -f 'addr.y' || echo './'`addr.y y.tab.c addr.c y.tab.h addr.h y.output addr.output -- bison -y -d -p addr ../../ylwrap: ../../ylwrap: No such file or directorythe "ylwrap" is actually located in the Dovecot directory, hence, one directory up, so running
ln -s ../ylwrap .
Don't know about this really.. But once Dovecot-LDA gets packaged into tarball this problem doesn't happen since it doesn't need bison at all.
- the wish: It would be nice, if one could compile dovecot-lda right in the CVS locations without the need to give any option, e.g. the default "dovecot" path could be "../dovecot".
Changed.
running ./autogen.sh results in: configure.in:1562: required file
./config.h.in' not found SUBDIRS: variable
DELIVER' is used but `DELIVER' is undefined
Fixed.
^^ Maybe the 2nd error results in that I passed "--without-deliver" to ./configure?
The deliver doesn't get built nowadays anymore at all. And the warning comes before you even run configure.
running ./configure results in: checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory done
Hmh. This file seems to be created by gettextize, but it adds also all sorts of other crap around which Dovecot doesn't need. Seems to be working fine without it too..
running dovecot-lda/autogen.sh results in: configure.in:4: required file `./lda-config.h.in' not found
I think this was because autoheader was run too late. I've changed autogen.sh now to run it earlier.
participants (3)
-
Linus Nordberg
-
Steffen Kaiser
-
Timo Sirainen