[Dovecot] Dovecot LDA config problem on Fedora4 i386

Bob Gustafson bobgus at rcn.com
Sun Dec 11 14:51:11 EET 2005


On Sun, 2005-12-11 at 19:00 +1300, Reuben Farrelly wrote:
> 
> On 11/12/2005 6:50 p.m., Bob Gustafson wrote:
> > On Sat, 2005-12-10 at 22:24 +0200, Timo Sirainen wrote:
> >> On Sat, 2005-12-10 at 13:04 -0600, Bob Gustafson wrote:
> >>> The created scripts config.status and subs-3.sed are attached.
> >>> (Note, subs-3.sed unattached because this email would be too big..
> >>> I think it is generated by config.status)
> >>>
> >>> Need some assistance here.
> >> I'd suggest reporting this as sed bug to RedHat's bugzilla.
> >>
> > 
> > It acts more like sed is not getting any input. Open stream, but no EOF
> > 
> > In the dovecot-lda directory, running './config.status -d' hangs, but
> > giving it a ^C causes it to emit the line
> 
> I run with dovecot-cvs, dovecot-lda-cvs and also using Fedora Core (rawhide) and 
> am not having any of these problems.
> 
> My make-dovecot.sh script runs this before running ./configure:
> 
> make clean
> 
> ./autogen.sh
> 
> If you do the make clean and run autogen first, does it help?
> 
> reuben

It is a problem doing 'make clean' with an empty Makefile.

I moved the CVS file up, then deleted whole dovecot-lda directory, then
mkdir dovecot-lda, then move CVS file down, then 'cvs update'.

Using script with autogen.sh, I get the following output:

[root at hoho0 dovecot-lda]# sh ../conf-lda-cvs-rdg.sh
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
AM_PATH_LIBMCRYPT
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/Makefile.am: installing `./depcomp'
configure.in: installing `./ylwrap'
Makefile.am: installing `./INSTALL'
configure.in:4: required file `lda-config.h.in' not found
[root at hoho0 dovecot-lda]#

The diagnostic is odd, because there is a 'lda-config.h.in' file

[root at hoho0 dovecot-lda]# ls -l lda-config.h.in
-rw-r--r--  1 root root 1670 Dec 11 06:26 lda-config.h.in

But, there wasn't one just after the cvs update. It must have been
created during the autogen.sh, but not quite at the right time?

Going on:

Executing the script:

[root at hoho0 dovecot-lda]# cat ../conf-lda-rdg.sh
export CPPFLAGS=-I/usr/local/ssl/include
export LDFLAGS="-L/usr/local/ssl/lib -ldl"

./configure    \
  --with-dovecot=../dovecot \
2>&1  | tee config.out
[root at hoho0 dovecot-lda]#

I get:

[root at hoho0 dovecot-lda]# sh ../conf-lda-rdg.sh
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

<snip>

checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in
[root at hoho0 dovecot-lda]#

And, indeed, at this step, there is no Makefile.in in the directory.

----

Since I do now have an lda-config.h.in, I repeat the autogen process (no
drastic wipeout clean)

[root at hoho0 dovecot-lda]# sh ../conf-lda-cvs-rdg.sh
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
AM_PATH_LIBMCRYPT
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
[root at hoho0 dovecot-lda]#

Now, at the end of this process, I do have a Makefile.in

Now, repeating the ./configure stage:

[root at hoho0 dovecot-lda]# sh ../conf-lda-rdg.sh

<snip>

checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
configure: creating ./config.status
config.status: creating Makefile

---- Hung Here --

After ^c, no Makefile created...




More information about the dovecot mailing list