[Dovecot] solaris 10 dovecot-1.0.rc29 - building issue

Davide Vaghetti davide.vaghetti at unipi.it
Wed Apr 4 18:53:10 EEST 2007


Hi all,

I'm having terrible time, and a lot of core dumps, building dovecot on
Solaris 10.

My environment:
gcc 3.3.2

LDFLAGS=-L/usr/local/ssl/lib -lssl -lcrypto \
-L/usr/local/BerkeleyDB.4.2/lib -ldb -L/usr/local/lib -lldap

CPPFLAGS=-I/usr/local/BerkeleyDB/include \
-I/usr/local/include -I/usr/local/ssl/include

my configure:
./configure --prefix=/usr/local --with-ldap

...that is:

Install prefix ...................... : /usr/local
File offsets ........................ : 64bit
I/O loop method ..................... : poll
File change notification method ..... : none
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support ........ : no
Building with user database modules . : static prefetch passwd
passwd-file checkpassword ldap (modules)
Building with password lookup modules : passwd passwd-file shadow pam
checkpassword ldap (modules)
Building with SQL drivers ............:

When I try to actually make it, this is the result:

Making all in imap
make[3]: Entering directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
/bin/ksh ../../libtool --tag=CC   --mode=link gcc  -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast  -export-dynamic
-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -o
imap cmd-append.o cmd-capability.o cmd-check.o cmd-close.o cmd-copy.o
cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o
cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o
cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o
cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o
cmd-unsubscribe.o client.o commands.o commands-util.o imap-expunge.o
imap-fetch.o imap-fetch-body.o imap-messageset.o imap-search.o
imap-sort.o imap-sync.o imap-thread.o mail-storage-callbacks.o main.o
namespace.o ../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/mbox/libstorage_mbox.a
../../src/lib-storage/index/dbox/libstorage_dbox.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a ../lib/mountpoint.o
/usr/local/lib/libiconv.so -L/usr/openwin/lib -R/usr/local/lib
-export-dynamic -lsocket -lnsl -lrt -lsendfile
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -o imap cmd-append.o cmd-capability.o cmd-check.o
cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o
cmd-expunge.o cmd-fetch.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o
cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o
cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o
cmd-uid.o cmd-unselect.o cmd-unsubscribe.o client.o commands.o
commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
imap-messageset.o imap-search.o imap-sort.o imap-sync.o imap-thread.o
mail-storage-callbacks.o main.o namespace.o ../lib/mountpoint.o
/usr/local/lib/libiconv.so  -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib
../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/mbox/libstorage_mbox.a
../../src/lib-storage/index/dbox/libstorage_dbox.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a -L/usr/openwin/lib -lsocket
-lnsl -lrt -lsendfile -R/usr/local/lib
make[3]: *** [imap] Bus Error (core dumped)
make[3]: *** Deleting file `imap'
make[3]: Leaving directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/dovecot-1.0.rc29/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot-1.0.rc29'
make: *** [all] Error 2


I tried the rc27 and rc28 too with the same results.
Does anybody experienced similar issues ?

thanks in advance
bye
--
Davide Vaghetti
Centro SerRA - University of Pisa NOC


More information about the dovecot mailing list