DPDK usage discussions
 help / color / mirror / Atom feed
From: "Templin (US), Fred L" <Fred.L.Templin@boeing.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: RE: DPDK "ninja install" issue
Date: Sat, 21 May 2022 00:23:21 +0000	[thread overview]
Message-ID: <4f2b458a12ad4ade86ac25eea66161a3@boeing.com> (raw)
In-Reply-To: <ef368e1df7204967a0717a837260ac98@boeing.com>

Never mind, I found the problem. On Ubuntu 22.04 there was apparently already some
form of installation of meson and ninja, but then I hit it again with "pip3 install". I have
seen many times now that on Ubuntu you need to be very careful not to use pip3 to
install something already installed by apt and vice-versa - the two packages seem to
have the ability to clobber the work done by the other in strange ways, and I am
surprised this doesn't cause widespread problems.

Bottom line - I was able to start from scratch and now have DPDK built and installed.

Fred

> -----Original Message-----
> From: Templin (US), Fred L
> Sent: Friday, May 20, 2022 1:41 PM
> To: users@dpdk.org
> Subject: DPDK "ninja install" issue
> 
> Hi, I am having trouble running "ninja install" while following verbatim from the documents.
> I am on Ubuntu 22.04 and have downloaded dpdk-21.11.1. I also installed meson and ninja
> using the appropriate "apt install" commands.
> 
> When I follow the instructions in the DPDK documentation, everything works fine up until
> the "ninja install". I issue the following commands:
> 
> tar -xJf dpdk-21.11.1.tar.xz
> cd dpdk-stable-21.11.1/
> meson -Dexamples=all build
> cd build
> ninja
> sudo ninja install
> 
> But, when I run the "sudo ninja install" I get the following output:
> 
> "[0/1] Installing files.
> 
> ERROR: Build directory has been generated with Meson version 0.62.1, which is incompatible with the current version 0.61.2.
> FAILED: meson-install
> /usr/bin/meson install --no-rebuild
> ninja: build stopped: subcommand failed."
> 
> I also tried the same commands with dpdk-22.03 and got the same problem.
> Any ideas how to address this?
> 
> Thanks - Fred

      reply	other threads:[~2022-05-21  0:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 20:41 Templin (US), Fred L
2022-05-21  0:23 ` Templin (US), Fred L [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=4f2b458a12ad4ade86ac25eea66161a3@boeing.com \
    --to=fred.l.templin@boeing.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).