From: "Wiles, Keith" <keith.wiles@intel.com>
To: Murali Krishna <murali.krishna@broadcom.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5
Date: Wed, 5 Dec 2018 15:56:23 +0000 [thread overview]
Message-ID: <83294826-D549-4E6E-9C08-5C5575621197@intel.com> (raw)
In-Reply-To: <5635130fed4850c4c2de46d792ecc717@mail.gmail.com>
> On Dec 5, 2018, at 2:23 AM, Murali Krishna <murali.krishna@broadcom.com> wrote:
>
> Hi,
>
>
>
> I am trying to compile pktgen-3.5.8 on RHEL/Centos 7.5 kernel. I see below
> error while compiling it from source.
>
>
>
> # cd pktgen-3.5.8/
>
> # make
>
> == lib
>
> == common
>
> == utils
>
> == vec
>
> == lua
>
> Package lua5.3 was not found in the pkg-config search path.
>
> Perhaps you should add the directory containing `lua5.3.pc'
>
> to the PKG_CONFIG_PATH environment variable
>
> No package 'lua5.3' found
>
> Package lua5.3 was not found in the pkg-config search path.
>
> Perhaps you should add the directory containing `lua5.3.pc'
>
> to the PKG_CONFIG_PATH environment variable
>
> No package 'lua5.3' found
>
> CC rte_lua.o
>
> In file included from /root/pkt/pktgen-3.5.8/lib/lua/rte_lua.c:27:0:
>
> /root/pkt/pktgen-3.5.8/lib/lua/rte_lua.h:25:17: fatal error: lua.h: No such
> file or directory
>
> #include <lua.h>
>
> ^
>
> compilation terminated.
>
> make[3]: *** [rte_lua.o] Error 1
>
> make[2]: *** [all] Error 2
>
> make[1]: *** [lua] Error 2
>
> make: *** [lib] Error 2
>
>
>
> i see same error even after installing lua53 packages.
>
>
>
> # rpm -qa | grep lua5
>
> lua53u-libs-5.3.4-1.ius.centos7.x86_64
>
> lua53u-5.3.4-1.ius.centos7.x86_64
>
> lua53u-devel-5.3.4-1.ius.centos7.x86_64
>
>
>
> Is there any workaround for this error?
In the dev branch of Pktgen is an example pkg_config file to use and more docs on how to get lua/Pktgen running on these distro’s that do not supply a .pc file.
>
https://git.dpdk.org/apps/pktgen-dpdk/?h=dev
>
>
>
> Thanks,
>
> Murali
Regards,
Keith
next prev parent reply other threads:[~2018-12-05 15:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-05 10:23 Murali Krishna
2018-12-05 15:56 ` Wiles, Keith [this message]
2018-12-05 15:59 ` Wiles, Keith
2018-12-05 19:57 ` Murali Krishna
2018-12-05 20:49 ` Wiles, Keith
2018-12-06 3:46 ` Murali Krishna
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=83294826-D549-4E6E-9C08-5C5575621197@intel.com \
--to=keith.wiles@intel.com \
--cc=murali.krishna@broadcom.com \
--cc=users@dpdk.org \
/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;
as well as URLs for NNTP newsgroup(s).