emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making of Carbon Emacs fails


From: Peter Dyballa
Subject: Making of Carbon Emacs fails
Date: Thu, 10 Mar 2005 20:35:52 +0100

Hello!

After having solved a few days ago the early death of make I updated the sources from CVS because Ken'ichi HANDA has fixed a problem with ispell. Now making stops here (is this the same error that you found before, Jake?):

echo "dispnew.o frame.o scroll.o xdisp.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o mac.o macterm.o macfns.o macmenu.o fontset.o fringe.o image.o terminfo.o lastfile.o mktime.o " > buildobj.lst gcc -I/sw/include -L/sw/lib -prebind -framework Carbon -framework QuickTime -Xlinker -headerpad -Xlinker 690 -L/Users/pete/Quellen/Emacs_CVS/emacs/mac/../lib-src -L. -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o mac.o macterm.o macfns.o macmenu.o fontset.o fringe.o image.o terminfo.o lastfile.o mktime.o -lncurses
        gcc: pre-crt0.o: No such file or directory
        make[1]: *** [temacs] Error 1
        make: *** [src] Error 2
        Make failed... Aborting make-package.

Going to emacs/src and trying that gcc invocation I get:

gcc: mac.o: No such file or directory
gcc: macterm.o: No such file or directory
gcc: macfns.o: No such file or directory
gcc: macmenu.o: No such file or directory

And this is true: these files do not exist yet! (Only their C sources.) The reason is obvious: there is no target to compile the files specified in the macro MAC_OBJ -- even this macro does not exist in Makefile! OK, they're defined in Makefile.c! It's only that I don't understand why Makefile.c makes something to compile ... OK, it went in emacs/src and, in tcsh, simply programmed:

        foreach Datei ( mac.o macterm.o macfns.o macmenu.o )
env CC='gcc -I/sw/include -L/sw/lib' CFLAGS='-I/sw/include' CPPFLAGS='-fpascal-strings -fno-common -DMAC_OSX -I../mac/src -I/sw/include' LDFLAGS='-L/sw/lib' make $Datei
        end

but only errors about tons of header files not found ... OK, I can do it the hard way too and check the log or output of make-package. There I found this invocation:

gcc -I/sw/include -L/sw/lib -c -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -I/sw/include -Demacs -DHAVE_CONFIG_H -I. -I/Users/pete/Quellen/Emacs_CVS/emacs/mac/../src -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -Dtemacs -I/sw/include /Users/pete/Quellen/Emacs_CVS/emacs/mac/../src/mac.c
        
but again tons of header files not found:
        
/Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:54:19: Files.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:55:22: MacTypes.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:56:23: TextUtils.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:57:21: Folders.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:58:23: Resources.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:59:21: Aliases.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:60:21: FixMath.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:61:19: Timer.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:62:17: OSA.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:63:25: AppleScript.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:64:19: Scrap.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:65:20: Events.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:66:23: Processes.h: No such file or directory /Users/pete/Quellen/Emacs_CVS/emacs/src/mac.c:67:18: EPPC.h: No such file or directory


Later more. Meanwhile I'll try to configure myself for a Carbon Emacs and see whether and how this is made!


In GNU Emacs 22.0.50.3 (powerpc-apple-darwin7.8.0, GTK+ Version 2.4.9)
 of 2005-03-10 on Latsche.local
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--without-carbon' '--with-x' '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-png' '--with-gif' '--with-gtk' '--with-x-toolkit=gtk' 'CFLAGS=-I/sw/include' 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  TeX-PDF-mode: t
  auto-compression-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  display-time-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

--
Greetings

  Pete

“I hope to die before I *have* to use Microsoft Word.”
     - Donald E. Knuth, 2001-10-02 in Tübingen.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]