Skip to content

Build libgpiod fails on RP5 on bookworm Linux #316

@rickrcomm

Description

@rickrcomm

Script Command

cd ~
# sudo apt-get install python3-pip
# sudo pip3 install --upgrade adafruit-python-shell click
# wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/libgpiod.py
# sudo python3 libgpiod.py

Operating System

64-bit bookworm full desktop version

Hardware

Raspberry Pi 5 8GB

Behavior

.......
.......
LIBGPIOD CFLAGS="-I/tmp/libgpiod.FvAb/include/ -I/tmp/libgpiod.FvAb/tests/gpiosim
-L/tmp/libgpiod.FvAb/lib/.libs/ -L/tmp/libgpiod.FvAb/tests/gpiosim/.libs/"
/usr/bin/python -m build
LIBGPIOD /usr/bin/python: No module named build
LIBGPIOD make[4]: *** [Makefile:689: all-local] Error 1
LIBGPIOD make[4]: Leaving directory '/tmp/libgpiod.FvAb/bindings/python'
LIBGPIOD make[3]: *** [Makefile:401: all-recursive] Error 1
LIBGPIOD make[3]: Leaving directory '/tmp/libgpiod.FvAb/bindings/python'
LIBGPIOD make[2]: *** [Makefile:398: all-recursive] Error 1
LIBGPIOD make[2]: Leaving directory '/tmp/libgpiod.FvAb/bindings'
LIBGPIOD make[1]: *** [Makefile:467: all-recursive] Error 1
LIBGPIOD make[1]: Leaving directory '/tmp/libgpiod.FvAb'
LIBGPIOD make: *** [Makefile:397: all] Error 2

Description

I saved the whole build output and can send you if you want.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions