From: Andrew C. <ak...@sh...> - 2002-04-08 14:17:32
|
> I am having trouble compiling emacs on mac osx. I have no problems > applying emacs-21.1-2.mac.patch but when I type './configure' I get > > checking host system type... powerpc-apple-darwin5.3 > checking for gcc... no > checking for cc... cc > checking whether the C compiler (cc ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > > I have installed the OSX developer's tools. Do I need to install gcc > separately? > > I tried running '.configure -without-gcc' which works but then make > complains with > > cc -fpascal-strings -fno-common -DMAC_OSX -I../mac/src > -DHAVE_CONFIG_H -I. -I../src -I/Users/jar1/emacs/emacs-21.1/lib-src > -I/Users/jar1/emacs/emacs-21.1/lib-src/../src -fpascal-strings > -fno-common -DMAC_OSX -I../mac/src -g -O2 -o test-distrib > /Users/jar1/emacs/emacs-21.1/lib-src/test-distrib.c > /usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field > make[1]: *** [test-distrib] Error 1 > make: *** [lib-src] Error 2 > > Any help would be much appreciated > > Julius Hi Julius, A few things to try: Type in a small C program and verify that your Developer Tools indeed work. Check the version of your Developer Tools and Mac OS X. Developer Tools for Mac OS X 10.0 will only work with Mac OS X 10.0 and those for 10.1 will only work for 10.1. You will need to install texinfo 4.0 (see the readme.txt file) before installing Emacs. Check whether the installation of texinfo works. Andrew. |