Davide Vaghetti
2007-Apr-04 15:53 UTC
[Dovecot] solaris 10 dovecot-1.0.rc29 - building issue
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
Jeff A. Earickson
2007-Apr-04 17:37 UTC
[Dovecot] solaris 10 dovecot-1.0.rc29 - building issue
Hi, Works great for me; it has for a long time. My advice: upgrade your C compiler. I usually build dovecot with gcc 4.1.1, but it will also work well with Sun Studio 11. Sun Studio 11 is free if you have a Sun support contract/sunsolve login. See: http://developers.sun.com/sunstudio/downloads/ Dovecot has been pretty bullet-proof for me. Jeff Earickson Colby College On Wed, 4 Apr 2007, Davide Vaghetti wrote:> Date: Wed, 04 Apr 2007 17:53:10 +0200 > From: Davide Vaghetti <davide.vaghetti at unipi.it> > To: dovecot at dovecot.org > Subject: [Dovecot] solaris 10 dovecot-1.0.rc29 - building issue > > 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 >
On April 4, 2007 5:53:10 PM +0200 Davide Vaghetti <davide.vaghetti at unipi.it> wrote:> Hi all, > > I'm having terrible time, and a lot of core dumps, building dovecot on > Solaris 10....> 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...> make[3]: *** [imap] Bus Error (core dumped)... This is a ksh bug. Try setting CONFIG_SHELL in libtool to /usr/xpg4/bin/sh. -frank
Davide Vaghetti
2007-Apr-05 07:57 UTC
[Dovecot] solaris 10 dovecot-1.0.rc29 - building issue
Jeff A. Earickson wrote:> Hi, > > Works great for me; it has for a long time. My advice: upgrade your > C compiler. I usually build dovecot with gcc 4.1.1, but it will also > work well with Sun Studio 11. Sun Studio 11 is free if you have a > Sun support contract/sunsolve login. See: > > http://developers.sun.com/sunstudio/downloads/ > > Dovecot has been pretty bullet-proof for me.For me too... on linux ;-) I solved using bash instead of ksh, thanks anyway. bye davide -- -- Davide Vaghetti Centro SerRA - University of Pisa NOC