From patchwork Mon Mar 22 10:05:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 11634 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id DD534BD80C for ; Mon, 22 Mar 2021 10:06:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id ED8C468D58; Mon, 22 Mar 2021 11:06:24 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lOsXeFjb"; dkim-atps=neutral Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 902796051E for ; Mon, 22 Mar 2021 11:06:21 +0100 (CET) Received: by mail-pj1-x1034.google.com with SMTP id w8so8140616pjf.4 for ; Mon, 22 Mar 2021 03:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=x4n60VOAqClz05ZXVob2PjbJ/5Q97YAYovYpno3RUIs=; b=lOsXeFjb+MTa/sU5PpvCrKRQ6pV8ZBI836P7Gxl9SdKQ7iLR9l7aGibKAYMehwiCkj wFPNLFNhXQBmL7OWWhCcDt7ScD+Lth4l2Nx4lpNbSzDt5c6cjb2kEfEMmDOZIIL09II/ HeOnS0Iew6n9HIUxuvTjvR98GUzDS5NfcUmhX5qDAUBHqPjw4V73u/djDEeojx1luvpn L87vZIvjNuf6C+/3Y2hsBhnZKOqrcuorvQ6VO1t+EUKrspL33ixrXdYbVMGKFst25oLs xQuHISeZJ0WyP7wgBc3InH21fMrluslB5Y6u4Ygkx6HXD3OR+RaQM92Fjni6Xo8LJnV6 U2mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=x4n60VOAqClz05ZXVob2PjbJ/5Q97YAYovYpno3RUIs=; b=b5fXPPNepoePjMStbkJod4IhUPJV1DE999i/t2TBSZ7UB931ENekztVU3NjzRlhS5H 3PnW035Gu55wLhj+JKvwHqEN2i0VB03awcYCvo2rhtwYewGlL2iAWsBDUmi6FVVZgaOX mmVzh1M8y3H/zkn3C+Cau07tcxgOc1rlG1YhtJSBd6G827vvGI/KCrlYnTcjpTbH8s81 CggmqI3/xgffl0/dsL2laq9ReQItzQcB8fCWlvVIbNnFBE4SXoqBqLRoNKy1ub7okKhz P0uaUv6oPG03c+2xmHk6rc2lG1UonNQ51/J4pTe5YGJlOscv2zZHlDANjKpYnL4kNd2B ll9Q== X-Gm-Message-State: AOAM532mVUaOGppcbAS+A0GcMgJgH9Ku3XkWNC2qyyLM3dDCYrToQge0 LlDDZ3gS2lFCStEZpoG1eY1mDHdE7GU4x3kK X-Google-Smtp-Source: ABdhPJxpnbvtGuaKL0moQMQulieTifhkmwzI5qMvuUQfvVaI3uI5mEPoZCBXHf6wQWbf4V9XdvahEg== X-Received: by 2002:a17:90a:2b4a:: with SMTP id y10mr12655784pjc.143.1616407579162; Mon, 22 Mar 2021 03:06:19 -0700 (PDT) Received: from localhost.localdomain ([1.186.78.76]) by smtp.googlemail.com with ESMTPSA id fs9sm13077260pjb.40.2021.03.22.03.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 03:06:18 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Mon, 22 Mar 2021 15:35:50 +0530 Message-Id: <20210322100550.38227-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] Add alternative meson install command X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vedant Paranjape Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 --- 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 ~~~~~~~~~~~~