Hi, I was running the Ubuntu dovecot package until now, and decided to upgrade because of an issue with Thunderbird. I downloaded and compiled 1.0.8, and it's not starting up. The error I'm getting is: Dec 2 15:35:04 jfootoo dovecot: auth(default): Unknown passdb driver 'pam' (typo, or Dovecot was built without support for it? Check with dovecot --build-options) D I used "./configure" and "./configure --with-pam", both give the same error message. dovecot --build-options gives: uild options: ioloop=poll notify=dnotify ipv6 openssl SQL drivers: Passdb: checkpassword passwd passwd-file shadow Userdb: checkpassword passwd prefetch passwd-file static I have a dovecot that I compiled for a different system and it includes "pam" in the Passdb line. I found a page on the web saying I might need the pam-devel package, but that doesn't seem to exist for ubuntu. I saved the output from ./configure, grepped for pam, and got: checking for pam_start in -lpam... no Any ideas? What do I need to get configure to do pam support? Thanks very much j
Karsten Bräckelmann
2007-Dec-03 01:14 UTC
[Dovecot] 1.0.8 install trouble on Ubuntu dapper (PAM)
> I found a page on the web saying I might need the pam-devel package, > but that doesn't seem to exist for ubuntu. > > I saved the output from ./configure, grepped for pam, and got: > checking for pam_start in -lpam... noYup, that needs to be "yes".> Any ideas? What do I need to get configure to do pam support?The pam devel package. :-) In the debian based world, the equivalent of *-devel packages are named *-dev. So yes, basically you need exactly what you read about. Just with a slightly adjusted package name. (The exact package name varies on distro. Hence, in the RPM world usually the suffix devel is used. However, added lib prefixes and version numbers do differ frequently.) A quick google search for "ubuntu dapper pam dev" seems to suggest, the package you want is... *drumroll* libpam0g-dev - Development files for PAM Have fun... guenther -- char *t="\10pse\0r\0dtu\0. at ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}