All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@petalogix.com>
To: yanegomi@gmail.com, ltp-list@lists.sourceforge.net
Subject: [LTP] Autotools
Date: Mon, 28 Dec 2009 17:29:46 +0100	[thread overview]
Message-ID: <4B38DCFA.9000502@petalogix.com> (raw)

Hi Garret,

I am trying to configure LTP properly.
First thing which seems to me weird is that in INSTALL is for "Using 
autoconf" command make autotools

autoreconf --install

There are some warnings which could be fixed.

then I am running

./configure --prefix=/tmp/

and I see there

./configure: line 4566: LTP_CHECK_CAPABILITY_SUPPORT: command not found
./configure: line 4567: LTP_CHECK_CRYPTO: command not found
./configure: line 4568: LTP_CHECK_LINUX_PTRACE: command not found
./configure: line 4569: LTP_CHECK_SELINUX: command not found
./configure: line 4570: LTP_CHECK_SIGNAL: command not found
./configure: line 4571: LTP_CHECK_SYSCALL_EVENTFD: command not found
./configure: line 4572: LTP_CHECK_SYSCALL_MODIFY_LDT: command not found
./configure: line 4573: LTP_CHECK_SYSCALL_NUMA: command not found
./configure: line 4574: LTP_CHECK_SYSCALL_QUOTACTL: command not found
./configure: line 4575: LTP_CHECK_SYSCALL_SIGNALFD: command not found
./configure: line 4576: LTP_CHECK_SYSCALL_UNSHARE: command not found
./configure: line 4577: LTP_CHECK_TASKSTATS: command not found

./configure: line 4759: REALTIME_CHECK_PRIO_INHERIT: command not found
./configure: line 4760: REALTIME_CHECK_ROBUST_APIS: command not found

+ there are some missing dependency in configure.ac file. This patch 
should add them. I just grep whole LTP source - maybe some are not 
important.

diff --git a/configure.ac b/configure.ac
index 52f3381..7a72b36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,11 +39,26 @@ AC_CHECK_HEADERS([ \
      linux/mempolicy.h \
      linux/module.h \
      linux/netlink.h \
+    linux/ptrace.h \
+    linux/cgroupstats.h \
+    linux/taskstats.h \
+    linux/types.h \
      sys/acl.h \
      sys/epoll.h \
      sys/inotify.h \
+    sys/ptrace.h \
+    sys/reg.h \
+    asm/ldt.h \
+    asm/ptrace.h \
      sys/jfsdmapi.h \
      sys/prctl.h \
+    sys/epoll.h \
+    sys/ptrace.h \
+    sys/reg.h \
+    sys/stat.h \
+    sys/time.h \
+    sys/types.h \
+    sys/vfs.h \
  ])


and then run make - there previous fault in configure caused that there 
are wrong symbols in Makefiles - for example for my case.

microblaze-unknown-linux-gnu-gcc: @SELINUX_LIBS@: No such file or directory

which is caused by problems in configure.

Thanks for fixing,
Michal

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663

------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2009-12-28 16:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-28 16:29 Michal Simek [this message]
2009-12-28 17:46 ` [LTP] Autotools Garrett Cooper
2009-12-29  8:40   ` Michal Simek
2009-12-29 13:47     ` Garrett Cooper
2009-12-31 13:08       ` Michal Simek
2009-12-31 20:33         ` Garrett Cooper
2010-01-02 13:10           ` Michal Simek

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=4B38DCFA.9000502@petalogix.com \
    --to=michal.simek@petalogix.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.