Cyrus-imapd-2.2.9 . Configuration problems with Berkeley DB
Albert Vila
bert29 at casal.upc.edu
Fri Oct 21 13:22:27 EDT 2005
Hello to all!
I've spent too much hours with this problem, and I still don't know exactcly
the reason why it doesn't work.
I try to install a mail system with Postfix and Cyrus on a Debian ,
following the next howto:
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/ (as I see,
many other people had used it, and it seems quite simple and complete). I
prefer to follow the howto, compiling much of the sources, instead of using
"apt-get", really easier, because I should like to understand what happens
exactly into the system, in order to maintain it better.
According to the manual, the needed steps are the following:
1) I've installed BerkeleyDB (both 4.3.29 and 4.1.25 versions, as
somebody suggested here:
http://www.web-cyradm.org/pipermail/web-cyradm/2005-June/018726.html)
2) I've installed OpenSSL (version 0.9.8a) also (it seems there is no
problem with this package)
3) I've installed Cyrus-SASL (version 2.1.21), and, after fixing some
errors, it seems it's all ok too
4) And the next step is trying to install Cyrus-imapd-2.2.9.
I try to configure it with the command:
"./configure --with-sasl=/usr/local/lib --with-perl --with-auth=unix
--with-dbdir=/usr/local/berk41 --with-bdb-libdir=/usr/local/berk41/lib
--with-bdb-libinc=/usr/local/berk41/include --with-openssl=/usr/local/ssl
--without-ucdsnmp"
"/usr/local/berk41" is the path for the Berkeley4.1.25 installation. The
same somedody than before suggested also that Cyrus doesn't work properly
with the newest versions of BerkeleyDB, so I decided to use this version for
my purposes.
And I get this error:
mymachine:/usr/instalables_mail/cyrus-imapd-2.2.9# ./configure
--with-sasl=/usr/local/lib --with-perl --with-auth=unix
--with-dbdir=/usr/local/berk41 --with-bdb-libdir=/usr/local/berk41/lib
--with-bdb-libinc=/usr/local/berk41/include --with-openssl=/usr/local/ssl
--without-ucdsnmp
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for makedepend...
/usr/instalables_mail/cyrus-imapd-2.2.9/tools/not-mkdep
configure: WARNING: Makedepend is not installed on this system. You should
compile and install the version from the makedepend subdirectory.
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for gawk... no
checking for mawk... mawk
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for inline... inline
checking for __attribute__... no
checking if compiler supports -fPIC... no
checking for runpath switch... -Wl,-rpath,
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for connect... yes
checking for res_search... no
checking for res_search in -lresolv... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for vprintf... yes
checking for _doprnt... no
checking authorization method... unix
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
configure: error: Berkeley DB 3.x or later was not found. You may need to
supply the --with-bdb-libdir or --with-bdb-incdir configure options.
I really don't know what happens. I've checked db.h and all seems ok. and in
both paths (libdir and incdir) there are the correct files that it is
supposed the configure command are looking for.
If anybody have an idea for this problem, please tell me.
Thank you very much in advance!
Best regards,
Albert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20051021/71a1c02f/attachment.html
More information about the Info-cyrus
mailing list