Re: [Dovecot] Dovecot LDA config problem on RHEL 4 x86_64
I see the same problem
I downloaded from cvs - dovecot and dovecot-lda Did autogen, configure, make on dovecot (see autogen and configure scripts below)
[root@hoho0 cvs]# cat conf-dov-cvs-rdg.sh export ACLOCAL_FLAGS="-I /usr/share/aclocal/" ./autogen.sh 2>&1 | tee autogen.out
[root@hoho0 cvs]# cat conf-rdg.sh export CPPFLAGS=-I/usr/local/ssl/include export LDFLAGS="-L/usr/local/ssl/lib -ldl"
./configure
--without-deliver
--with-gnu-ld
--with-ldap
--with-pgsql
--with-mysql
--with-ssl=openssl
2>&1 | tee config.out
[root@hoho0 cvs]#
Then did autogen, configure on dovecot-lda and got hang before Makefile was generated (but script said it was generating Makefile)
My system is Fedora4 and is pretty up2date - maybe a week behind using updates, base, extras
[root@hoho0 cvs]# cat /proc/version Linux version 2.6.14-1.1637_FC4 (bhcompile@hs20-bc1-4.build.redhat.com) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 Wed Nov 9 18:19:37 EST 2005 [root@hoho0 cvs]#
I am running Dovecot and Postfix - seems pretty solid, but I would like to have the filtering done at incoming time.
Bob G
tomi hakala wrote on Thu Nov 17 22:41:51 EET 2005
Following is more information on the configure hang
ps axwf | more <snip>
2002 ? Ss 0:00 /usr/sbin/sshd 28927 ? Ss 0:01 \_ sshd: root@pts/1 28931 pts/1 Ss 0:00 | \_ -bash 21483 pts/1 S+ 0:00 | \_ sh ../conf-lda-rdg.sh 21484 pts/1 S+ 0:02 | \_ /bin/sh ./configure --with-dovecot=../dovecot 24582 pts/1 S+ 0:00 | | \_ /bin/sh ./config.status 24687 pts/1 S+ 0:00 | | \_ /bin/sh ./config.status 24690 pts/1 R+ 2:33 | | \_ sed -f ./confstatP24658/subs-3.sed 21485 pts/1 S+ 0:00 | \_ tee config.out <snip>
Note that the hang is in running sed on subs-3.sed in the temporary directory created during the configure run. This temp directory will disappear unless -d is included in the arguments.
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.
Bob G
On Thu, 2005-12-08 at 14:31 -0600, Bob Gustafson wrote:
On Sat, 2005-12-10 at 22:24 +0200, Timo Sirainen wrote:
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
creating src/Makefile
Giving another ^C causes it to emit
creating src/libsieve/Makefile
etc.
Unfortunately, the top level Makefile is empty.
Strange behavior
I'm running with latest cvs for both dovecot (autogen, configure, make) and dovecot-lda (autogen, configure <- problem here)
[root@hoho0 dovecot-lda]# ./config.status -d config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libsieve/Makefile config.status: creating stamp.h config.status: creating lda-config.h config.status: lda-config.h is unchanged config.status: executing depfiles commands [root@hoho0 dovecot-lda]# ls -l Makefile -rw-r--r-- 1 root root 0 Dec 10 23:36 Makefile [root@hoho0 dovecot-lda]# ls -l src/Makefile -rw-r--r-- 1 root root 4096 Dec 10 23:36 src/Makefile [root@hoho0 dovecot-lda]# ls -l src/libsieve/Makefile -rw-r--r-- 1 root root 4096 Dec 10 23:36 src/libsieve/Makefile [root@hoho0 dovecot-lda]# ls -l stamp.h -rw-r--r-- 1 root root 0 Dec 10 23:36 stamp.h [root@hoho0 dovecot-lda]# ls -l lda-config.h -rw-r--r-- 1 root root 1864 Dec 10 22:30 lda-config.h
On 11/12/2005 6:50 p.m., Bob Gustafson wrote:
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
On Sun, 2005-12-11 at 19:00 +1300, Reuben Farrelly wrote:
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@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@hoho0 dovecot-lda]#
The diagnostic is odd, because there is a 'lda-config.h.in' file
[root@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@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@hoho0 dovecot-lda]#
I get:
[root@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@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@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@hoho0 dovecot-lda]#
Now, at the end of this process, I do have a Makefile.in
Now, repeating the ./configure stage:
[root@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...
participants (3)
-
Bob Gustafson
-
Reuben Farrelly
-
Timo Sirainen