From: Gilbert H. <ha...@Pr...> - 2002-06-22 15:03:17
|
Dear Andrew, Thanks for the suggestion. I was able to get it to work on my IBook but still not on my G4. (Both are using Mac OS 10.1.5.) Would it work to copy over the emacs directory created by on the IBook (by make bootstrap) to my G4? I haven't been able to figure out what goes wrong on the G4. The variables you mention do not seem to be defined because I get: [localhost:~/emacs] gilberth% echo $CFLAGS CFLAGS: Undefined variable. [localhost:~/emacs] gilberth% echo $cflags cflags: Undefined variable. [localhost:~/emacs] gilberth% echo $CCFLAGS CCFLAGS: Undefined variable. [localhost:~/emacs] gilberth% echo $ccflags ccflags: Undefined variable. [localhost:~/emacs] gilberth% echo $LDFLAGS LDFLAGS: Undefined variable. [localhost:~/emacs] gilberth% echo $ldflags ldflags: Undefined variable. In comparing the results of "make install" on the two systems, they are the same until line 95 at which point the IBook has: cc -c -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Demacs -DHAVE_CONFIG_H -I. -I/Users/gilberth/emacs/src -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Dtemacs -g -O2 termcap.c whereas the G4 has cc -c -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Demacs -DHAVE_CONFIG_H -I. -I/Users/gilberth/emacs/src -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Dtemacs -g -O2 tparam.c skipping the termcap.c line This makes a difference a couple lines later and then in the G4 I get a series of warnings that begins: /usr/bin/ld: warning prebinding disabled because dependent library: /usr/local/lib/libncurses.dylib.5 is not prebound Soon after that is a dump. On 6/21/02 11:01 PM, "Andrew Choi" <ak...@sh...> wrote: > It's very hard to guess what the problem might be from just that > information. You might like to check whether your shell start-up > files have set environment variables such as CFLAGS, CCFLAGS, and > LDFLAGS. This can confuse the build process. > > Since I already have checked the current version does build, the only > other suggestion I have is to start afresh. Perhaps first try: > > make distclean > ./configure --without-x > make bootstrap > > If that doesn't work, try deleting the entire directory, fetching > Emacs again from CVS and try: > > ./configure --without-x > make bootstrap > > Also if you have access to another machine, try building Emacs on > that. |