6 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] compile sqwebmail jus...
FromSent OnAttachments
Rakotomandimby (R12y) MihaminaJun 21, 2005 2:59 am 
Brian CandlerJun 22, 2005 1:35 am 
Rakotomandimby (R12y) MihaminaJun 22, 2005 1:47 am 
Sam VarshavchikJun 22, 2005 5:18 am 
Rakotomandimby (R12y) MihaminaJun 24, 2005 12:36 am 
Sam VarshavchikJun 24, 2005 6:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] compile sqwebmail just for vpomailActions...
From:Brian Candler (B.Ca@pobox.com)
Date:Jun 22, 2005 1:35:02 am
List:net.sourceforge.lists.courier-sqwebmail

On Tue, Jun 21, 2005 at 12:00:17PM +0200, Rakotomandimby (R12y) Mihamina wrote:

I try to compile sqwebmail to use it only with a vpopmail/qmail system. The vpopmail mailing list has adviced me sqwebmail, that's why I decided to use it. The vpomail installation does not use MySQL authentification BD, it only use its internal stuff.

When I configure sqwebmail-5.0.2.20050618.tar.bz2 with these options:

--without-authpam --without-authuserdb --enable-webpass=no --without-authpwd --without-authshadow --with-authvchkpw --without-authdaemon --without-authldap

I get this error:

Please tell us where you found the instructions saying that you should give those options to sqwebmail - because they are wrong.

I'm serious. A lot of noise on this mailing list is caused by people following out-of-date 'howtos' which have not been updated in years, and I think it's about time we started stamping on them. Please post the URL here, and we can contact the website author to tell them that the page should either be updated or removed.

The known good instructions, written by the program's author, are in a file called "INSTALL" inside the source tarball.

checking for courierauthconfig... no configure: WARNING: === Courier authentication library not found. configure: WARNING: === You need to download and install configure: WARNING: === http://www.courier-mta.org/download.php#authlib first. configure: WARNING: === If courier-authlib is installed in a non-default configure: WARNING: === directory, set the COURIERAUTHCONFIG environment configure: WARNING: === variable to the full path to the courierauthconfig configure: WARNING: === binary and rerun this configure script.

Indeed. That's a very clear error message, I think you'll agree.

Well.... the main problem is that when I try to install courierauthconfig, I get this, at ./configure :

checking for passwd... /usr/bin/passwd checking whether -lm is needed for floor... yes checking for socket in -lsocket... no checking for socket in -lsocket... (cached) no checking for connect in -lsocket... no checking for connect in -lsocket... (cached) no checking for gdbm_open in -lgdbm... no checking for gdbm_open... no checking for dbopen in -ldb... no checking for db_open in -ldb... no checking for db_env_create in -ldb... no checking for dbopen... no checking for db_open... no checking for db_env_create... no configure: error: Cannot find either the gdbm or the db library.

But on my Debian box, all DBs are installed:

root-mail>>>>dpkg -l | grep db ii db4.2-util 4.2.52-18 Berkeley v4.2 Database Utilities ii libconsole 0.2.3dbs-56 Shared libraries for Linux console and font ii libdb1-compat 2.1.3-7 The Berkeley database routines [glibc 2.0/2. ii libdb2 2.7.7.0-9 The Berkeley database routines (run-time fil ii libdb3 3.2.9-22 Berkeley v3 Database Libraries [runtime] ii libdb3-util 3.2.9-22 Berkeley v3 Database Utilities ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [runtime] ii libdbd-mysql-p 2.9006-1 A Perl5 database interface to the MySQL data ii libdbi-perl 1.46-6 Perl5 database interface by Tim Bunce ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime version) ii libgdbmg1 1.7.3-28 GNU dbm database routines (runtime version)

What did I miss? A -dev package? which one?

A -devel package for whichever version of Berkeley DB or gdbm you wish courier-authlib to use. If there's a package called libdb4.2-devel, say, then install that. (I'm not a Debian user so I can't tell you exactly what the packages are called).

Regards,

Brian.