Le Wang | 25 Aug 2012 14:11
Picon

trouble compiling head on Mac OS X

Error encountered running make:

Loading loadup.el (source)...
Using load-path (/Users/lewang/src/emacs/emacs/lisp /Users/lewang/src/emacs/emacs/lisp/emacs-lisp /Users/lewang/src/emacs/emacs/lisp/language /Users/lewang/src/emacs/emacs/lisp/international /Users/lewang/src/emacs/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (compiled; note, source file is newer)...
Symbol's value as variable is void: macro-declaration-function
make[1]: *** [bootstrap-emacs] Error 1
make: *** [src] Error 2

I'm using Mountain Lion with the latest tree checked out from the git mirror, and all GNU prereqs installed from homebrew.  Steps followed:

    rm **/.gitignore && git clean -fd . && git co . && ./autogen.sh && ./configure --build=i686-apple-darwin --with-ns && make

--
Le

Alp Aker | 25 Aug 2012 17:33
Picon

Re: trouble compiling head on Mac OS X

> Loading emacs-lisp/byte-run (compiled; note, source file is newer)...

This might indicate a need to use "make boostrap" instead of "make".

Jan D. | 25 Aug 2012 19:41
Picon

Re: trouble compiling head on Mac OS X

Le Wang skrev 2012-08-25 14:11:
> Error encountered running make:
>
> Loading loadup.el (source)...
> Using load-path (/Users/lewang/src/emacs/emacs/lisp
> /Users/lewang/src/emacs/emacs/lisp/emacs-lisp
> /Users/lewang/src/emacs/emacs/lisp/language
> /Users/lewang/src/emacs/emacs/lisp/international
> /Users/lewang/src/emacs/emacs/lisp/textmodes)
> Loading emacs-lisp/byte-run (compiled; note, source file is newer)...
> Symbol's value as variable is void: macro-declaration-function
> make[1]: *** [bootstrap-emacs] Error 1
> make: *** [src] Error 2
>

Try make bootstrap.

	Jan D.

Le Wang | 28 Aug 2012 02:32
Picon

Re: trouble compiling head on Mac OS X

On Sun, Aug 26, 2012 at 1:41 AM, Jan D. <jan.h.d <at> swipnet.se> wrote:

Try make bootstrap.

That was it.  Thanks.

--
Le

Gmane