delve icon indicating copy to clipboard operation
delve copied to clipboard

Fails to compile on Raspbian Bullseye

Open ubuntupunk opened this issue 2 years ago • 1 comments

make
cc -O2 -Wall -Wextra -DDELVE_USE_READLINE   -c -o delve.o delve.c
delve.c:38:11: fatal error: readline/readline.h: No such file or directory
   38 |  #include <readline/readline.h>
      |           ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: delve.o] Error 1
make
cc -O2 -Wall -Wextra -DDELVE_USE_READLINE   -c -o delve.o delve.c
delve.c:38:11: fatal error: readline/readline.h: No such file or directory
   38 |  #include <readline/readline.h>
      |           ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: delve.o] Error 1

ubuntupunk avatar Sep 25 '23 22:09 ubuntupunk

It has one dependency it seems. Doing this on debian systems fixes the problem:

sudo apt-get install libreadline-dev 

ubuntupunk avatar Sep 25 '23 22:09 ubuntupunk