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: *** [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.