[libcamera-devel] [PATCH] Added alternative to meson install command, if it fails with --user argument

Vedant Paranjape vedantparanjape160201 at gmail.com
Mon Mar 22 10:31:03 CET 2021


While installing meson using pip3 install --user meson, due to python path issues, build.ninja can't be located by ninja.
It gives the following error on ninja -C build install:

ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory

After uninstalling meson and installing it without --user argument solved the issue, as discussed with pinchartl on irc.

Signed-off-by: Vedant Paranjape <vedantparanjape160201 at gmail.com>
---
 README.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.rst b/README.rst
index 1427c714..0bfd39d9 100644
--- a/README.rst
+++ b/README.rst
@@ -56,7 +56,9 @@ Meson Build system: [required]
 
             pip3 install --user meson
             pip3 install --user --upgrade meson
-
+        
+        If this fails, retry with `pip3 install meson`
+        
 for the libcamera core: [required]
         python3-yaml python3-ply python3-jinja2
 
-- 
2.25.1



More information about the libcamera-devel mailing list