2008-10-10 Emacs 23 on Mac OS 10.3

My old iBook still runs Mac OS 10.3 aka. Panther. I keep thinking about replacing it with GNU/Linux one of these days. For the moment, however, I still use it when Claudia sits at our Mac Mini.

As I have switched to Emacs 23 from CVS on all my major machines, I feel like trying it on my laptop, too. I recently built Emacs 22 for my laptop. Now I feel like I wasted time on that... Oh well. We’ll see whether this works as intended! :)

I discovered that I still have some old libraries in /opt/local – old DarwinPorts stuff? I must confess that these days I hardly use ports anymore. I just download pre-built binaries, or build from source. That’s how awesome the world has become. :)

So anyway, Emacs from CVS → build from source, haha.

CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' ./configure --with-gif=no --with-ns

Apparently all this Cocoa stuff is now called NextStep because of the move to the EmacsApp project. Yikes! No more CarbonEmacsPackage stuff!

Strange: As I discovered a while ago, the libraries are not really necessary. And yet .configure complained when it could not find them. I guess I should report that as a bug.

Trying to build it right now... Will report back.


In file included from nsfns.m:36:
keyboard.h:324: warning: redefinition of `Boolean'
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:255: warning: `Boolean' previously declared here
nsfns.m: In function `interpret_services_menu':
nsfns.m:293: warning: assignment from incompatible pointer type
nsfns.m: In function `ns_do_applescript':
nsfns.m:2042: error: `typeUTF16ExternalRepresentation' undeclared (first use in this function)
nsfns.m:2042: error: (Each undeclared identifier is reported only once
nsfns.m:2042: error: for each function it appears in.)
make[1]: *** [nsfns.o] Error 1
make: *** [src] Error 2

Do I report this as a bug?

Update: Doh, I discovered that all the CPPFLAGS etc. settings are not necessary. The only thing you need to use is with-ns.



Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.