Wilfred Hughes writes: > Hi folks > > I fancied exploring Guile with Emacs, so I've been trying to build Guile > and Emacs as documented in https://www.emacswiki.org/emacs/GuileEmacsBuild .
Excellent! Happy to hear of your interest. > I've successfully built the wip-elisp branch of the main guile repo. The > wiki page discusses http://git.hcoop.net/?p=bpt/guile.git and > http://git.savannah.gnu.org/cgit/guile.git/log/?h=wip-elisp . I understand > that the latter is a rebase of the hcoop commits on Guile 2.1. > > However, I've also noticed there's a wip-bpt-elisp branch in the main guile > repo. This has the newest commits, but it seems to based on an older guile > version. > > Which branch should I use? wip-bpt-elisp has commits from years ago; wip-elisp is rebased on top of relatively-recent master, with updated ChangeLog. This was based on the recent work of robin's from http://git.savannah.gnu.org/cgit/guile.git/log/?h=wip-elisp So, you want wip-elisp in origin. That's the most up to date. > I've also failed to compile the Emacs branch that uses Guile. I'm getting > the error: > > gcc -c -Demacs -I. -I. -I../lib -I./../lib [many includes elided...] > -I/usr/local/include/guile/2.2 -g3 -O2 vm-limit.c > In file included from vm-limit.c:21:0: > lisp.h:33:22: fatal error: libguile.h: No such file or directory > #include <libguile.h> > ^ > compilation terminated. > > This rather looks like I've screwed up with autoconf somehow. I've set the > environment variables suggested by the wiki page: I don't have time to look into this part, maybe someone else can help you out!