[OS X Emacs] Building Aquamacs from source
roadie
roadie at zenroadie.org
Sat Aug 16 03:22:38 EDT 2014
> Subject: Re: [OS X Emacs] Building Aquamacs from source
> Message-ID: <647C8C4D-45F5-4AD3-B094-97029DBEE233 at gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> On Aug 12, 2014, at 9:21 PM, roadie <roadie at zenroadie.org> wrote:
>> then cd?ed into aquamacs-emacs and did:
>
> What?s the output of ?git branch??
> I just want to make sure you?re in the right branch.
* aquamacs3
>>
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> make[1]: *** [temacs] Error 1
>> make: *** [src] Error 2
>> [ -r "src/config.in" ] || ( cd . && autoheader )
>
>
> OK, can?t you see (further up) what exactly fails?
cd nextstep && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean
rm -rf /Users/roadie/src/aquamacs-emacs/nextstep/Aquamacs.app
[ -r "src/config.in" ] || ( cd . && autoheader )
cd lib && /Applications/Xcode.app/Contents/Developer/usr/bin/make all \
CC='gcc' CFLAGS='-O0 -g -mmacosx-version-min=10.6' CPPFLAGS='' \
LDFLAGS='-O0 -g -mmacosx-version-min=10.6' MAKE='/Applications/Xcode.app/Contents/Developer/usr/bin/make'
rm -f alloca.h-t alloca.h && \
> What version of clang is being called? Is this a brew / macports installation?
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
>> so maybe I am just doing something wrong? Or could the compiled Gnu Emacs.app (not self-contained) that is linked in
>> via homebrew (/usr/local/Cellar/ emacs/24.3/) be a problem?
>
> No, but perhaps that it?s not using the Xcode compiler. Maybe there is some compiler incompatibility.
/Applications/Xcode.app/Contents/Developer/usr/bin/make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
……………….
Configured for `x86_64-apple-darwin13.3.0'.
Where should the build process find the source code? .
What compiler should emacs be built with? gcc -O0 -g -mmacosx-version-min=10.6
> - DR
does this shed some light? thank you for taking the time to look.
roadie
More information about the MacOSX-Emacs
mailing list