O libgraph espera que libguile.h
esteja nos caminhos de inclusão padrão, o que não é. O script autoconf deve realmente encontrar os locais corretos (o que eu considero um bug do sistema de compilação), mas isso não acontece, então você precisa adicionar seu caminho de inclusão aos sinalizadores de pré-processador e vinculador. A abordagem padrão seria:
sudo apt install guile-2.0-dev # In case you didn't install it earlier
CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)" \
CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.0)" \
LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.0)" \
./configure
make
Como alternativa, você pode construir o libgraph sem o suporte ao módulo Guile:
./configure --disable-guile
make