|
From: | Ian Barton |
Subject: | Re: [Orgmode] Re: Build issue with latest git version - org-crypt.el |
Date: | Thu, 17 Sep 2009 07:19:36 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
Mark Elston <address@hidden> writes:However, for those who won't be using org-crypt as a normal part of their daily operation it is probably simpler to make the build/installation of org-crypt optional. That way the normal maintenance for those who do "simple" things stays, uh, simple.I also think that org-crypt should be optional, or at least put in the contrib directory. I didn't realize it was going to cause build issues. That said, here is a patch for the Makefile so I could build the latest org-mode: diff --git a/Makefile b/Makefile index f1b541b..085951d 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ infodir = $(prefix)/share/infoBATCH=$(EMACS) -batch -q -no-site-file -eval \"(progn (add-to-list (quote load-path) \"$(lispdir)\") \ + (add-to-list (quote load-path) \"$(lispdir)/epg\") \ (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" # Specify the byte-compiler for compiling org-mode filesepg is not part of older versions of Emacs, look like mark is using Emacs 22?I have changed org-crypt.el so that it will compile without loading epg. So an error will only happen if anyone actually uses it.
I am still getting this problem with the latest git version:emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) \"~/.emacs-lisp/org\") (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-crypt.el
In toplevel form: lisp/org-crypt.el:69:1:Error: Cannot open load file: epg make: *** [lisp/org-crypt.elc] Error 1I have both emacs 22 and emacs 23 (the Ubuntu packages installed). I removed the easypg package for emacs 22 because it conflicts with the built in support for gpg in emacs 23.
I assume my problem is caused by having both emacs 22 and 23 installed. Ian.
[Prev in Thread] | Current Thread | [Next in Thread] |