Quota Module Install Problem [Fedora 10]

geoffk

Registered
Jul 23, 2009
1
0
51
Hi,

I am having a problem installing the cPanel Quota Module through WHM.

Code:
Subject: [checkperlmodules] The perl module Quota could not be installed.

This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

Test Run
==============
Can't locate Quota.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.


Installer Run
==============
commit: wrote '/usr/lib/perl5/5.10.0/CPAN/Config.pm'
CPAN: Storable loaded ok (v2.20)
Going to read /home/.cpan/Metadata
Database was generated on Tue, 07 Jul 2009 07:31:56 GMT
Running install for module 'Quota'
Running make for T/TO/TOMZO/Quota-1.6.3.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for /home/.cpan/sources/authors/id/T/TO/TOMZO/Quota-1.6.3.tar.gz ok
Quota-1.6.3/
Quota-1.6.3/CHANGES
Quota-1.6.3/INSTALL
Quota-1.6.3/MANIFEST
Quota-1.6.3/Makefile.PL
Quota-1.6.3/Quota.pm
Quota-1.6.3/Quota.xs
Quota-1.6.3/README
Quota-1.6.3/hints/
Quota-1.6.3/hints/solaris_2.h
Quota-1.6.3/hints/sunos_4_1.h
Quota-1.6.3/hints/none.h
Quota-1.6.3/hints/linux.h
Quota-1.6.3/hints/irix_6.h
Quota-1.6.3/hints/irix_5.h
Quota-1.6.3/hints/aix_4_1.h
Quota-1.6.3/hints/hpux.h
Quota-1.6.3/hints/dec_osf.h
Quota-1.6.3/hints/bsd.h
Quota-1.6.3/test.pl
Quota-1.6.3/contrib/
Quota-1.6.3/contrib/README
Quota-1.6.3/contrib/report-quota
Quota-1.6.3/contrib/quotamgmt/
Quota-1.6.3/contrib/quotamgmt/Author
Quota-1.6.3/contrib/quotamgmt/config
Quota-1.6.3/contrib/quotamgmt/quotamgmt
Quota-1.6.3/contrib/test-group.pl
Quota-1.6.3/contrib/mount-list.pl
Quota-1.6.3/contrib/mount-list-qcarg.pl
Quota-1.6.3/contrib/quotadm/
Quota-1.6.3/contrib/quotadm/quotadm
Quota-1.6.3/contrib/quotadm/quotawarn.msg
Quota-1.6.3/contrib/quotadm/README
Quota-1.6.3/contrib/aix_jfs2_class/
Quota-1.6.3/contrib/aix_jfs2_class/jfs2class.xs
Quota-1.6.3/contrib/aix_jfs2_class/test_jfs2.pl
Quota-1.6.3/contrib/aix_jfs2_class/jfs2class.pm
Quota-1.6.3/contrib/test-64bit.pl
Quota-1.6.3/include/
Quota-1.6.3/include/rquota.h
Quota-1.6.3/include/afsquota.h
Quota-1.6.3/include/stdio_wrap.h
Quota-1.6.3/include/vxquotactl.h
Quota-1.6.3/include/quotaio_xfs.h
Quota-1.6.3/stdio_wrap.c
Quota-1.6.3/afsquota.c
Quota-1.6.3/vxquotactl.c
Quota-1.6.3/linuxapi.c
Quota-1.6.3/META.yml
CPAN: File::Temp loaded ok (v0.22)
CPAN: YAML loaded ok (v0.68)

CPAN.pm: Going to build T/TO/TOMZO/Quota-1.6.3.tar.gz

Using hints/linux.h for myconfig.h
Checking if your kit is complete...
Looks good
Writing Makefile for Quota
cp Quota.pm blib/lib/Quota.pm
AutoSplitting blib/lib/Quota.pm (blib/lib/auto/Quota)
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap Quota.xs > Quota.xsc && mv Quota.xsc Quota.c
rm -f myconfig.h
ln -s hints/linux.h myconfig.h
gcc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.6.3\" -DXS_VERSION=\"1.6.3\" -fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE" Quota.c
In file included from Quota.xs:11:
myconfig.h:20:27: error: rpcsvc/rquota.h: No such file or directory
Quota.xs: In function 'getnfsquota':
Quota.xs:144: error: storage size of 'gq_args' isn't known
Quota.xs:145: error: storage size of 'gq_rslt' isn't known
Quota.xs:168: error: 'RQUOTAPROG' undeclared (first use in this function)
Quota.xs:168: error: (Each undeclared identifier is reported only once
Quota.xs:168: error: for each function it appears in.)
Quota.xs:168: error: 'RQUOTAVERS' undeclared (first use in this function)
Quota.xs:168: error: 'RQUOTAPROC_GETQUOTA' undeclared (first use in this function)
Quota.xs:169: error: 'xdr_getquota_args' undeclared (first use in this function)
Quota.xs:170: error: 'xdr_getquota_rslt' undeclared (first use in this function)
Quota.xs:176: error: 'Q_OK' undeclared (first use in this function)
Quota.xs:235: error: 'Q_NOQUOTA' undeclared (first use in this function)
Quota.xs:239: error: 'Q_EPERM' undeclared (first use in this function)
Quota.xs:145: warning: unused variable 'gq_rslt'
Quota.xs:144: warning: unused variable 'gq_args'
Quota.xs: At top level:
Quota.xs:253: error: 'Q_OK' undeclared here (not in a function)
Quota.xs:253: error: 'xdr_rquota' undeclared here (not in a function)
Quota.xs: In function 'xdr_getquota_args':
Quota.xs:262: error: dereferencing pointer to incomplete type
Quota.xs:263: error: dereferencing pointer to incomplete type
Quota.xs: In function 'xdr_getquota_rslt':
Quota.xs:272: error: dereferencing pointer to incomplete type
Quota.xs:272: error: dereferencing pointer to incomplete type
Quota.xs: In function 'xdr_rquota':
Quota.xs:281: error: dereferencing pointer to incomplete type
Quota.xs:282: error: dereferencing pointer to incomplete type
Quota.xs:283: error: dereferencing pointer to incomplete type
Quota.xs:284: error: dereferencing pointer to incomplete type
Quota.xs:285: error: dereferencing pointer to incomplete type
Quota.xs:286: error: dereferencing pointer to incomplete type
Quota.xs:287: error: dereferencing pointer to incomplete type
Quota.xs:288: error: dereferencing pointer to incomplete type
Quota.xs:289: error: dereferencing pointer to incomplete type
Quota.xs:290: error: dereferencing pointer to incomplete type
Quota.xs: In function 'XS_Quota_query':
Quota.xs:337: warning: implicit declaration of function 'quotactl'
make: *** [Quota.o] Error 1
TOMZO/Quota-1.6.3.tar.gz
/usr/bin/make -- NOT OK

Running make install
Make had returned bad status, install seems impossible
perlmod--Install done
If anyone has any advice it would be greatly appreciated.

Thanks.
 

logicsupport

Well-Known Member
Jun 5, 2007
138
0
166
Hi,

Try

/usr/local/cpanel/bin/checkperlmodules
/scripts/ensurerpm quota
/scripts/upcp --force