[libcamera-devel] [PATCH] Add alternative meson install command

Vedant Paranjape vedantparanjape160201 at gmail.com
Mon Mar 22 11:05:50 CET 2021


Changelog:

* Updated README.rst to describ meson install issue

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.

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

diff --git a/README.rst b/README.rst
index 1427c714..b86bcc1d 100644
--- a/README.rst
+++ b/README.rst
@@ -37,6 +37,13 @@ To fetch the sources, build and install:
   meson build
   ninja -C build install
 
+Several users have reported issues with meson installation, crux of the issue is a potential version
+mismatch between the version that is installed in root, and version that the normal user
+uses. On calling meson, it can't find the build.ninja module. This can be solved by two ways: 
+
+1) Don't install meson again if it is already installed system-wide
+2) If you still went ahead and installed, uninstall meson using pip, and install again without --user argument
+
 Dependencies
 ~~~~~~~~~~~~
 
-- 
2.25.1



More information about the libcamera-devel mailing list