Re: Building Guilemacs

2016-08-30 Thread Wilfred Hughes
> I think the variables you mentioned are for building in your home
> directory only. If you build system-wide, for instance under /usr/local
> -- and your mail makes me think you do so -- you should not need them.

I wanted to build them in my home directory. I already have Guile installed
and I didn't want to get things confused.

> I have made some packaging recipes for Arch Linux, and there it works
> without specifing these variables.
>
> https://aur.archlinux.org/packages/guile-emacs-git/ (for emacs)
> https://aur.archlinux.org/packages/guile4emacs-git/ (for guile)

Oh, that's really useful, thanks. I'll have a look at those for
reference (and I've documented them on the GuileEmacsBuild wiki
build).



Re: Building Guilemacs

2016-08-30 Thread Christopher Allan Webber
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 
>   ^
> 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!