From 0ab4de566ba2ee8f43f62124a35509119448e915 Mon Sep 17 00:00:00 2001 From: Alexey Marchuk Date: Thu, 1 Dec 2022 16:53:24 +0100 Subject: [PATCH] pkgdep/debian: Install python3-dev This package is required to install grpcio: ./scripts/pkgdep.sh --developer-tools ... Could not find . This could mean the following: * You're on Ubuntu and haven't run `apt-get install python3-dev`. * You're on RHEL/Fedora and haven't run `yum install python3-devel` or `dnf install python3-devel` (make sure you also have redhat-rpm-config installed) * You're on Mac OS X and the usual Python framework was somehow corrupted (check your environment variables or try re-installing?) * You're on Windows and your Python installation was somehow corrupted (check your environment variables or try re-installing?) ---------------------------------------- ERROR: Failed building wheel for grpcio Failed to build grpcio Signed-off-by: Alexey Marchuk Change-Id: I1a9d6154de9ab86ba8062b53ba56002e226daa94 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15751 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris Reviewed-by: Paul Luse Reviewed-by: Reviewed-by: Tomasz Zawadzki --- scripts/pkgdep/debian.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/pkgdep/debian.sh b/scripts/pkgdep/debian.sh index f6423a1e3..cff21c2b2 100755 --- a/scripts/pkgdep/debian.sh +++ b/scripts/pkgdep/debian.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash # SPDX-License-Identifier: BSD-3-Clause # Copyright (C) 2020 Intel Corporation +# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. # All rights reserved. # @@ -14,7 +15,7 @@ if [[ $NAME == "Ubuntu" ]] && [[ $VERSION_ID_NUM -ge 2204 ]]; then else apt-get install -y python fi -apt-get install -y libncurses5-dev libncursesw5-dev python3-pip +apt-get install -y libncurses5-dev libncursesw5-dev python3-pip python3-dev pip3 install ninja if ! pip3 install meson; then # After recent updates pip3 on ubuntu1604 provides meson version which requires python >= 3.6.