Problem is the fact that the latest versions of vpopmail set the
~vpopmail/lib directory as 0711.  Change the perms of the directory to
0755 and also the libvpopmail.a file to 0644.  _ONLY_ keep this done for
as long as you're compiling courier imap.  Once you're done, revert the
old perms.  

This was done as a security fix so that only root would have access to
the vpopmail libs (and the compiled in DB passwords contained within),
but since you have to compile with a non-root user, you need to fix the
permissions temporarilly.

I've talked to Ken and this seems to be the best way at the moment...but
that might change.

Regards,

Tren.

PS.  Please don't send HTML email to the list...for those of us without
a gui mail client, or an older mail client that doesn't handle HTML, it
makes it difficult to read.

-----Original Message-----
From: lao nightwolf [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 07, 2001 5:46 AM
To: [EMAIL PROTECTED]
Subject: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3


Hello,

I've been trying to compile the latest courier-imap 1.3.10 with vpopmail
5.0pre3 but while compiling I get following error:

./configure command:

courier-imap:
            --without-ipv6 \
            --without-authdaemon \
            --enable-workarounds-for-imap-client-bugs \
            --without-authcustom \
            --without-authcram \
            --without-authuserdb \
            --without-authpam \
            --without-authshadow \
            --without-authpwd \
            --without-authldap \
            --with-authmysql \

configure goes fine, but when doing make I have following error

error:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/include/mysql
-I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.c
gcc  -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I..
-I./..  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail
-L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib'
make: *** [all-recursive] Error 1


I also had the same error when using vpopmail 4.9.10, when using just
"./configure --with-authmysql"
When adding --without-authvchkpw it compiles without any problems but
then I ofcourse can't authenticate.

Can someone give me help here?

Thanks in advance!

Cheers,
lao

lao nightwolf -ansi/ascii/vga drawer/demo coder/txt



Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com

Reply via email to