On Fri, Oct 22, 2010 at 12:09 AM, Timo Sirainen tss@iki.fi wrote:
On 21.10.2010, at 21.52, Odhiambo Washington wrote:
PS: Timo, in the options shown when one runs the configure script, should the dbox option be removed?
[root@gw] ~wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6# ./configure --help | grep dbox (maildir mbox dbox mdbox cydir)
Yeah, it should have been sdbox. Fixed now in hg.
For the fun of it, i used --with-storages="maildir mbox dbox mdbox cydir" (not intending to use all, but just to see) and this led
make
to fail with something about dbox, so I simply removed it and got a successful compile.Hmm. I think it still should have worked.. Well, not sure.
I've taken the liberty to reproduce the failure:
<cut> mv -f .deps/imap-commands-util.Tpo .deps/imap-commands-util.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-expunge.o -MD -MP -MF .deps/imap-expunge.Tpo -c -o imap-expun ge.o imap-expunge.c mv -f .deps/imap-expunge.Tpo .deps/imap-expunge.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-fetch.o -MD -MP -MF .deps/imap-fetch.Tpo -c -o imap-fetch.o i map-fetch.c mv -f .deps/imap-fetch.Tpo .deps/imap-fetch.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-fetch-body.o -MD -MP -MF .deps/imap-fetch-body.Tpo -c -o imap -fetch-body.o imap-fetch-body.c mv -f .deps/imap-fetch-body.Tpo .deps/imap-fetch-body.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-search.o -MD -MP -MF .deps/imap-search.Tpo -c -o imap-search. o imap-search.c mv -f .deps/imap-search.Tpo .deps/imap-search.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-search-args.o -MD -MP -MF .deps/imap-search-args.Tpo -c -o im ap-search-args.o imap-search-args.c mv -f .deps/imap-search-args.Tpo .deps/imap-search-args.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-settings.o -MD -MP -MF .deps/imap-settings.Tpo -c -o imap-set tings.o imap-settings.c mv -f .deps/imap-settings.Tpo .deps/imap-settings.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-status.o -MD -MP -MF .deps/imap-status.Tpo -c -o imap-status. o imap-status.c mv -f .deps/imap-status.Tpo .deps/imap-status.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT imap-sync.o -MD -MP -MF .deps/imap-sync.Tpo -c -o imap-sync.o imap -sync.c mv -f .deps/imap-sync.Tpo .deps/imap-sync.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-storage-callbacks.o -MD -MP -MF .deps/mail-storage-callbacks. Tpo -c -o mail-storage-callbacks.o mail-storage-callbacks.c mv -f .deps/mail-storage-callbacks.Tpo .deps/mail-storage-callbacks.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-dict -I../../src/lib-master -I../../src/lib-mail -I../. ./src/lib-imap -I../../src/lib-index -I../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-a rith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-s ubscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -export-dynamic -o imap cmd-append.o cmd-capability.o cmd-cancelupdate.o cmd-check .o cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logou t.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 cmd-x-cancel.o imap-client.o imap-commands.o imap-commands-util.o imap-expunge.o imap-fetch.o imap-fe tch-body.o imap-search.o imap-search-args.o imap-settings.o imap-status.o imap-sync.o mail-storage-callbacks.o main.o ../../src/lib-storage/libdo vecot-storage.la ../../src/lib-dovecot/libdovecot.la -export-dynamic -lrt libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-func tion-cast -Wstrict-aliasing=2 -o .libs/imap cmd-append.o cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o cmd-copy.o cmd-create.o cmd- delete.o cmd-enable.o cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o c md-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 cmd-x-cancel.o imap-client.o imap-commands.o imap-commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o imap-search.o imap-search-args.o imap-settings.o imap-status.o imap-sync.o mail-storage-callbacks.o main.o -Wl,--export-dynamic ../../src/lib-storage/.libs/libdovecot-storage.s o /usr/home/wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6/src/lib-dovecot/.libs/libdovecot.so ../../src/lib-dovecot/.libs/libdovecot.so -lrt -Wl,- rpath -Wl,/opt/dovecot2/lib/dovecot ../../src/lib-storage/.libs/libdovecot-storage.so: undefined reference to `dbox_storage' gmake[3]: *** [imap] Error 1 gmake[3]: Leaving directory `/usr/home/wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6/src/imap' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/home/wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6' gmake: *** [all] Error 2 [root@gw] ~wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6# </cut>
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
Damn!!