* Compilation error about org-protecting-blocks
@ 2009-06-14 5:42 Baoqiu Cui
2009-06-14 6:05 ` Carsten Dominik
0 siblings, 1 reply; 6+ messages in thread
From: Baoqiu Cui @ 2009-06-14 5:42 UTC (permalink / raw
To: emacs-orgmode
Hi,
I just did the following:
git pull
make clean
make all
but hit this error:
...
In toplevel form:
lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org-protecting-blocks
make: *** [lisp/org-exp.elc] Error 1
Is this a known problem?
Thanks,
Baoqiu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error about org-protecting-blocks
2009-06-14 5:42 Compilation error about org-protecting-blocks Baoqiu Cui
@ 2009-06-14 6:05 ` Carsten Dominik
2009-06-14 6:22 ` Baoqiu Cui
0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-06-14 6:05 UTC (permalink / raw
To: Baoqiu Cui; +Cc: emacs-orgmode
Fixed, thanks.
- Carsten
On Jun 14, 2009, at 7:42 AM, Baoqiu Cui wrote:
> Hi,
>
> I just did the following:
>
> git pull
> make clean
> make all
>
> but hit this error:
>
> ...
> In toplevel form:
> lisp/org-exp.el:31:1:Error: Symbol's value as variable is void:
> org-protecting-blocks
> make: *** [lisp/org-exp.elc] Error 1
>
> Is this a known problem?
>
> Thanks,
> Baoqiu
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error about org-protecting-blocks
2009-06-14 6:05 ` Carsten Dominik
@ 2009-06-14 6:22 ` Baoqiu Cui
2009-06-14 6:28 ` Carsten Dominik
0 siblings, 1 reply; 6+ messages in thread
From: Baoqiu Cui @ 2009-06-14 6:22 UTC (permalink / raw
To: emacs-orgmode
Hi Carsten,
Thanks for the quick fix. However the problem still exists on my
computer (running "GNU Emacs 22.3.1 (i386-apple-darwin9.5.0, Carbon
Version 1.6.0) of 2008-10-31 on leopard.local").
Here is what I got:
------------------------------------------------------------------------
$ pwd
/Users/bcui/elisp/org-mode
$ make update
...
In end of data:
org-compat.el:335:1:Warning: the function `add-local-hook' is not known to be
defined.
Wrote /Users/bcui/elisp/org-mode/lisp/org-compat.elc
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org-exp.el
Source file `/usr/local/share/emacs/site-lisp/org.el' newer than byte-compiled file
Source file `/usr/local/share/emacs/site-lisp/org-footnote.el' newer than byte-compiled file
Source file `/usr/local/share/emacs/site-lisp/org-agenda.el' newer than byte-compiled file
In toplevel form:
lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org-protecting-blocks
make[1]: *** [lisp/org-exp.elc] Error 1
make: *** [update] Error 2
------------------------------------------------------------------------
In directory "/usr/local/share/emacs/site-lisp/" I have some .el files
that are newer than the .elc files, but since I don't use them, I don't
think they are related.
Baoqiu
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Fixed, thanks.
>
> - Carsten
>
> On Jun 14, 2009, at 7:42 AM, Baoqiu Cui wrote:
>
>> Hi,
>>
>> I just did the following:
>>
>> git pull
>> make clean
>> make all
>>
>> but hit this error:
>>
>> ...
>> In toplevel form:
>> lisp/org-exp.el:31:1:Error: Symbol's value as variable is void:
>> org-protecting-blocks
>> make: *** [lisp/org-exp.elc] Error 1
>>
>> Is this a known problem?
>>
>> Thanks,
>> Baoqiu
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: Compilation error about org-protecting-blocks
2009-06-14 6:22 ` Baoqiu Cui
@ 2009-06-14 6:28 ` Carsten Dominik
2009-06-14 7:32 ` Baoqiu Cui
0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-06-14 6:28 UTC (permalink / raw
To: Baoqiu Cui; +Cc: emacs-orgmode
On Jun 14, 2009, at 8:22 AM, Baoqiu Cui wrote:
> Hi Carsten,
>
> Thanks for the quick fix. However the problem still exists on my
> computer (running "GNU Emacs 22.3.1 (i386-apple-darwin9.5.0, Carbon
> Version 1.6.0) of 2008-10-31 on leopard.local").
>
> Here is what I got:
>
> ------------------------------------------------------------------------
> $ pwd
> /Users/bcui/elisp/org-mode
> $ make update
> ...
> In end of data:
> org-compat.el:335:1:Warning: the function `add-local-hook' is not
> known to be
> defined.
> Wrote /Users/bcui/elisp/org-mode/lisp/org-compat.elc
> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-
> path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path)
> \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/
> org-exp.el
> Source file `/usr/local/share/emacs/site-lisp/org.el' newer than
> byte-compiled file
> Source file `/usr/local/share/emacs/site-lisp/org-footnote.el' newer
> than byte-compiled file
> Source file `/usr/local/share/emacs/site-lisp/org-agenda.el' newer
> than byte-compiled file
>
> In toplevel form:
> lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org-
> protecting-blocks
> make[1]: *** [lisp/org-exp.elc] Error 1
> make: *** [update] Error 2
> ------------------------------------------------------------------------
>
> In directory "/usr/local/share/emacs/site-lisp/" I have some .el files
> that are newer than the .elc files, but since I don't use them, I
> don't
> think they are related.
Well, something must be wrong here, because in org-exp.el I have
(require 'org)
(require 'org-agenda)
(require 'org-exp-blocks) ; this is line 31
org.el gets loaded before org-exp-blocks...
- Carsten
>
> Baoqiu
>
>
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> Fixed, thanks.
>>
>> - Carsten
>>
>> On Jun 14, 2009, at 7:42 AM, Baoqiu Cui wrote:
>>
>>> Hi,
>>>
>>> I just did the following:
>>>
>>> git pull
>>> make clean
>>> make all
>>>
>>> but hit this error:
>>>
>>> ...
>>> In toplevel form:
>>> lisp/org-exp.el:31:1:Error: Symbol's value as variable is void:
>>> org-protecting-blocks
>>> make: *** [lisp/org-exp.elc] Error 1
>>>
>>> Is this a known problem?
>>>
>>> Thanks,
>>> Baoqiu
>>>
>>>
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Remember: use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error about org-protecting-blocks
2009-06-14 6:28 ` Carsten Dominik
@ 2009-06-14 7:32 ` Baoqiu Cui
2009-06-14 7:40 ` Carsten Dominik
0 siblings, 1 reply; 6+ messages in thread
From: Baoqiu Cui @ 2009-06-14 7:32 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On Jun 14, 2009, at 8:22 AM, Baoqiu Cui wrote:
>
>> Hi Carsten,
>>
>> Thanks for the quick fix. However the problem still exists on my
>> computer (running "GNU Emacs 22.3.1 (i386-apple-darwin9.5.0, Carbon
>> Version 1.6.0) of 2008-10-31 on leopard.local").
>>
>> Here is what I got:
>>
>> ------------------------------------------------------------------------
>> $ pwd
>> /Users/bcui/elisp/org-mode
>> $ make update
>> ...
>> In end of data:
>> org-compat.el:335:1:Warning: the function `add-local-hook' is not
>> known to be
>> defined.
>> Wrote /Users/bcui/elisp/org-mode/lisp/org-compat.elc
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-
>> path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path)
>> \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/
>> org-exp.el
>> Source file `/usr/local/share/emacs/site-lisp/org.el' newer than
>> byte-compiled file
>> Source file `/usr/local/share/emacs/site-lisp/org-footnote.el' newer
>> than byte-compiled file
>> Source file `/usr/local/share/emacs/site-lisp/org-agenda.el' newer
>> than byte-compiled file
>>
>> In toplevel form:
>> lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org-
>> protecting-blocks
>> make[1]: *** [lisp/org-exp.elc] Error 1
>> make: *** [update] Error 2
>> ------------------------------------------------------------------------
>>
>> In directory "/usr/local/share/emacs/site-lisp/" I have some .el files
>> that are newer than the .elc files, but since I don't use them, I
>> don't
>> think they are related.
>
> Well, something must be wrong here, because in org-exp.el I have
>
> (require 'org)
> (require 'org-agenda)
> (require 'org-exp-blocks) ; this is line 31
>
> org.el gets loaded before org-exp-blocks...
>
Found the problem. Some of the old elisp files (for version 6.24) in my
"/usr/local/share/emacs/site-lisp/" were loaded before the versions in
"/Users/bcui/elisp/org-mode".
Here is a patch to Makefile to fix this (just switch the order of two
directories):
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Makefile.diff --]
[-- Type: text/x-patch, Size: 614 bytes --]
diff --git a/Makefile b/Makefile
index e867e6b..9b48c98 100644
--- a/Makefile
+++ b/Makefile
@@ -29,8 +29,8 @@ infodir = $(prefix)/share/info
# Using emacs in batch mode.
BATCH=$(EMACS) -batch -q -no-site-file -eval \
- "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/\")) \
- (add-to-list (quote load-path) \"$(lispdir)\"))"
+ "(progn (add-to-list (quote load-path) \"$(lispdir)\") \
+ (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))"
# Specify the byte-compiler for compiling org-mode files
ELC= $(BATCH) -f batch-byte-compile
[-- Attachment #3: Type: text/plain, Size: 59 bytes --]
Please let me know if this is a good fix.
Thanks,
Baoqiu
[-- Attachment #4: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: Re: Compilation error about org-protecting-blocks
2009-06-14 7:32 ` Baoqiu Cui
@ 2009-06-14 7:40 ` Carsten Dominik
0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-06-14 7:40 UTC (permalink / raw
To: Baoqiu Cui; +Cc: emacs-orgmode
On Jun 14, 2009, at 9:32 AM, Baoqiu Cui wrote:
> Here is a patch to Makefile to fix this (just switch the order of two
> directories):
>
> diff --git a/Makefile b/Makefile
> index e867e6b..9b48c98 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -29,8 +29,8 @@ infodir = $(prefix)/share/info
> # Using emacs in batch mode.
>
> BATCH=$(EMACS) -batch -q -no-site-file -
> eval \
> - "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/
> \")) \
> - (add-to-list (quote load-path) \"$(lispdir)\"))"
> + "(progn (add-to-list (quote load-path) \"$(lispdir)\") \
> + (add-to-list (quote load-path) (expand-file-name \"./lisp/
> \")))"
>
> # Specify the byte-compiler for compiling org-mode files
> ELC= $(BATCH) -f batch-byte-compile
>
> Please let me know if this is a good fix.
Yes. Applied, thanks.
- Carsten
>
> Thanks,
> Baoqiu
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-06-14 7:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-14 5:42 Compilation error about org-protecting-blocks Baoqiu Cui
2009-06-14 6:05 ` Carsten Dominik
2009-06-14 6:22 ` Baoqiu Cui
2009-06-14 6:28 ` Carsten Dominik
2009-06-14 7:32 ` Baoqiu Cui
2009-06-14 7:40 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.