From: "Mitani" <mitani@ryobi.co.jp>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] About "configure" failure
Date: Mon, 22 Nov 2010 15:23:39 +0900 [thread overview]
Message-ID: <000001cb8a0d$cd4fad30$67ef0790$@co.jp> (raw)
Hi,
I reported failure of "configure" on the other day.
http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg11137.html
But I think that it's hard to notice because my report is contributed to
the report of "realtime" failure. It's my clumsiness.
Therefore, I report about "configure" again with the recent git.
---
"configure" failed with git "ltp-7d2055e.tar.gz":
------------<RHEL4.8 - x86>
./configure: line 8228: syntax error near unexpected token `elif'
./configure: line 8228: `elif test "x$has_quotav2" = "xyes"; then'
------------
Environmants are RHEL5.5/4.8 -- x86/x86_64/ia64.
"${LTPROOT}/configure" file of "ltp-7d2055e.tar.gz" is following:
------------< RHEL4.8 - x86>
[...]
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF ---
LINE 8210
/* end confdefs.h. */
#define _LINUX_QUOTA_VERSION 2
#include <sys/types.h>
#include <sys/quota.h>
#include <unistd.h>
int main(void) {
struct dqblk dq;
return quotactl(QCMD(Q_GETINFO, USRQUOTA), (const char *)
"/dev/null",
geteuid(), (caddr_t) &dq);
}
--- LINE 8221
if test "x$has_quotav1" = "xyes"; then
cat >>confdefs.h <<\_ACEOF
--- LINE 8224
#define HAVE_QUOTAV1 1
_ACEOF
elif test "x$has_quotav2" = "xyes"; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_QUOTAV2 1
_ACEOF
fi
_ACEOF
--- LINE 8236
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
[...]
------------
The line 8210 (" 8210 cat >>conftest.$ac_ext <<_ACEOF") is the "here
document".
First "_ACEOF" which appears after this line is the line 8224.
But the line 8224 is "here document", too.
I think that it is syntax error.
In the line 8236, there is "_ACEOF".
This "_ACEOF" may be just after line 8221, I think.
I tried to execute "configure" after above revision, and it succeeded.
After this, "make" and "make install" succeeded, too.
Regards--
-Tomonori Mitani
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2010-11-22 6:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 6:23 Mitani [this message]
2010-11-24 8:01 ` [LTP] About "configure" failure Bian Naimeng
2010-11-24 8:47 ` Garrett Cooper
2010-11-24 9:20 ` Bian Naimeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001cb8a0d$cd4fad30$67ef0790$@co.jp' \
--to=mitani@ryobi.co.jp \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox