[Dovecot] RHEL 5.1 Can't compile with --with-linux-quota

Laurent PELLISSIER Laurent.Pellissier at ema.fr
Fri Nov 16 12:48:36 EET 2007


Hi,

On a freshly installed RedHat RHEL 5.1 x86 with 
quota-3.13-1.2.3.2.el5.rpm I can't compile neither dovecot 1.0.7 nor 
1.1beta8 :

$ ./configure --with-linux-quota && make
[...]
  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib 
-I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail 
-I../../../src/lib-storage -I../../../src/lib-storage/index 
-I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 
-I/usr/kerberos/include -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo 
-c quota-fs.c  -fPIC -DPIC -o .libs/quota-fs.o
quota-fs.c: In function 'fs_quota_get_linux':
quota-fs.c:442: error: 'yes' undeclared (first use in this function)
quota-fs.c:442: error: (Each undeclared identifier is reported only once
quota-fs.c:442: error: for each function it appears in.)
make[4]: *** [quota-fs.lo] Error 1
make[4]: leaving directory « 
/home/kermit/dovecot-1.1.beta8/src/plugins/quota »


$ make distclean && ./configure --without-linux-quota && make
   -> same error
$ make distclean && ./configure --disable-linux-quota && make
   -> compile fine

Best regards,

-- 
Laurent PELLISSIER @ Ecole des Mines d'Alès


More information about the dovecot mailing list