[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird build problem
From: |
Paul Pogonyshev |
Subject: |
Re: Weird build problem |
Date: |
Wed, 15 Sep 2004 21:17:10 -0200 |
User-agent: |
KMail/1.4.3 |
> > Why doesn't it get the dolist macro from subr.el?
> > That is what it is supposed to get.
>
> No idea.
>
> Can you investigate why not? Without that, we won't understand the
> problem.
I tried, but I cannot reproduce the problems now.
> In any case I managed to compile Emacs by editing
> `EMACSLOADPATH' in `lisp/Makefile'.
>
> What precisely was the change you made?
Patch (reconstructed by memory) is below. Not sure if it
is useful though, as I don't know under which conditions
the problem occurs.
Paul
--- Makefile.in 11 Jun 2004 00:39:50 -0200 1.56
+++ Makefile.in 15 Sep 2004 21:16:14 -0200
@@ -132,7 +132,7 @@ COMPILE_FIRST = \
# The actual Emacs command run in the targets below.
-emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT)
+emacs = EMACSLOADPATH="$(lisp):$(lisp)/emacs-lisp" $(EMACS) $(EMACSOPT)
# Common command to find subdirectories
@@ -157,12 +157,12 @@ $(lisp)/cus-load.el:
custom-deps: $(lisp)/cus-load.el doit
wd=$(lisp); $(setwins_almost); \
echo Directories: $$wins; \
- $(EMACS) $(EMACSOPT) -l cus-dep --eval '(setq
generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f
custom-make-dependencies $$wins
+ $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file
"$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins
finder-data: doit
wd=$(lisp); $(setwins_almost); \
echo Directories: $$wins; \
- $(EMACS) $(EMACSOPT) -l finder --eval '(setq
generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f
finder-compile-keywords-make-dist $$wins
+ $(emasc) -l finder --eval '(setq generated-finder-keywords-file
"$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins
$(lisp)/loaddefs.el:
echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@
@@ -177,7 +177,7 @@ $(lisp)/loaddefs.el:
autoloads: $(lisp)/loaddefs.el doit
wd=$(lisp); $(setwins); \
echo Directories: $$wins; \
- $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file
"$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
+ $(emacs) -l autoload --eval '(setq generated-autoload-file
"$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
$(lisp)/subdirs.el:
$(MAKE) $(MFLAGS) update-subdirs
@@ -281,7 +281,7 @@ compile-after-backup: backup-compiled-fi
# .elc is present.
recompile: doit $(lisp)/progmodes/cc-mode.elc
- $(EMACS) $(EMACSOPT) --eval "(batch-byte-recompile-directory 0)" $(lisp)
+ $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp)
# CC Mode uses a compile time macro system which causes a compile time
# dependency in cc-mode.elc on the macros in cc-langs.el and the
@@ -290,7 +290,7 @@ $(lisp)/progmodes/cc-mode.elc: \
$(lisp)/progmodes/cc-mode.el \
$(lisp)/progmodes/cc-langs.el \
$(lisp)/progmodes/cc-defs.el
- $(EMACS) $(EMACSOPT) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
+ $(emacs) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
# Prepare a bootstrap in the lisp subdirectory.
#