[Dovecot] Thank you! - Re: dovecot 2.0.2 compile issues on Solaris 10u8 Sparc
Jerry Kemp
smail at oryx.cc
Mon Sep 13 18:30:04 EEST 2010
Timo, see response to original question at bottom of email
..........................................................
Thank you Timo!!
I did the following based on your hints provided:
# cd dovecot-2.0.2
# make clean
# vi config.h, replacing line 208 with this line from my working v2.0.0
config.h ---> /* #undef HAVE_MNTENT_H */
# make
# make check
# make install
v120 /usr/local/src/d/dovecot-2.0.2 469 # which dovecot
/usr/local/sbin/dovecot
v120 /usr/local/src/d/dovecot-2.0.2 470 # ldd `which dovecot`
libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
librt.so.1 => /usr/lib/librt.so.1
libsendfile.so.1 => /usr/lib/libsendfile.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libmd.so.1 => /usr/lib/libmd.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libm.so.2 => /usr/lib/libm.so.2
/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
/platform/SUNW,UltraAX-i2/lib/libmd_psr.so.1
v120 /usr/local/src/d/dovecot-2.0.2 471 # /usr/local/sbin/dovecot --version
2.0.2
v120 /usr/local/src/d/dovecot-2.0.2 472 #
v120 /usr/local/src/d/dovecot-2.0.2 472 # ps -ef | grep dovecot
root 23328 1 0 10:18:34 ? 0:00 /usr/local/sbin/dovecot
root 23332 23328 0 10:18:34 ? 0:00 dovecot/config
dovecot 23329 23328 0 10:18:34 ? 0:00 dovecot/anvil
root 23363 1017 0 10:25:24 pts/1 0:00 grep dovecot
root 23330 23328 0 10:18:34 ? 0:00 dovecot/log
v120 /usr/local/src/d/dovecot-2.0.2 473 #
On 09/13/10 09:56, Timo Sirainen wrote:
> On Mon, 2010-09-13 at 09:35 -0500, Jerry Kemp wrote:
>> v120 /var/sadm/install 425 # ls -l /usr/include/sys/mntent.h
>
> But that's sys/mntent.h
>
>>>> < #define HAVE_MNTENT_H 1
>>>> ---
>>>>> /* #undef HAVE_MNTENT_H */
>
> This says you have mntent.h (not under sys/). Unless of course
> the /usr/include/sys/ directory suddenly somehow became added to include
> search path.
>
> Does this give an error:
>
> echo "#include <mntent.h>"|gcc -c -x c -
>
v120 /usr/local/src/d/dovecot-2.0.2 468 # echo "#include <mntent.h>"|gcc
-c -x c -
v120 /usr/local/src/d/dovecot-2.0.2 469 #
More information about the dovecot
mailing list