LTP installation configure Error
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?
--
i searched over net about quota but i were not lucky this time. :(
I am writing down my environment conditions:
System : Fedora 3 (kernel 2.6.9-1.667)
Updated the make, bison/yacc, flex, automake, autoconfig, m4 etc as written over INSTALL. (LTP 20091231)
Process i followed till is (./configure -> make -> make install) for the list written above as requirement (make 3.81+ etc)
Then i tried to
[root LTP-full-20091231] # ./configure
It lands into Error as above "configure: error: Couldn't find functional copy of quota v2 - are you running 2.4.x?"
The quota version i am using is
"
$ rpm -q quota quota-3.12-5 " Is there is any such limitation like we cannot install LTP over some machine or lower then that kernel version etc. please guide me.
What i want to do is learn LTP and want to check an Embedded Linux (customized for ARM processor) kernel 2.6.19.2.
--
Agarwal Ashish
アガルワル アシッシュ
------------------------------------------------------------------------------
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
Quoted 8 lines · TED ITC Agarwal Ashish
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
ltp-quota.m4 +1 -1
@@ -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
Signature · 15 lines
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
Hello Nicholas,
Thanks a lot Dear,
Yes it seems to me too pretty good to tackle this as Warning not the Error condition. but after that too it didn't work the system Fedora Core 3(i checked quickly, not debug at my level). but i didn't go well, it is as as before.
Also tried after "$make clean" & "$./configure".
Because in the mean while i updated my Fedora3 to Fedora5 (kernel 2.6.15-1.2054-FC5).
For this new configuration i were able to complete the "$./configure" & "$make all" part. but when i tried to "make install" i had an another compiler error as below:
"""""
internal compiler error: in merge_alias_info, at tree-ssa-copy.c:235 Please submit a full bug report,
"""""
So i hang around gOOgliNg and found that it is a GCC compiler problem.
The compiler over FC5 were 4.1.0.
I thought it were again challenging to update the compiler so for the very first time i just updated this to Fc7 system, where i had GCC 4.1.2. The flow went great and i were able to do the test primarily.
============================
FYI: the LTP-Full-20091231 installs the LTP over /opt/LTP location. Don't try to run it over the directory we make install this.
* (i had 15 minutes fight for this conclusion,
because there were no msg of it over installations time)
============================
????????????????????????????????????????
Now 2 more question added to this queue is: The requirement specification of LTP.
Q2. Gcc -> ? (which version)
Kernel -> ?
Q3. I will search further now on, but i want to ask is the same LTP is valid for the other CPU's as well. My AIM to check for the i.MX17 device (ARM Core) Embedded Linux. (kernel 2.6.19.2-xx)
????????????????????????????????????????
--
Ashish Agarwal
'? =?'
When others working for an Impossible task, It is better to be quite though. Let the others proceed ...... !!
Nicolas Joly ????????:
Quoted 28 lines · TED ITC Agarwal Ashish
Quoted 8 lines
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
ltp-quota.m4 dnl}],[has_24_quotactl="yes"], · line 43
Quoted 8 lines
ltp-quota.m4 +1
-1@@ -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
------------------------------------------------------------------------------
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
Garrett,
Quoted 72 lines · TED ITC Agarwal Ashish
Hello Nicholas,
Cc AllThanks a lot Dear,
Yes it seems to me too pretty good to tackle this as Warning not the Error condition. but after that too it didn't work the system Fedora Core 3(i checked quickly, not debug at my level). but i didn't go well, it is as as before.
Also tried after "$make clean" & "$./configure".Because in the mean while i updated my Fedora3 to Fedora5 (kernel 2.6.15-1.2054-FC5).
For this new configuration i were able to complete the "$./configure" & "$make all" part. but when i tried to "make install" i had an another compiler error as below:
"""""
internal compiler error: inmerge_alias_info, at tree-ssa-copy.c:235 Please submit a full bug report,
"""""So i hang around gOOgliNg and found that it is a GCC compiler problem.
The compiler over FC5 were 4.1.0.
I thought it were again challenging to update the compiler so for the very first time i just updated this to Fc7 system, where i had GCC 4.1.2. The flow went great and i were able to do the test primarily.============================
FYI: the LTP-Full-20091231 installs the LTP over/opt/LTPlocation. Don't try to run it over the directory we make install this.
* (i had 15 minutes fight for this conclusion,
because there were no msg of it over installations time)
============================????????????????????????????????????????
Now 2 more question added to this queue is: The requirement specification of LTP.
Q2. Gcc -> ? (which version)
Kernel -> ?Q3. I will search further now on, but i want to ask is the same LTP is valid for the other CPU's as well. My AIM to check for the i.MX17 device (ARM Core) Embedded Linux. (kernel 2.6.19.2-xx)
????????????????????????????????????????
--
Ashish Agarwal
'? =?'
When others working for an Impossible task, It is better to be quite though. Let the others proceed ...... !!Nicolas Joly ????????:
Quoted 19 lines · TED ITC Agarwal Ashish
Quoted 8 lines
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.
Quoted 16 lines
Quoted 8 lines
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.m4ltp-quota.m4 dnl}],[has_24_quotactl="yes"], · line 43
Quoted 8 lines
ltp-quota.m4 +1
-1@@ -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
Please see this patch and kindly make changes accordingly.
Regards--
Subrata
Quoted 12 lines
Quoted 1 line
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
Quoted 85 lines · Subrata Modak
Garrett,
Quoted 82 lines · TED ITC Agarwal Ashish
Hello Nicholas,
Cc AllThanks a lot Dear,
Yes it seems to me too pretty good to tackle this as Warning not the Error condition. but after that too it didn't work the system Fedora Core 3(i checked quickly, not debug at my level). but i didn't go well, it is as as before.
Also tried after "$make clean" & "$./configure".Because in the mean while i updated my Fedora3 to Fedora5 (kernel 2.6.15-1.2054-FC5).
For this new configuration i were able to complete the "$./configure" & "$make all" part. but when i tried to "make install" i had an another compiler error as below:
"""""
internal compiler error: inmerge_alias_info, at tree-ssa-copy.c:235 Please submit a full bug report,
"""""So i hang around gOOgliNg and found that it is a GCC compiler problem.
The compiler over FC5 were 4.1.0.
I thought it were again challenging to update the compiler so for the very first time i just updated this to Fc7 system, where i had GCC 4.1.2. The flow went great and i were able to do the test primarily.============================
FYI: the LTP-Full-20091231 installs the LTP over/opt/LTPlocation. Don't try to run it over the directory we make install this.
* (i had 15 minutes fight for this conclusion,
because there were no msg of it over installations time)
============================????????????????????????????????????????
Now 2 more question added to this queue is: The requirement specification of LTP.
Q2. Gcc -> ? (which version)
Kernel -> ?Q3. I will search further now on, but i want to ask is the same LTP is valid for the other CPU's as well. My AIM to check for the i.MX17 device (ARM Core) Embedded Linux. (kernel 2.6.19.2-xx)
????????????????????????????????????????
--
Ashish Agarwal
'? =?'
When others working for an Impossible task, It is better to be quite though. Let the others proceed ...... !!Nicolas Joly ????????:
Quoted 29 lines · TED ITC Agarwal Ashish
Quoted 8 lines
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.m4ltp-quota.m4 8 Jan 2010 11:24:14 -0000 renamed from ltp-quota.m4 20 Dec 2009 00:36:35 -0000 1.4 +0
-0@@ -37,7 +37,7 @@ dnl}],[has_24_quotactl="yes"], #include <unistd.h>],[ int main(void) {
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
ltp-quota.m4 8 Jan 2010 11:24:14 -0000 renamed from ltp-quota.m4 20 Dec 2009 00:36:35 -0000 1.4 +1
-1return 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. requirelinux/quota.hinstead ofsys/quota.h]) dnl elif test "x$has_new_26_quotactl" = "xyes"; thenPlease see this patch and kindly make changes accordingly.
I don't know what you want to do about the compiler optimization bug, but I made the AC_MSG_WARN AC_MSG_ERROR on purpose because I _wanted_ to catch cases that the autoconf test didn't cover so the test itself could be improved. Would you please:
1. Provide your config.log.
2. Do `man 2 quotactl' and provide a description of what the function #include requirements are?
Thanks,
-Garrett
------------------------------------------------------------------------------
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
On Wed, Jan 13, 2010 at 09:52:37AM -0800, Garrett Cooper wrote:
[...]
Quoted 8 lines
Quoted 1 line
Please see this patch and kindly make changes accordingly.
I don't know what you want to do about the compiler optimization bug, but I made the
AC_MSG_WARNAC_MSG_ERRORon purpose because I _wanted_ to catch cases that the autoconf test didn't cover so the test itself could be improved. Would you please:1. Provide your config.log.
Here follow the relevant parts.
njoly@lanfeust [linux:ltp] $ ./configure
[...]
checking numaif.h usability... no
checking numaif.h presence... no
checking for numaif.h... no
configure: error: Couldn't find functional copy of quota v2 - are you running 2.4.x?
config.log:
configure:8448: gcc -c -g -O2 conftest.c >&5conftest.c: In function `main':
conftest.c:51: error: `Q_GETINFO' undeclared (first use in this function) conftest.c:51: error: (Each undeclared identifier is reported only once conftest.c:51: error: for each function it appears in.) configure:8455: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
[...]
| #define HAVE_ASM_LDT_H 1
| #define HAVE_STRUCT_USER_DESC 1
| /* end confdefs.h. */
|
| #define _LINUX_QUOTA_VERSION 2
| #include <sys/types.h>
| #include <sys/quota.h>
| #include <unistd.h>
| int
| main ()
| {
|
| int main(void) {
| struct dqblk dq;
| return quotactl(Q_GETINFO, (const char *) "/dev/null", geteuid(),
| (caddr_t) &dq);
| }
| ;
| return 0;
| }configure:8465: error: Couldn't find functional copy of quota v2 - are you running 2.4.x ?
Quoted 2 lines
2. Do `man 2 quotactl' and provide a description of what the function #include requirements are?
QUOTACTL(2) Linux Programmer's Manual QUOTACTL(2)
NAME
quotactl - manipulate disk quota
SYNOPSIS
#include <sys/types.h>
#include <sys/quota.h>
int quotactl(int cmd, const char *special, int id, caddr_t addr);
#include <linux/unistd.h>
#include <errno.h>
_syscall4(int, quotactl, int, cmd, const char *, special , int, id,
caddr_t, addr)Signature · 15 lines
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
Quoted 67 lines · Nicolas Joly
On Wed, Jan 13, 2010 at 09:52:37AM -0800, Garrett Cooper wrote:
[...]Quoted 8 lines
Quoted 1 line
Please see this patch and kindly make changes accordingly.
I don't know what you want to do about the compiler optimization bug, but I made the
AC_MSG_WARNAC_MSG_ERRORon purpose because I _wanted_ to catch cases that the autoconf test didn't cover so the test itself could be improved. Would you please:1. Provide your config.log.
Here follow the relevant parts.
njoly@lanfeust [linux:ltp] $ ./configure
[...]
checkingnumaif.husability... no
checkingnumaif.hpresence... no
checking fornumaif.h... no
configure: error: Couldn't find functional copy of quota v2 - are you running 2.4.x?config.log:
configure:8448: gcc -c -g -O2 conftest.c >&5
conftest.c: In function `main':
conftest.c:51: error: `Q_GETINFO' undeclared (first use in this function) conftest.c:51: error: (Each undeclared identifier is reported only once conftest.c:51: error: for each function it appears in.) configure:8455: $? = 1
configure: failed program was:| /* confdefs.h. */ | #define PACKAGE_NAME "ltp" | #define PACKAGE_TARNAME "ltp" [...] | #define HAVE_ASM_LDT_H 1 | #define HAVE_STRUCT_USER_DESC 1 | /* end confdefs.h. */ | | #define _LINUX_QUOTA_VERSION 2 | #include <sys/types.h> | #include <sys/quota.h> | #include <unistd.h> | int | main () | { | | int main(void) { | struct dqblk dq; | return quotactl(Q_GETINFO, (const char *) "/dev/null", geteuid(), | (caddr_t) &dq); | } | ; | return 0; | }configure:8465: error: Couldn't find functional copy of quota v2 - are you running 2.4.x ?
Quoted 2 lines
2. Do `man 2 quotactl' and provide a description of what the function #include requirements are?
QUOTACTL(2) Linux Programmer's Manual QUOTACTL(2)
NAME
quotactl - manipulate disk quotaSYNOPSIS
#include <sys/types.h>
#include <sys/quota.h>
Quoted 8 lines
int
quotactl(int cmd, const char *special, int id, caddr_t addr);#include <
linux/unistd.h>#include <
errno.h>
_syscall4(int, quotactl, int, cmd, const char *, special , int, id, caddr_t, addr)
Ok. Could you please attach your copies of/usr/include/linux/quota.h and /usr/include/sys/quota.h in a private email?
Thanks,
-Garrett
------------------------------------------------------------------------------
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