[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Compilation problem
From: |
Nick Dokos |
Subject: |
Re: [O] Compilation problem |
Date: |
Mon, 10 Sep 2012 15:52:48 -0400 |
Alan Schmitt <address@hidden> wrote:
> Hello,
>
> I cannot compile the current version of org-mode (from git): something
> fails during testing:
>
> make test-dirty
> install -m 755 -d
> /var/folders/68/fvntfrw92y50gkk_67rkhsfw0000gn/T//tmp-orgtest
> TMPDIR=/var/folders/68/fvntfrw92y50gkk_67rkhsfw0000gn/T//tmp-orgtest
> /Applications/Emacs.app/Contents/MacOS/Emacs -batch -Q --eval '(add-to-list
> '"'"'load-path "./lisp")' --eval '(add-to-list '"'"'load-path "./testing")'
> -l org-install.el -l testing/org-test.el --eval '(require '"'"'ob-awk)'
> --eval '(require '"'"'ob-C)' --eval '(require '"'"'ob-fortran)' --eval
> '(require '"'"'ob-maxima)' --eval '(require '"'"'ob-lilypond)' --eval
> '(require '"'"'ob-octave)' --eval '(require '"'"'ob-python)' --eval '(require
> '"'"'ob-sh)' --eval '(setq org-confirm-babel-evaluate nil)' -f
> org-test-run-batch-tests
> Symbol's function definition is void: org-export-define-backend
> make[1]: *** [test-dirty] Error 255
>
> Here is my local.mk
>
> EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
> prefix=/Users/schmitta/.emacs.d/vendor
> SUDO =
> ORG_ADD_CONTRIB=org-checklist org-export org-e-*
> up2::
>
> Is this a (known) bug?
>
I can reproduce this. AFAIK, it's new - I stripped down the command line above
and kept
getting the error until the -l org-install.el, so it's clearly something in
org-install.el.
I modified the function org-make-org-install in org-fixup.el to add
(eval-when-compile (require 'org-export))
at the top of org-install.el and that did make the error go away, but Achim has
the
last word on whether that's a good solution or not (probably needs to be
conditional
on ORG_ADD_CONTRIB).
Even with that, ``make test'' failed later on with
,----
| ...
| OVERVIEW
| OVERVIEW
| Symbol's function definition is void: org-id-update-id-locations
| make: *** [test] Error 255
`----
I haven't chased that one down.
Nick
- [O] Compilation problem, Alan Schmitt, 2012/09/10
- Re: [O] Compilation problem, Achim Gratz, 2012/09/10
- Re: [O] Compilation problem,
Nick Dokos <=
- Re: [O] Compilation problem, Achim Gratz, 2012/09/10
- Re: [O] Compilation problem, Bastien, 2012/09/10
- Re: [O] Compilation problem, Achim Gratz, 2012/09/10
- Re: [O] Compilation problem, Bastien, 2012/09/10
- Re: [O] Compilation problem, Jambunathan K, 2012/09/10
- Re: [O] Compilation problem, Bastien, 2012/09/18
- Re: [O] Compilation problem, Carsten Dominik, 2012/09/18
- Re: [O] Compilation problem, Bastien, 2012/09/18
- Re: [O] Compilation problem, Nick Dokos, 2012/09/10
- Re: [O] Compilation problem, Alan Schmitt, 2012/09/11