Hi, I'm running into issues compiling the authvchkpw portion of courier-imap. I'm posting here per the pre-make notice.

This is on an older redhat box with vpopmail already installed and working properly.

I'm using courier-imap-3.0.5.20040618, but get a similar error when using courier-imap-3.0.5 release. Any suggestions or patches are appreciated.

As an aside, we're using vchkpw+SQL authention - but my attempts to get the authmysql module to understand the vpopmail/vchkpw password format went nowhere. I'd be content with either method: vchkpw or authmysql -> mysql (reading from the vpopmail auth table).

Thank you.

* Configure line:
LDFLAGS=-L/mail/lib CPPFLAGS=-I/mail/include ./configure --with-mysql=/opt/mysql --prefix=/opt/courier-imap --with-redhat --disable-root-check


* vpopmail installed in /mail

* gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
* GNU libtool 1.3.4 (1.385.2.196 1999/12/07 21:47:57)
* automake (GNU automake) 1.4
* Autoconf version 2.13
* glibc 2.1.3

During make:

[./authlib]# make
make all-am
make[1]: Entering directory `/opt/src/courier-imap-3.0.5.20040618/authlib'
source='authvchkpw.c' object='authvchkpw.o' libtool=no \
depfile='.deps/authvchkpw.Po' tmpdepfile='.deps/authvchkpw.TPo' \
depmode=gcc /bin/sh ./../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/mail/include -I/mail/include -O2 -march=i686 -Wall -I.. -I./.. -c `test -f 'authvchkpw.c' || echo './'`authvchkpw.c
authvchkpw.c: In function `callback_vchkpw':
authvchkpw.c:49: warning: value computed is not used
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards `const' from pointer target type
authvchkpw.c:190: warning: assignment from incompatible pointer type
authvchkpw.c:200: dereferencing pointer to incomplete type
authvchkpw.c:200: dereferencing pointer to incomplete type
authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards `const' from pointer target type
make[1]: *** [authvchkpw.o] Error 1
make[1]: Leaving directory `/opt/src/courier-imap-3.0.5.20040618/authlib'
make: *** [all] Error 2

Reply via email to