[libcamera-devel,v4] Add alternative meson install command
diff mbox series

Message ID 20210322101927.40013-1-vedantparanjape160201@gmail.com
State Superseded
Headers show
Series
  • [libcamera-devel,v4] Add alternative meson install command
Related show

Commit Message

Vedant Paranjape March 22, 2021, 10:19 a.m. UTC
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. meson generates
ninja files fine, but then when you run ninja, it is unable to find
meson's build.ninja python module due to path issues.
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 using pip3 and installing it again using pip
without --user argument solved the issue.

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

Patch
diff mbox series

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
 ~~~~~~~~~~~~