Ok, looking at your config.log, it fails because it can't find guile's include file,
Code:
configure:15519: checking whether with-libguile-cflags was specified
configure:15526: result: no
configure:15537: checking whether with-libguile-libs was specified
configure:15544: result: no
configure:15594: checking whether libguile can be linked with
configure:15619: gcc -std=gnu99 -o conftest -O2 -fPIC -L/usr/lib64 conftest.c -ldl -lguile >&5
conftest.c:145:22: fatal error: libguile.h: No such file or directory
#include <libguile.h>
^
compilation terminated.
configure:15619: $? = 1
However, as you showed, you do have the required file /usr/include/guile/2.0/libguile.h, but its location is not being set. This is what the config.log looks like when it works correctly:
Code:
configure:15465: checking whether with-libguile-cflags was specified
configure:15472: result: no
configure:15483: checking whether with-libguile-libs was specified
configure:15490: result: no
configure:15516: guile-config used for CFLAGS: -pthread -I/usr/include/guile/2.0
configure:15523: guile-config used for LIBS: -lguile-2.0 -lgc
configure:15540: checking whether libguile can be linked with
configure:15565: gcc -std=gnu99 -o conftest -O2 -fPIC -pthread -I/usr/include/guile/2.0 conftest.c -ldl -lguile-2.0 -lgc >&5
configure:15565: $? = 0
configure:15576: result: yes
The crucial information "-pthread -I/usr/include/guile/2.0" comes from /usr/lib64/pkgconfig/guile-2.0.pc. Do you have that file? If you do, what does the command 'guile-config compile' print? If you don't have that file, you need to reinstall guile.