Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello friends,
i am trying to configure qmail server with pop3s and cyrus-imapd...
i have successfully configured qmail+pop3d.. now i want to configure imap service for my mail server..
for that i choose cyrus-imapd and download the source but when i compile the source code i got some error about db 3.* higher error which shown below...
root@debian:/usr/local/src/cyrus-imapd-2.4.17# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for makedepend... /usr/local/src/cyrus-imapd-2.4.17/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 whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
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 size of int... 4
checking size of long... 4
checking size of size_t... 4
checking size of off_t... 4
checking size of long long int... 8
checking size of unsigned long long int... 8
checking whether byte ordering is bigendian... no
checking for __attribute__... yes
checking if compiler supports -fPIC... yes
checking for runpath switch... -Wl,-rpath,
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 getgrouplist... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdlib.h... (cached) yes
checking for getpassphrase... no
checking for connect... yes
checking for res_search... no
checking for dn_expand... no
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 db.h usability... no
checking db.h presence... no
checking for db.h... no
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.
root@debian:/usr/local/src/cyrus-imapd-2.4.17#
i download db as well but i dnt know how compile this if there is any other way to install the cyrus-imapd please share with me.....
thanks in advance
You need to install db4 and db4 development packages, so use your distro's package manager to install them
If you're running Centos (as first listed in your profile) use:
Code:
yum install db4 db4-devel
Note that for ubuntu the same packages are named libdb4.x and libdb4.x-dev (where x is the minor db4 version number)
ok i want to configure cyrus-imapd service on my server debian 6.0 when i am going to install cyrus-imapd-2.4.17 i got the error: -
error: Berkeley DB 3.x or later was not found.
so if i run the command
#apt-get install db4.8-util
i have solved this dependency install by db-3.0.55.tar version with this commands : -
#cd db-3.0.55
#../dist/configure --with-mutex="x86/gcc-assembly" --prefix=/usr/local --with-uniquename
#make
#make install
thanks for your cooperation dear bathory thanks a lot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.