kieselsteini / delve

A simple terminal based gopher client
GNU General Public License v3.0
25 stars 7 forks source link

Fails to compile on Raspbian Bullseye #3

Open ubuntupunk opened 1 year ago

ubuntupunk commented 1 year ago
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 commented 1 year ago

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

sudo apt-get install libreadline-dev