On May 25, 2010, at 1:44 PM, Timo Sirainen wrote:
On Tue, 2010-05-25 at 13:39 -0400, Jonathan Siegle wrote:
That's going to break other systems. What do you have in LIBICONV and LTLIBICONV in Makefile? Maybe your iconv.m4 doesn't contain support for LTLIBICONV?
fgrep LIBICONV src/lib-dovecot/Makefile LIBICONV = -liconv $(LIBICONV)
I can't find a iconv.m4 on my system.
I guess it should be in /usr/share/aclocal/. You're compiling from hg, right? Yes. After updating some Gnu tools(automake/autoconf/m4/libtool/gettext/) and installing Gnu libiconv(was using system libiconv), I can report success. Looking back now, I probably only needed to install Gnu libiconv.
tr27n12.aset.psu.edu# ldd libdovecot.so.0.0.0 libdovecot.so.0.0.0 needs: /usr/local/Gnu/lib/libiconv.so /usr/lib/libc.a(shr_64.o) /unix /usr/lib/libcrypt.a(shr_64.o)
fgrep LIBICON Makefile LIBICONV = /usr/ladmin/Gnu/lib//libiconv.a LTLIBICONV = -L/usr/ladmin/Gnu/lib/ -liconv $(LTLIBICONV)
However, I no longer have the --enable-header-install feature:
$ ./configure --prefix=/usr/local/dovecot2.0beta4test --without-ssl --with-gssapi=yes --enable-header-install
configure: WARNING: unrecognized options: --enable-header-install
AND /usr/local/ovecot2.0beta4test/include/dovecot is still populated.
thanks, Jonathan