From patchwork Mon Mar 22 10:19:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 11635 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 1DE19BD80C for ; Mon, 22 Mar 2021 10:19:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4DDF468D62; Mon, 22 Mar 2021 11:19:47 +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="jG9wVu0E"; dkim-atps=neutral Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A83EC68D58 for ; Mon, 22 Mar 2021 11:19:45 +0100 (CET) Received: by mail-pf1-x431.google.com with SMTP id j25so10609957pfe.2 for ; Mon, 22 Mar 2021 03:19:45 -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=OEDCzGWYFk+H0x/Qda/V79Sn3gQsLM//B7maAFnSn/Y=; b=jG9wVu0EIrHu5Mj6KphsK1MngpKgc5bUHpU7Cso6/YNr0ReH1uVc6ySjnctFSDU9aD aw1aXF1I2N8rwd7l+sHDVlz3vkeL45PLFHedLIUP/y0aGUBbWHK708n+oakzceRK5J7m vmp/D5dQS8Q9ISg6VkzCPtMnbWTu+5tFMR0sfimGJvjnO9Axj1vm0XqjbX89NqZcj6I0 pujds3kryVfz8ql9T10sMIBjI2CITio6SAdtoyMDAczr8P/UaSHmb8SSXNr8RYgM/C+Y K2JAB4B8DJat9n8AEXoDOO1SNkpz1AYg4Efxf+Ja3X36+8jIdDcDeJprTj9xRW5frduD j5/Q== 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=OEDCzGWYFk+H0x/Qda/V79Sn3gQsLM//B7maAFnSn/Y=; b=D92TsJlw+pOZef5Ebwrk4RsYpJTo/A4tn1nex3exa0QndQMeHxGXH8Rv9dqTBdtzkw YHFrhd62bGbW41HA6BlyI8MpUO1MWtxRq3IJUpyXsXUPcVPKaeY3kUpWRnJBsNrm8/qr QE7KCFLdCNp5BoIkdF992Mg4Aug4q0vav5Q+vWlGaKBMAMPonlSpqxq83HrV8XGIEWFG btc5wqSDvagWKwG0VCGDYFke2oa7zefbT1s3WviXj9l95TsgWNeWq8oYYvHbdHIzjWSS 4AFC2gp0UDBmzKTUr7oAC8hdWBdPw1NJnUpA2OnTChfCNAVckHYHS8T7NllNFwazB6oo PXKg== X-Gm-Message-State: AOAM532oIWByJEHgpZo0zs2nP2SZ5Z0WiOhqYNdt7Cqb0IVf+kvR9uFf 5JJL2Y4hbAJl/pZ21BExq6IbYD+WxwywSWLT X-Google-Smtp-Source: ABdhPJwgcPs17213wtbKi7Qip4ti0n3M6DpLqAfOnyhtc7ntLxZk1QUHYvSp5XGeud5l6xUOz16bGg== X-Received: by 2002:a65:43c6:: with SMTP id n6mr21844753pgp.170.1616408383801; Mon, 22 Mar 2021 03:19:43 -0700 (PDT) Received: from localhost.localdomain ([1.186.78.76]) by smtp.googlemail.com with ESMTPSA id k63sm13556241pfd.48.2021.03.22.03.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 03:19:43 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Mon, 22 Mar 2021 15:49:27 +0530 Message-Id: <20210322101927.40013-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4] 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. 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 --- 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 ~~~~~~~~~~~~