I'm trying to install CLISP from source on my Linux Mint 22.1 Cinnamon system. With the cloned repo under ~/apps/src/clisp I configured the build with:
./configure --prefix=/home/paolo/apps/clisp --with-module=asdf --with-module=clx/new-clx --with-module=editor --with-module=i18n --with-module=pcre --with-module=readline --with-module=regexp --with-module=syscalls --with-module=zlib
After editing config.lisp as advised I ran make which completed with no issues. But make install aborted with a missing rule error:
[...]
checking for wchar.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... (cached) yes
checking whether _XOPEN_SOURCE should be defined... (cached) no
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-pc-linux-gnu
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for shared library run path origin... (cached) done
checking 32-bit host C ABI... (cached) no
checking for egrep -e... (cached) /usr/bin/grep -E
checking for ELF binary format... (cached) yes
checking for the common suffixes of directories in the library search path... (cached) lib,lib,lib64
checking how to link with libpcre... -lpcre
configure: ** PCRE (Headers)
checking for pcre.h... no
checking for pcre/pcre.h... no
configure: error: cannot find PCRE headers
make[1]: Entering directory '/home/paolo/apps/src/clisp/src/pcre'
make[1]: *** No rule to make target 'clisp-module'. Stop.
make[1]: Leaving directory '/home/paolo/apps/src/clisp/src/pcre'
make: *** [Makefile:2365: pcre] Error 2
Does it ring any bells? Any advice?