[Dovecot] --with-vpopmail compile errors

Oliver Schulze L. oliver at samera.com.py
Thu Mar 22 18:23:04 EET 2007


Hi,
I'm building dovecot.src.rpm with vpopmail support and I get this error:

if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/lib 
-I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm 
-DAUTH_MODULE_DIR=\""/usr/lib/dovecot/auth"\" 
-DPKG_LIBEXECDIR=\""/usr/libexec/dovecot"\" -I/home/vpopmail/include 
-std=gnu99 -O2 -g -march=i686 -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -I/usr/kerberos/include     -std=gnu99 -O2 -g 
-march=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations 
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast 
-I/usr/kerberos/include    -MT userdb-vpopmail.o -MD -MP -MF 
".deps/userdb-vpopmail.Tpo" -c -o userdb-vpopmail.o userdb-vpopmail.c; \
then mv -f ".deps/userdb-vpopmail.Tpo" ".deps/userdb-vpopmail.Po"; else 
rm -f ".deps/userdb-vpopmail.Tpo"; exit 1; fi
userdb-vpopmail.c: In function `vpopmail_lookup_vqp':
userdb-vpopmail.c:30: error: `auth_request' undeclared (first use in 
this function)
userdb-vpopmail.c:30: error: (Each undeclared identifier is reported 
only once
userdb-vpopmail.c:30: error: for each function it appears in.)
make[3]: *** [userdb-vpopmail.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.rc27/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.rc27/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.rc27'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.73126 (%build)


I'm using:
- vpopmail from:
  
http://www.qmailtoaster.com/download/stable/vpopmail-toaster-5.4.13-1.3.3.src.rpm
- centos 4.4
- dovecot rpm from:
  http://dl.atrpms.net/all/dovecot-1.0-3_50.rc27.at.src.rpm
- rpmbuild command:
  rpmbuild --rebuild --without inotify --with pam_stack --with 
forcequota2 --with vpopmail --target=i686 dovecot-1.0-3_50.rc27.at.src.rpm


Also, I don't if vpopmail support is official, in that case, this info 
should go to the
devel version of dovecot

HTH
Oliver

-- 
Oliver Schulze L.   | Get my e-mail after a captcha in:
Asuncion - Paraguay | http://tinymailto.com/oliver 



More information about the dovecot mailing list