Replies: 13 comments 4 replies
-
|
What is the entire command you're using? |
Beta Was this translation helpful? Give feedback.
-
|
as in your instructions wget https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/libgpiod-2.3.tar.xz |
Beta Was this translation helpful? Give feedback.
-
Works fine for me, what meson version are you on? |
Beta Was this translation helpful? Give feedback.
-
|
Meson-Version 1.7.0-1 tar -xvf ./libgpiod-2.3.tar.xz then come a bunch of "no" meson setup .. -Dtools=enabled ../bindings/cxx/tests/meson.build:28:14: ERROR: Unknown variable "libgpiosim_lib". |
Beta Was this translation helpful? Give feedback.
-
|
Hmm, seems like you have tests enabled but the right packages aren't there. Can you install libkmod, libmount, gudev-1.0 glib-2.0, gio-2.0 development packages and try again? If it works then the meson.build script needs some tweaking for when tests are enabled but the requirements are not found. |
Beta Was this translation helpful? Give feedback.
-
|
It works after reinstalled it. systemd Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
I was able to reproduce it: the system must have catch2 headers but no libkmod-dev or gudev. I'll fix it. |
Beta Was this translation helpful? Give feedback.
-
|
The following change fixes it: but I need to make sure there are no other similar cases. Thanks for the report! |
Beta Was this translation helpful? Give feedback.
-
|
I wanted to install libgpiod-v2.3.x.tar on my test system. When installing not only meson, ninja-build, and pkg-config You had already written that. |
Beta Was this translation helpful? Give feedback.
-
|
Okay, my mistake. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
|
Either at or at change Or am I seeing it wrong? |
Beta Was this translation helpful? Give feedback.
-
|
https://lore.kernel.org/linux-gpio/20260622-build-catch2-issue-v1-0-be95e28f310b@oss.qualcomm.com/ I sent out a series that fixes the problems |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Raspberry PI Trixie...
I'm getting the following error during installation.
What am I doing wrong?
The Meson build system
Version: 1.7.0
Source dir: /home/pi/libgpiod-2.3
Build dir: /home/pi/libgpiod-2.3/build
Build type: native build
Project name: libgpiod
Project version: 2.3
C compiler for the host machine: cc (gcc 14.2.0 "cc (Debian 14.2.0-19) 14.2.0")
C linker for the host machine: cc ld.bfd 2.44
C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Debian 14.2.0-19) 14.2.0")
C++ linker for the host machine: c++ ld.bfd 2.44
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.31.6)
Run-time dependency libedit found: NO (tried pkgconfig and cmake)
Run-time dependency libkmod found: NO (tried pkgconfig and cmake)
Run-time dependency mount found: NO (tried pkgconfig and cmake)
Run-time dependency threads found: YES
Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gio-2.0 found: NO (tried pkgconfig and cmake)
Run-time dependency catch2-with-main found: YES 3.7.1
Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gobject-2.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gio-2.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gio-unix-2.0 found: NO (tried pkgconfig and cmake)
Program glib-mkenums found: NO
Run-time dependency gudev-1.0 found: NO (tried pkgconfig and cmake)
Program gdbus-codegen found: NO
Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig and cmake)
Program g-ir-scanner found: NO
Program g-ir-compiler found: NO
Run-time dependency systemd found: NO (tried pkgconfig and cmake)
Program help2man found: YES (/usr/bin/help2man)
../bindings/cxx/tests/meson.build:28:14: ERROR: Unknown variable "libgpiosim_lib".
Olaf
Beta Was this translation helpful? Give feedback.
All reactions