From: Zdenek Kabelac Date: Wed, 17 May 2023 12:29:03 +0200 Subject: [PATCH] Fix header include for out of tree builds In-Reply-To: <20230516160511.2053800-1-glance@ac2.se> References: <20230516160511.2053800-1-glance@ac2.se> Message-ID: List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dne 16. 05. 23 v 18:05 Anton Lundin napsal(a): > The relative include didn't match up for out of tree builds. The > build tree include directory is in the include paths already. > > Signed-off-by: Anton Lundin > --- > > Now the following works: > $ mkdir lvm2-build > $ cd lvm2-build > $ ../lvm2/configure Hi Your bug is actually in this command: configure --srcdir=XXXXX > $ make > Otherwise srcdir is located in your builddir and you would actually get more errors in various parts of lvmb building - as we tend to use $(srcdir) inside makefiles.. Regards Zdenek