Usually all you have to do is:
perl Makefile.PL
make
make test
make install
make clean
If this fails, regard the following instructions step by step. Note that this module does not support installation by the CPAN(++) module.
-> Support for Solaris VxFS should be added automatically if the module
is installed. If not, #define or #undef SOLARIS_VXFS in myconfig.h
-> If you want support for AFS, you need the OpenAFS package
(tested with OpenAFS on (SuSE) Linux, HP-UX10, Solaris 2.6, 2.8, AIX 4.3
and IRIX 6.5).
The Makefile.PL tries to detect automatically if AFS is preset on a
system. If that fails, edit the Makefile.PL to always define $hasafs
(and drop me a mail).
Edit Makefile.PL to maybe add/delete some libraries. Usually you'll need only librpcsvc for the quota RPC mechanism. If you don't have this library or it lacks the quota routines, #define MY_XDR in myconfig.h to include the routines provided with this module. If you don't have /usr/include/rpcsvc/rquota.h, include "include/rquota.h" instead. If you don't need RPC at all, just define NO_RPC.
If the Quota module does not find quotas for any users anymore, the reason may be you've not set up the new aquota.user/group files yet. Remember: after creating these files with quotackeck(8) or convertquota(8) you have to execute quotaon(8) another time. You'll not see this requirement with quota(1) because that program reads the quota files directly if the kernel query fails; the module however only goes through the kernel. If in doubt, do an strace(1) on the quota(1) call. Normally you should see no access to the aquota files in the trace. Alternatively, make the quota files readable for root only (recommended anyway) and try quota -v again under a non-root login. If this fails, the kernel has not enabled quota support.
You may need to su root before this step.
The contrib directory contains some usage examples, donated by users. No guarantee from me that they do anything useful or don't format your hard drive.
Please mail me any changes in the hints files or Makefile.PL you had to apply to get the package to compile. Please remember to include in your mail the name of used OS and version numbers of OS (uname -rs) and module.
email: tomzo AT nefkom DOT net