public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: "Mitani" <mitani@ryobi.co.jp>
To: 'Garrett Cooper' <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] Realtime test failure
Date: Fri, 19 Nov 2010 16:40:02 +0900	[thread overview]
Message-ID: <000001cb87bc$f9bac740$ed3055c0$@co.jp> (raw)
In-Reply-To: <AANLkTi=V85s0-9tzTvdXtqedgQFABJWvW3pjQQ+F7DcM@mail.gmail.com>

> -----Original Message-----
> From: Garrett Cooper [mailto:yanegomi@gmail.com]
> Sent: Thursday, November 18, 2010 9:30 AM
> To: Mitani
> Cc: ltp-list@lists.sourceforge.net
> Subject: Re: [LTP] Realtime test failure
> 
> > Thank you for your response.
> >
> > I tried to build with "ltp-66d67b5.tar.gz", but it failed in
> configure.
> > Therefore, I tried with older git "ltp-92dfd5b.tar.gz", and it
> succeeded
> > in RHEL5.5-x86 and RHEL4.8-x86 systems.
> >
> > From "ltp-92dfd5b.tar.gz" to "ltp-66d67b5.tar.gz", new probrem
> occured.
> >
> > New revisions are released in sequence. Therefore I intend to build
> > with the latest version again.
> 
> Huh...? What do you mean failed in configure? Logs please (PS the
> latest snapshot is different from that)!
> Thanks,
> -Garrett


"configure" failed with git "ltp-86209d2.tar.gz":
------------
./configure: line 8228: syntax error near unexpected token `elif'
./configure: line 8228: `elif test "x$has_quotav2" = "xyes"; then'
------------
(Detail log information is in my yesterday's email)

Environmants are RHEL5.5/4.8 -- x86/x86_64/ia64.


"${LTPROOT}/configure" file of "ltp-86209d2.tar.gz" is following:
------------< RHEL4.8 - x86>
[...]
  8204  done
  8205
  8206  cat >conftest.$ac_ext <<_ACEOF
  8207  /* confdefs.h.  */
  8208  _ACEOF
  8209  cat confdefs.h >>conftest.$ac_ext
  8210  cat >>conftest.$ac_ext <<_ACEOF
  8211  /* end confdefs.h.  */
  8212
  8213  #define _LINUX_QUOTA_VERSION 2
  8214  #include <sys/types.h>
  8215  #include <sys/quota.h>
  8216  #include <unistd.h>
  8217  int main(void) {
  8218          struct dqblk dq;
  8219          return quotactl(QCMD(Q_GETINFO, USRQUOTA), (const char *)
"/dev/null",
  8220                          geteuid(), (caddr_t) &dq);
  8221  }
  8222  if test "x$has_quotav1" = "xyes"; then
  8223
  8224  cat >>confdefs.h <<\_ACEOF
  8225  #define HAVE_QUOTAV1 1
  8226  _ACEOF
  8227
  8228  elif test "x$has_quotav2" = "xyes"; then
  8229
  8230  cat >>confdefs.h <<\_ACEOF
  8231  #define HAVE_QUOTAV2 1
  8232  _ACEOF
  8233
  8234  fi
  8235
  8236  _ACEOF
  8237  rm -f conftest.$ac_objext conftest$ac_exeext
  8238  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

      parent reply	other threads:[~2010-11-19  7:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15  2:54 [LTP] Realtime test failure Mitani
     [not found] ` <AANLkTimGi4v_OHzZAD8BbyGKsuVzpBcokEECezPeTC8e@mail.gmail.com>
2010-11-15  4:58   ` Mitani
2010-11-15  5:20     ` Garrett Cooper
2010-11-15  6:29       ` Mitani
2010-11-15 15:57         ` Garrett Cooper
2010-11-16  8:28           ` Mitani
2010-11-16 17:03             ` Garrett Cooper
2010-11-17  2:59               ` Mitani
2010-11-17  3:17                 ` Garrett Cooper
2010-11-18  0:21                   ` Mitani
2010-11-18  0:30                     ` Garrett Cooper
2010-11-18  1:25                       ` Mitani
2010-11-19  7:40                       ` Mitani [this message]

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='000001cb87bc$f9bac740$ed3055c0$@co.jp' \
    --to=mitani@ryobi.co.jp \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yanegomi@gmail.com \
    /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