[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Cleaning up my org setup, using version from git
From: |
Nick Dokos |
Subject: |
Re: [O] Cleaning up my org setup, using version from git |
Date: |
Fri, 22 Mar 2013 18:27:33 -0400 |
Marcelo de Moraes Serpa <address@hidden> wrote:
> On Fri, Mar 22, 2013 at 3:35 PM, Thomas S. Dye <address@hidden> wrote:
>
> Did you `make autoloads'?
> Yes,
>
> org git:(master): make autoloads
> ======================================================
> = Invoke "make help" for a synopsis of make targets. =
> = Created a default local.mk template. =
> = Setting "oldorg" as the default target. =
> = Please adapt local.mk to your local setup! =
> ======================================================
> End of file during parsing
> make: [local.mk] Error 255 (ignored)
> make -C lisp autoloads
> rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
> org-install.elc
> org-version: 8.0-pre (release_8.0-pre-150-g412d98)
> End of file during parsing
> make[1]: *** [org-version.el] Error 255
> make: *** [autoloads] Error 2
>
Well, you issued the command but the make failed. So you need to
investigate why it is failing. `make autoloads' removes some existing
files and then tries to rebuild them. One of those is org-loaddefs.el -
the fact that you don't have it shows that the rebuild failed.
The rebuild is done by this rule in lisp/Makefile:
,----
| autoloads: cleanauto addcontrib $(LISPI) $(LISPV)
|
| $(LISPV): $(LISPF)
| @echo "org-version: $(ORGVERSION) ($(GITVERSION))"
| @$(RM) $(@)
| @$(MAKE_ORG_VERSION)
`----
and MAKE_ORG_VERSION is defined in mk/default.mk:
,----
| # Using emacs in batch mode.
| # BATCH = $(EMACS) -batch -vanilla # XEmacs
| BATCH = $(EMACS) -batch -Q
|
| # Emacs must be started in lisp directory
| BATCHL = $(BATCH) \
| --eval '(add-to-list '"'"'load-path ".")'
|
| # How to generate org-version.el
| MAKE_ORG_VERSION = $(BATCHL) \
| --eval '(load "org-compat.el")' \
| --eval '(load "../mk/org-fixup.el")' \
| --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)"
"$(datadir)")'
`----
But you have a syntax error in some file (End of file during parsing - as I
said,
probably a missing paren or some such) that causes emacs to exit abnormally.
Nick
- [O] Cleaning up my org setup, using version from git, Marcelo de Moraes Serpa, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Nick Dokos, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Marcelo de Moraes Serpa, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Thomas S. Dye, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Marcelo de Moraes Serpa, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Thomas S. Dye, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Marcelo de Moraes Serpa, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git, Nick Dokos, 2013/03/22
- Re: [O] Cleaning up my org setup, using version from git,
Nick Dokos <=