Is there anyone who actually compiled courier-imap using vpopmail
authentication ?



-----Original Message-----
From: Michiels Tom 
Sent: donderdag, augustus 26, 2004 17:13
Subject: problem with compiling courier-imap with vchkpw


When i try to compile courier-imap, it stops at the error below. I use
the following configure parameters : ./configure --prefix=/usr/local
--exec-prefix=/usr/local --with-authvchkpw --without-authldap
--disable-root-check --with-ssl

this is on a Debian testing machine.

Compiling modauthcustom.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authcustom  modauthcustom.o libauthmod.a libauth.a
../numlib/libnumlib.a ../libhmac/libhmac.a ../md5/libmd5.a
../sha1/libsha1.a -lcrypt
Compiling modauthcram.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authcram  modauthcram.o libauthmod.a libauth.a
../numlib/libnumlib.a ../libhmac/libhmac.a ../userdb/libuserdb.a
../gdbmobj/libgdbmobj.a ../md5/libmd5.a ../sha1/libsha1.a -lgdbm
Compiling modauthuserdb.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authuserdb  modauthuserdb.o libauthmod.a libauth.a
../numlib/libnumlib.a ../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a
../libhmac/libhmac.a -lgdbm  ../md5/libmd5.a ../sha1/libsha1.a -lcrypt
Compiling modauthvchkpw.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/vpopmail/lib
-lvpopmail -L/usr/lib/  -lmysqlclient -lz -lm -lcrypt  -lm -lcrypt
libauth.a(authvchkpw.o)(.text+0x248): In function `auth_vchkpw':
: undefined reference to `open_smtp_relay'
collect2: ld returned 1 exit status
make[2]: *** [authvchkpw] Error 1
make[2]: Leaving directory
make[1]: *** [all] Error 2
make[1]: Leaving directory
make: *** [all-recursive] Error 1

Can someone help me ?

thx in advance !


Tom Michiels

Reply via email to