You probably have X Window installed on your system and the configure script detects and tries to use it. Currently the patch is only able
to use the Carbon API.
Would you please try running `./configure --without-x' instead?
Andrew.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Right now I am using 20.7 under XDarwin. I'd like to try 21.1 under carbon or XDarwin.
Here's a compiling problem report. Thanks in advance for any help.
I've got MacOS X 10.1.2 with the december release of the developer tools installed
I got a copy of emacs-21.1.tar.gz from ftp.gnu.org.
Grabbed emacs-21.1-2-mac.patch from here:
http://www.cse.cuhk.edu.hk/~akochoi/emacs/macosx/
patched the distribution, ran configure, and then make.
make exited while compiling this:
cc -c -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/stephen/devtools/emacs-21.1/src -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -I/usr/X11R6/include -Dtemacs -g -O2 dispnew.c
with these errors:
macterm.h:234: redefinition of `struct x_output'
xterm.h:396: previous definition of `struct x_output'
macterm.h:405: redefinition of `struct relief'
xterm.h:575: previous definition of `struct relief'
macterm.h:513: redefinition of `struct scroll_bar'
xterm.h:707: previous definition of `struct scroll_bar'
make[1]: *** [dispnew.o] Error 1
make: *** [src] Error 2
Hi Stephen,
You probably have X Window installed on your system and the configure script detects and tries to use it. Currently the patch is only able
to use the Carbon API.
Would you please try running `./configure --without-x' instead?
Andrew.