Laurent PELLISSIER
2007-Nov-16 10:48 UTC
[Dovecot] RHEL 5.1 Can't compile with --with-linux-quota
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
Joseba Torre
2007-Nov-16 11:49 UTC
[Dovecot] RHEL 5.1 Can't compile with --with-linux-quota
I don't use this right now, but I used to configure with ./configure --with-linux-quota=2 Have you tried this? Aaaaaaaaaagur. El Friday 16 November 2007 11:48:36 Laurent PELLISSIER escribi?:> 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,-- Joseba Torre. CIDIR Bizkaia. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20071116/96f9e570/attachment-0002.bin>
Laurent PELLISSIER
2007-Nov-16 13:15 UTC
[Dovecot] RHEL 5.1 Can't compile with --with-linux-quota
Joseba Torre a ?crit :> I don't use this right now, but I used to configure with > > ./configure --with-linux-quota=2 > > Have you tried this?Works fine. Many thanks. Ikus arte. -- Laurent PELLISSIER @ Ecole des Mines d'Al?s