Greetings -
On 7 Aug 2007, at 14:36, Nicolas STRANSKY wrote:
In fact the patch applies well, dovecot compiles well, but rquota is still not functionnal. I have this in config.log: HAVE_RQUOTA_FALSE='#' HAVE_RQUOTA_TRUE='' #define HAVE_RQUOTA
But there is no RPC string in quota-fs.o. Where am I wrong ?
Try a different check: search through your config.h for RQUOTA. If
all is well you should have
#define HAVE_RQUOTA
in there. If it's not then the rquota code isn't going to get
included. (Well, that's based on my empirical observations here.)
If it's not there then try the sequence below...
This is what I did to get the build to include the rquota code:
- Apply the patches.
- cd to the top level of the distribution directory tree (above "src")
- Run: autoconf
- Run: autoheader
- Run: automake
- Run: configure
- Compile
I think the following is right (forgive me if there's anything wrong)...
autoconf does various tests to see if it is possible to use the
rquota code (eg, required configuration files and the rpcgen command
are all available); it builds the "configure" script from "configure.in"
autoheader uses "configure.in" to build "config.h.in"
automake builds the various Makefile.in files from the corresponding
Makefile.am files.
configure then builds "config.h" from "config.h.in", and the various
Makefile files from the Makefile.in files
Then you are ready to compile.
When I first tried using the patches I simply did autoconf then
automake and found, like you, that the rquota code wasn't included in
the compilation. However adding the autoheader step fixed this.
Cheers, Mike B-)
-- The Computing Service, University of York, Heslington, York Yo10 5DD, UK Tel:+44-1904-433811 FAX:+44-1904-433740
- Unsolicited commercial e-mail is NOT welcome at this e-mail address. *