I had two versions of Guile installed. For some reason, the script below did not work for me:
> ./configure --enable-pdf-renderer \
GUILE_CFLAGS="‘pkg-config --static --cflags guile-1.8‘" \
GUILE_LDFLAGS="‘pkg-config --static --libs guile-1.8‘" \
GUILE_DATA_PATH="‘pkg-config --variable=datadir guile-1.8‘" \GUILE_VERSION="‘pkg-config --modversion guile-1.8‘"
Fortunately, this worked: