public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] LIBTIRPC Error
Date: Fri, 3 Apr 2020 12:05:11 +0200	[thread overview]
Message-ID: <20200403100511.GA23296@dell5510> (raw)
In-Reply-To: <5E86F92F.9080200@cn.fujitsu.com>

Hi Pankaj, Xiao,

> > Hi,
> > I am trying to run ltp on 5.4.3 kernel with our custom yocto distro but
> > i am facing following issue , i have installed

> > pkg-config libtirpc-dev libtirpc1 but still the same error is getting
> > encountered,can someone help us to solve it??

> > .*/configure: line 6794: syntax error near unexpected token `LIBTIRPC,'
> > **./configure: line 6794: ` PKG_CHECK_MODULES(LIBTIRPC, libtirpc >*

> It seems that pkg-config package(it provides pkg-config command) is not
> installed on your enviroment.
+1
You need to have pkg.m4 (usually /usr/share/aclocal/pkg.m4).

Distros might have it in different packages than pkg-config or pkgconf,
but they usually install it as a dependency.
openSUSE have it in pkgconf-m4, but installed as dependency with pkg-config.
Debian have it in pkg-config and pkgconf.

Yes, this has been documented on usual places:
https://github.com/linux-test-project/ltp/#quick-guide-to-running-the-tests
If you have git, autoconf, automake, m4 and pkg-config, the linux headers and
the common developer packages installed ...

https://github.com/linux-test-project/ltp/blob/master/INSTALL
If you want to use auto configuration you also need autoconf-2.61+, automake-1.10+
and pkg-config.

(+ also in travis scripts (in travis/ directory) and also in the commit, but
both aren't that much visible for users).

But apparently that's not enough (you mentioned pkg-config, so you have read the
docs. Maybe I should state that the dependency is on pkg-config autotools
integration (pkg.m4).

Kind regards,
Petr

  reply	other threads:[~2020-04-03 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03  8:32 [LTP] LIBTIRPC Error Pankaj Vinadrao Joshi
2020-04-03  8:51 ` Xiao Yang
2020-04-03 10:05   ` Petr Vorel [this message]
     [not found] ` <MAXPR0101MB1468C63FD2BF7CD9AF9051E6EEC70@MAXPR0101MB1468.INDPRD01.PROD.OUTLOOK.COM>
2020-04-03  9:38   ` [LTP] Fw: " Pankaj Vinadrao Joshi
     [not found]   ` <5E870461.1010307@cn.fujitsu.com>
2020-04-03  9:58     ` Xiao Yang

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=20200403100511.GA23296@dell5510 \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /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