DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Utkarsh Kathuria <utkarshkathuria22@gmail.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Regarding pktgen-dpdk
Date: Fri, 28 Aug 2020 14:35:57 +0000	[thread overview]
Message-ID: <DM6PR11MB4593371B0BA7603AE6AC3923FE520@DM6PR11MB4593.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CAHwUPr5__bum8sB0YdisvSE1EN0D-hY+7VUhm1htNRhdP94g8A@mail.gmail.com>



-----Original Message-----
From: users <users-bounces@dpdk.org>
Date: Friday, August 28, 2020 at 9:14 AM
To: users@dpdk.org <users@dpdk.org>
Subject: [dpdk-users] Regarding pktgen-dpdk
Greetings of the day,
I am new to pktgen and dpdk.
I am using dpdk-19.11.3.
I downloaded pktgen-dpdk and when I try to run command make, it gives error
Meson.build:31:0: error: dependency "libbsd" not found , tried pkgconfig
and cmake.

Unless you need to use 19.11.3 for Pktgen please move to the latest version of DPDK and Pktgen. You can still use DPDK 19.11.3 for your application as Pktgen does not need to use the same version.

I use Ubuntu 20.04 and the command to install libbsd is ‘sudo apt-get install libbsd-dev’, you did not tell me your OS distro and version. I am surprised DPDK would build as it also requires libbsd.

With the latest DPDK and Pktgen versions here are the commands to build pktgen if you have all of the system dependencies addressed.

# cd DPDK
# meson build
# ninja -C build
# sudo ninja -C install

# cd pktgen-dpdk
# make rebuild

The above will build DPDK and install it into your system then build pktgen. Let me know if you have more Pktgen build issues.

Please help me

Thank you
Regards
Utkarsh



      reply	other threads:[~2020-08-28 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 14:13 Utkarsh Kathuria
2020-08-28 14:35 ` Wiles, Keith [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=DM6PR11MB4593371B0BA7603AE6AC3923FE520@DM6PR11MB4593.namprd11.prod.outlook.com \
    --to=keith.wiles@intel.com \
    --cc=users@dpdk.org \
    --cc=utkarshkathuria22@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;
as well as URLs for NNTP newsgroup(s).