emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Problem with make and autoloads


From: Achim Gratz
Subject: Re: [O] Problem with make and autoloads
Date: Thu, 02 Jun 2011 22:49:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Matt Lundin <address@hidden> writes:
> They are the default values (i.e., I have not changed anything).
[...]
> Note: I do not run "make install". My normal routine is to run "make
> clean && make".

Yes, I noted this, I was just poking around to see where the build
process might pick up that extra "lisp/" in org-install.  On another
note, where is that org-install located?  Could it be you have maybe two
of them and Emacs picks up the wrong one?  The end of the make should
look something like this (watch the linewraps:

emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name 
\"./lisp/\") (cons \"<<$lispdir>>\" load-path)))" --eval "(require 'autoload)" \
        --eval '(find-file "org-install.el")'  \
        --eval '(erase-buffer)' \
        --eval '(mapc (lambda (x) (generate-file-autoloads (symbol-name x))) 
(quote (lisp/org.el <<...>> lisp/ob-scheme.el)))' \
        --eval '(insert "\n(provide (quote org-install))\n")' \
        --eval '(save-buffer)'
Loading vc-git...
Generating autoloads for lisp/org.el...
...
Saving file <<.>>/org-install.el...
Wrote <<.>>/org-install.el
mv org-install.el lisp
^^^maybe the file is not moved at all or can't be deleted?
emacs -batch -q -no-site-file -eval "(setq load-path (cons
(expand-file-name \"./lisp/\") (cons \"<<$lispdir>>\" load-path)))" -f 
batch-byte-compile lisp/org-install.el
Wrote <<...>>/lisp/org-install.elc

If this does not happen after you've removed both org-install.el and
org-install.elc and then do another make, then somethings is very wrong.
My guess is that you have a stray org-install.el in <<.>> (make clean
probably should remove it both here and in ./lisp, but doesn't).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html




reply via email to

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