PDA

Bekijk Volledige Versie : Perl Module Quota voor cPanel wil niet installeren.



ensermo
16/10/07, 11:35
Beste WHT'ers, Ik probeer voor de module Quota-1.6.0 te handmatig te installeren van
http://search.cpan.org/~tomzo/Quota-1.6.0/Quota.pm

Echter krijg ik dit als foutmelding.

-bash-3.00# perl Makefile.PL
Using hints/linux.h for myconfig.h
Checking if your kit is complete...
Looks good
Writing Makefile for Quota

-bash-3.00# make
cp Quota.pm blib/lib/Quota.pm
AutoSplitting blib/lib/Quota.pm (blib/lib/auto/Quota)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Quota.xs > Quota.xsc && mv Quota.xsc Quota.c
rm -f myconfig.h
ln -s hints/linux.h myconfig.h
cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.6.0\" -DXS_VERSION=\"1.6.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" Quota.c
In file included from Quota.xs:11:
myconfig.h:20:27: rpcsvc/rquota.h: No such file or directory
Quota.xs: In function `getnfsquota':
Quota.xs:134: error: storage size of 'gq_args' isn't known
Quota.xs:135: error: storage size of 'gq_rslt' isn't known
Quota.xs:139: error: `RQUOTAPROG' undeclared (first use in this function)
Quota.xs:139: error: (Each undeclared identifier is reported only once
Quota.xs:139: error: for each function it appears in.)
Quota.xs:139: error: `RQUOTAVERS' undeclared (first use in this function)
Quota.xs:139: error: `RQUOTAPROC_GETQUOTA' undeclared (first use in this function)
Quota.xs:140: error: `xdr_getquota_args' undeclared (first use in this function)
Quota.xs:140: error: `xdr_getquota_rslt' undeclared (first use in this function)
Quota.xs:144: error: `Q_OK' undeclared (first use in this function)
Quota.xs:203: error: `Q_NOQUOTA' undeclared (first use in this function)
Quota.xs:207: error: `Q_EPERM' undeclared (first use in this function)
Quota.xs: At top level:
Quota.xs:221: error: `Q_OK' undeclared here (not in a function)
Quota.xs:221: error: initializer element is not constant
Quota.xs:221: error: (near initialization for `gq_des[0].value')
Quota.xs:221: error: `xdr_rquota' undeclared here (not in a function)
Quota.xs:221: error: initializer element is not constant
Quota.xs:221: error: (near initialization for `gq_des[0].proc')
Quota.xs:221: error: initializer element is not constant
Quota.xs:221: error: (near initialization for `gq_des[0]')
Quota.xs:222: error: initializer element is not constant
Quota.xs:222: error: (near initialization for `gq_des[1]')
Quota.xs: In function `xdr_getquota_args':
Quota.xs:230: error: dereferencing pointer to incomplete type
Quota.xs:231: error: dereferencing pointer to incomplete type
Quota.xs: In function `xdr_getquota_rslt':
Quota.xs:240: error: dereferencing pointer to incomplete type
Quota.xs:240: error: dereferencing pointer to incomplete type
Quota.xs: In function `xdr_rquota':
Quota.xs:249: error: dereferencing pointer to incomplete type
Quota.xs:250: error: dereferencing pointer to incomplete type
Quota.xs:251: error: dereferencing pointer to incomplete type
Quota.xs:252: error: dereferencing pointer to incomplete type
Quota.xs:253: error: dereferencing pointer to incomplete type
Quota.xs:254: error: dereferencing pointer to incomplete type
Quota.xs:255: error: dereferencing pointer to incomplete type
Quota.xs:256: error: dereferencing pointer to incomplete type
Quota.xs:257: error: dereferencing pointer to incomplete type
Quota.xs:258: error: dereferencing pointer to incomplete type
make: *** [Quota.o] Error 1



Dit komt omdat ik in cPanel het volgende kreeg.

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/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.


Enig idee wat ik fout doe?

LeaseWeb
14/11/07, 01:34
myconfig.h:20:27: rpcsvc/rquota.h: No such file or directory

Daar gaat het mis.
Je mist bepaalde dev files.

Debian (en verwanten):
apt-get install libc6-dev

Redhat (en verwanten)
yum install glibc-devel