[Dovecot] dovecot-lda: problems compiling
Bob Gustafson
bobgus at rcn.com
Thu Jan 12 00:22:23 EET 2006
My symptom was exactly the same as reported - sed hung at the
configure stage of dovecot-lda.
I did lots of things to try to fix it. Almost none were successful. I
was on the correct path when I deleted all of the downloaded cvs
files and started from scratch with the 'co' cvs download.
There was a diagnostic mentioning the AM_ICONV problem in the initial
run of autogen against the dovecot-lda files. This I had ignored
previously, because it did not reappear on repeating the autogen
step. I assume that proceeding without curing the AM_ICONV resulted
in the hung sed at the configure step.
I googled around and found (will furnish reference..) that the
AM_ICONV message was related to the missing gettext.
After installing the gettext (up2date gettext), the AM_ICONV
diagnostic did not appear. There was another diagnostic message
saying that there was no configure.in.am (or something like that).
This file was in the directory after the autogen (but was not there
in the initial 'co' cvs download). I repeated the autogen step and it
completed with no diagnostic.
At this point, the configure also went through without the sed hang.
I can only conclude, based on my user experience, that the sed hang
was related to the missing gettext package. Perhaps sed was trying to
read from a socket that was supplied by the missing gettext - and hung.
Once I was able to configure and make dovecot-lda, I went on to other
things (like getting a bigger disk matching another big disk on that
system and figuring out how to RAID the two - a continuing story, and
one that has higher priority than getting dovecot-lda running. I am
at 90% full on a 4GB disk..)
I am running a 32 bit old Pentium on my mail system. The sed hang
also occurred on my dual Xeon system running Fedora4.smp.
Bob Gustafson
On Jan 11, 2006, at 08:44, Timo Sirainen wrote:
> Aren't these separate problems? Yours is about missing AM_ICONV macro
> which caused compile to fail, while the 64bit issue is about configure
> getting stuck. As far as I know, it's a bug in sed (since it works
> with
> 32bit sed) and I don't know of a way to fix it.
>
> On Wed, 2006-01-11 at 06:23 -0600, Bob Gustafson wrote:
>> As I mentioned a few days ago, the problem seems to be a missing
>> 'gettext'. On Fedora 4 (I am running 32 bit), my solution was to
>> do an
>> 'up2date gettext' and then go back to a virgin cvs download of both
>> dovecot and dovecot-lda. This may also fix your problem on
>> Solaris. Let
>> us know.
>>
>> On Tue, 2006-01-10 at 13:14 -0500, Sergey Ivanov wrote:
>>> I think the same, or very similar prevents compiling dovecot-lda
>>> from
>>> CVS at OpenSolaris, even at 32bit:
>>> my ./configure --with-dovecot==../dovecot now runs hours executing
>>> sed -f ./confstat9saiYu/subs-3.sed,
>>> the contents of this file is:
>>> ---
>>> cat confstat9saiYu/subs-3.sed
>>> :t
>>> /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
>>> s, at F77@,g77,;t t
>>> s, at FFLAGS@,-g -O2,;t t
>>> s, at ac_ct_F77@,g77,;t t
>>> s, at LIBTOOL@,$(SHELL) $(top_builddir)/libtool,;t t
>>> s, at dovecotdir@,/home/seriv/dovecot/dovecot,;t t
>>> s, at STORAGE_LIBS@,
>>> /home/seriv/dovecot/dovecot/src/lib-storage/index/maildir/
>>> libstorage_maildir.a
>>> /home/seriv/dovecot/dovecot/src/lib-storage/index/mbox/
>>> libstorage_mbox.a
>>> /home/seriv/dovecot/dovecot/src/lib-storage/index/dbox/
>>> libstorage_dbox.a
>>> /home/seriv/dovecot/dovecot/src/lib-storage/index/libstorage_index.a
>>> /home/seriv/dovecot/dovecot/src/lib-index/libindex.a,;t t
>>> s, at LIBICONV@, at LIBICONV@,;t t
>>> s, at RAND_LIBS@,,;t t
>>> s, at MODULE_LIBS@,-export-dynamic,;t t
>>> s, at LIBOBJS@,,;t t
>>> s, at LTLIBOBJS@,,;t t
>>> ---
>>> Is there some workaround now to get dovecot-lda compiled?
More information about the dovecot
mailing list