Do:xcode-select —installand run configure with —with-ns —without-xJan D.24 nov 2014 kl. 09:54 skrev Yen Chieh Chern <angelchern@gmail.com>:Hello there,I have the latest Xcode 6.1 installed and Mac OS X 10.10.1. When I compiled from source (git clone -b emacs-24 git://git.savannah.gnu.org/emacs.git) with flag --with-ns, I got the following error,...checking for X... libraries /usr/X11/lib, headers /usr/X11/includechecking AppKit/AppKit.h usability... nochecking AppKit/AppKit.h presence... nochecking for AppKit/AppKit.h... noconfigure: error: `--with-ns' was specified, but the include files are missing or cannot be compiled.I can confirm that AppKit.h exists under/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.hI also tried the following as mentioned in bug#18779 but it won't help.ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/includeI am not sure if it is due to 10.10.1 upgrade, please let me know if there is a workaround.Thanks,CYC