[OS X Emacs] Building Aquamacs 3.0a on OSX 10.5.8 Leopard

Robert L. Kirby kirby.bob at gmail.com
Sun Aug 31 19:41:57 EDT 2014


A "Changes--Aquamacs3.0a" list item of the downloads page <
http://aquamacs.org/download.shtml> says:
Aquamacs 3.0 is distributed as a binary for 64-bit Intel Macs only.  If you
would like to run Aquamacs on a 32-bit Mac, or a PowerPC based Mac, you may
still build it yourself from source, or use Aquamacs 2.5.

I hope to use a recent version of the CIDER package for Clojure 1.4.0 (or
1.5.0) on JVM 1.5. However, my 64-bit, Intel-Core-2-Duo MacBookPro4,1
running OSX 10.5.8 (leopard) cannot compile Aquamacs3.0a yet. Aquamacs2.4
can compile.

Installed xcode 3.1.4 from Mac OS X 10.5 installation DVD.
Installed git version 1.7.5.4 (from git-1.7.5.4-x86_64-leopard.dmg)
Installed autoconf (GNU Autoconf) 2.69 from the GNU web site (not
MacPorts), shadowing 2.61.
Installed automake (GNU automake) 1.14 from the GNU web site (not
MacPorts), shadowing 1.10.
git clone git://github.com/davidswelt/aquamacs-emacs.git (1.40 GiB on
August 27, 2014).
cd aquamacs-emacs
git clean -d -x -f
git checkout Aquamacs-3.0a
export MACOSX_DEPLOYMENT_TARGET="10.5"
./build-aquamacs
...
(which after many signedness warnings stops with an Objective-C error in
src/nsfns.m)
nsfns.m:2090: error: syntax error before '^' token
nsfns.m: At top level:
nsfns.m:2096: error: syntax error before '(' token
nsfns.m:2097: warning: type defaults to 'int' in declaration of
'unblock_input'
nsfns.m:2097: error: conflicting types for 'unblock_input' blockinput.h:58:
error: previous declaration of 'unblock_input' was here
nsfns.m:2097: warning: data definition has no type or storage class
nsfns.m:2098: error: syntax error before 'return' nsfns.m: In function
'odb_event':
nsfns.m:2949: warning: pointer targets in passing argument 1 of
'stringWithUTF8String:' differ in signedness
nsfns.m:2967: warning: pointer targets in passing argument 1 of
'stringWithUTF8String:' differ in signedness
nsfns.m: In function 'Fns_launch_url_with_default_browser':
nsfns.m:3072: warning: pointer targets in passing argument 2 of 'strncmp'
differ in signedness
nsfns.m:3101: warning: pointer targets in passing argument 2 of
'CFStringCreateWithCString' differ in signedness
nsfns.m: In function 'Fns_open_help_anchor':
nsfns.m:3713: warning: pointer targets in passing argument 1 of
'stringWithUTF8String:' differ in signedness
nsfns.m:3716: warning: pointer targets in passing argument 1 of
'stringWithUTF8String:' differ in signedness
make[1]: *** [nsfns.o] Error 1
make: *** [src] Error 2

git diff Aquamacs-2.4 Aquamacs-3.0a src/nsfns.m
...
- // [[FRAME_NS_VIEW (SELECTED_FRAME ()) window] makeKeyWindow];
- UNBLOCK_INPUT;
+ [panel beginSheetModalForWindow:[FRAME_NS_VIEW (SELECTED_FRAME ()) window]
+ completionHandler:
+ ^(NSInteger result) {
+ [((EmacsApp *) NSApp) savePanelDidEnd2: panel returnCode:result
contextInfo:current_buffer];
+
+ }];
+ // to do: move code from savePanelDidEnd2 here
+
...

The most recent MacPorts and GNU version numbers of autoconf and automake
were the same.

Bob Kirby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20140831/2bcdf4a4/attachment.html>


More information about the MacOSX-Emacs mailing list