make[1]: Entering directory '/td2/carlstuff/build/gsrc/pkg/gnu/guile/work/guile-2.2.5' make -C libguile scmconfig.h make[2]: Entering directory '/td2/carlstuff/build/gsrc/pkg/gnu/guile/work/guile-2.2.5/libguile' \ if [ "no" = "yes" ]; then \ gcc -std=gnu11 -DHAVE_CONFIG_H -I.. \ -c -o gen-scmconfig.o gen-scmconfig.c; \ else \ gcc -std=gnu11 -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/opt/gsrc/lib/libffi-3.2.1/include -I/td2/carlstuff/build/gsrc/pkg/gnu/guile/work/guile-2.2.5 -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv -fvisibility=hidden -g -O2 -c -o gen-scmconfig.o gen-scmconfig.c; \ fi In file included from ./strings.h:27, from /usr/include/string.h:431, from ../lib/string.h:41, from gen-scmconfig.c:142: ../libguile/__scm.h:54:10: fatal error: libguile/scmconfig.h: No such file or directory 54 | #include "libguile/scmconfig.h" | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:4132: gen-scmconfig.o] Error 1
In other words, it is trying to create libguile/scmconfig.h, but it includes libguile/__scm.h which includes libguile/scmconfig.h, therefore.... build error. Happens with 2.2.5 and 2.2.4