Skip Menu |

This queue is for tickets about the Quota CPAN distribution.

Report information
The Basics
Id: 71154
Status: rejected
Priority: 0/
Queue: Quota

People
Owner: Nobody in particular
Requestors: ron [...] 4bright.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Quota install on RHEL6.1
Date: Thu, 22 Sep 2011 06:41:08 -0700
To: bug-Quota [...] rt.cpan.org
From: Ron Earwood <ron [...] 4bright.com>
Dear Sirs: I'm attempting to install the Quota-1.6.6.tar.gz distribution on a "Red Hat Enterprise Linux Server release 6.1 (Santiago)" as shown by 'cat /etc/redhat/release'. The kernel version is "2.6.32-131.0.15.el6.x86_64" as shown by 'uname -ar'. The distributed Perl version is "v5.10.1 built for x86_64-linux-thread-multi" as shown by 'perl -v'. [root@g3-11381-procyon-1 Quota-1.6.6]# *perl Makefile.PL* Using hints/linux.h for myconfig.h Checking if your kit is complete... Looks good Writing Makefile for Quota [root@g3-11381-procyon-1 Quota-1.6.6]# *make* cp Quota.pm blib/lib/Quota.pm AutoSplitting blib/lib/Quota.pm (blib/lib/auto/Quota) /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/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 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.6.6\" -DXS_VERSION=\"1.6.6\" -fPIC "-I/usr/lib64/perl5/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:242: error: 'Q_NOQUOTA' undeclared (first use in this function) Quota.xs:246: 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:260: error: 'Q_OK' undeclared here (not in a function) Quota.xs:260: error: 'xdr_rquota' undeclared here (not in a function) Quota.xs: In function 'xdr_getquota_args': Quota.xs:269: error: dereferencing pointer to incomplete type Quota.xs:270: error: dereferencing pointer to incomplete type Quota.xs: In function 'xdr_getquota_rslt': Quota.xs:279: error: dereferencing pointer to incomplete type Quota.xs:279: error: dereferencing pointer to incomplete type Quota.xs: In function 'xdr_rquota': 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:291: error: dereferencing pointer to incomplete type Quota.xs:292: error: dereferencing pointer to incomplete type Quota.xs:293: error: dereferencing pointer to incomplete type Quota.xs:294: error: dereferencing pointer to incomplete type Quota.xs:295: error: dereferencing pointer to incomplete type Quota.xs:296: error: dereferencing pointer to incomplete type Quota.xs:297: error: dereferencing pointer to incomplete type Quota.xs: In function 'XS_Quota_query': Quota.xs:344: warning: implicit declaration of function 'quotactl' make: *** [Quota.o] Error 1 I have noticed that there aren't any RPM binaries available for 'el6' as there are from the myriad of such providers so I suspect that I'm not the only one facing this. Please advise a possible solution. Best regards, Ron Earwood Director/Senior Systems Designer Bright Technologies, Inc.
The first error message you quote indicates that system header file "/usr/include/rpcsvc/rquota.h" is missing on your system. This header is normally part of the standard C library, or possibly an extended development version thereof. On Debian you'd simply enter "apt-get install libc6-dev". All the other errors are just a consequence of the missing header file. If the above doesn't help, please try to help yourself via google or similar. This issue isn't really related to the Quota module, as this system header file is an external prerequisite. (However, if everything else fails, you could fall back to the copy of rquota.h in the include/ sub-directory within the Quota distribution. You'd just have to replace <rpcsvc/rquota.h> with "include/rquota.h" in hints/linux.h. I don't recommend to do this except as a last resort.) -tom