On Fri, Jan 08, 2010 at 03:51:28PM +0900, TED ITC Agarwal Ashish wrote:
> Hello All
> 
> I am novice for the LTP, just last week i heard something LTP
> and feel curious about it so started searching and installations.
> 
> "./configure " generates Error to me as written below.
> 
> configure: error: Couldn't find functional copy of quota v2 - are you running 
> 2.4.x?

Hi,

I do see the same with an old 2006.0 Gentoo base (actually in a
chroot) ... I worked around it by making it a warning instead of an
error.

IMHO, lacking some features should not prevent building/running LTP.


Index: m4/ltp-quota.m4
===================================================================
RCS file: /cvsroot/ltp/ltp/m4/ltp-quota.m4,v
retrieving revision 1.4
diff -u -p -r1.4 ltp-quota.m4
--- m4/ltp-quota.m4     20 Dec 2009 00:36:35 -0000      1.4
+++ m4/ltp-quota.m4     8 Jan 2010 11:24:14 -0000
@@ -37,7 +37,7 @@ dnl}],[has_24_quotactl="yes"],
 #include <unistd.h>],[
 int main(void) {
        return quotactl(Q_GETINFO, (const char *)NULL, geteuid(), 
(caddr_t)NULL);
-}],[has_quotav2="yes"],[AC_MSG_ERROR([Couldn't find functional copy of quota 
v2 - are you running 2.4.x?])])
+}],[has_quotav2="yes"],[AC_MSG_WARN([Couldn't find functional copy of quota v2 
- are you running 2.4.x?])])
 dnl if test "x$has_24_quotactl" = "xyes"; then
 dnl    AC_DEFINE(HAS_24_QUOTACTL,1,[Define to 1 if you have the 2.4.x version 
of quotactl, e.g. require linux/quota.h instead of sys/quota.h])
 dnl elif test "x$has_new_26_quotactl" = "xyes"; then

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to