On Fri, Dec 29, 2023 at 07:50:21PM -0600, Seamus de Mora wrote: > On Fri, Dec 29, 2023 at 9:58 AM Kent Gibson <warthog618@xxxxxxxxx> wrote: > > > > > This works for me on a Pi, both bullseye and bookworm: > > > > $ ./autogen.sh --enable-tools --enable-gpioset-interactive > > $ make > > That option ('--enable-gpioset-interactive') seems to have gotten the > job done. I had to back out of 'libgpiod-2.1/tools' to > '~/libgpiod-2.1', and let './autogen.sh' take care of the '#define'... > instead of me trying to add it manually to 'gpioset.c' via '#define > GPIOSET_INTERACTIVE'. I do have **all** the packages you listed below > installed, so why my manual addition didn't work is still a mystery to > me - but not one worth fretting over. > If you want to change build options then you need to re-run autogen.sh to regenerate the Makefiles. The option is mentioned in both TOOLS section of the README (but I note has a typo that needs to be fixed) adjacent to the interactive example, and the configure help, which is itself mentioned in the README: $ ./configure --help ... --enable-gpioset-interactive enable gpioset interactive mode [default=no] ... That is not enabled by default as some platforms lack, or want to avoid including, libedit. > > That is with the following packages installed: > > autoconf > > autoconf-archive > > libtool > > m4 > > libedit-dev > > Thanks for your help! :) And thank you for the SE un-upvote and downvote! Cheers, Kent.