Steffen Kaiser
2006-Jan-13 10:47 UTC
[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
Linus Nordberg
2006-Jan-13 12:08 UTC
[Dovecot] Re: compiling Dovecot CVS version, 1 problem, 1 wish, 3 questions
Steffen Kaiser <skdovecot at 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
Linus Nordberg
2006-Jan-13 20:03 UTC
[Dovecot] Re: compiling Dovecot CVS version, 1 problem, 1 wish, 3 questions
Steffen Kaiser <skdovecot at 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
Timo Sirainen
2006-Jan-14 13:42 UTC
[Dovecot] compiling Dovecot CVS version, 1 problem, 1 wish, 3 questions
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 directory > > the "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 undefinedFixed.> ^^ 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 > doneHmh. 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 foundI think this was because autoheader was run too late. I've changed autogen.sh now to run it earlier. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060114/739b84f4/attachment.bin>