diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-09-15 00:58:16 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-09-15 10:52:16 +0300 |
commit | e5f0846695908ff162206ec120c0614df0eca3f8 (patch) | |
tree | b082ea066c293617ee287b336363e26b7254086c | |
parent | 58e501c71c47e57f02afde1bd296a037038cd6d5 (diff) |
README.rst: Drop recommendation to install meson using pip3
Usage of pip3 to install meson may result in a different meson version
available for the local user and for root. This causes issues when
running `meson install` (directly or through `ninja install`):
Installing to a system location will request elevated privileges and use
the system meson version to install files, which may fail to unpickle
data pickled with the meson version for the local user.
As all major distributions now provide a recent-enough version of meson,
usage of pip3 is not longer needed in most cases, and shouldn't be
recommended. Drop it.
While at it, update the version of meson listed in the documentation to
match the required version.
Bug: https://bugs.libcamera.org/show_bug.cgi?id=199
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
-rw-r--r-- | README.rst | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -47,15 +47,7 @@ A C++ toolchain: [required] Either {g++, clang} Meson Build system: [required] - meson (>= 0.56) ninja-build pkg-config - - If your distribution doesn't provide a recent enough version of meson, - you can install or upgrade it using pip3. - - .. code:: - - pip3 install --user meson - pip3 install --user --upgrade meson + meson (>= 0.57) ninja-build pkg-config for the libcamera core: [required] libyaml-dev python3-yaml python3-ply python3-jinja2 |