shcl
shcl copied to clipboard
histedit.h "no such file" error
when I run make LISP='ros -s cffi-grovel run --'
I get:
......
; compilation finished in 0:00:00.001
; cc -o /home/slade/.cache/common-lisp/sbcl-1.4.14-linux-x64/home/slade/Documents/sourcecode/shcl/shell/prompt-types-grovel__grovel-tmpONTOHUJ2.o -c -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wunused-parameter -fno-omit-frame-pointer -momit-leaf-frame-pointer -fPIC -I/home/slade/.roswell/lisp/quicklisp/dists/quicklisp/software/cffi_0.20.1/ /home/slade/.cache/common-lisp/sbcl-1.4.14-linux-x64/home/slade/Documents/sourcecode/shcl/shell/prompt-types-grovel__grovel.c
/home/slade/.cache/common-lisp/sbcl-1.4.14-linux-x64/home/slade/Documents/sourcecode/shcl/shell/prompt-types-grovel__grovel.c:6:10: fatal error: histedit.h: No such file or directory
6 | #include <histedit.h>
| ^~~~~~~~~~~~
compilation terminated.
Fatal error: Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100748F7C3}>
with command ("cc" "-o" "/home/slade/.cache/common-lisp/sbcl-1.4.14-linux-x64/home/slade/Documents/sourcecode/shcl/shell/prompt-types-grovel__grovel-tmpONTOHUJ2.o" "-c" "-g" "-Wall" "-Wundef" "-Wsign-compare" "-Wpointer-arith" "-O3" "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_FILE_OFFSET_BITS=64" "-Wunused-parameter" "-fno-omit-frame-pointer" "-momit-leaf-frame-pointer" "-fPIC" "-I/home/slade/.roswell/lisp/quicklisp/dists/quicklisp/software/cffi_0.20.1/" "/home/slade/.cache/common-lisp/sbcl-1.4.14-linux-x64/home/slade/Documents/sourcecode/shcl/shell/prompt-types-grovel__grovel.c")
exited with error code 1
;
; compilation unit aborted
; caught 1 fatal ERROR condition
; caught 16 STYLE-WARNING conditions
; printed 868 notes
make: *** [Makefile:67: shcl] Error 1
You need the development headers for libedit
. If you're on Linux, it's gotta be the libedit-dev
or libedit-devel
package (or whatever your distro provides in such a situation.
antoszka that solve it for me!