From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Re: Build issue with latest git version - org-crypt.el Date: Thu, 17 Sep 2009 07:19:36 +0100 Message-ID: <4AB1D4F8.7050709@manor-farm.org> References: <4AB13299.20608@comcast.net> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoALL-0006aX-5r for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:19:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoALF-0006aJ-Sl for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:19:46 -0400 Received: from [199.232.76.173] (port=50110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoALF-0006aG-Oa for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:19:41 -0400 Received: from [217.146.125.41] (port=65058 helo=firewall.banter.local) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoALF-0003na-6a for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:19:41 -0400 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id EB85DD348 for ; Thu, 17 Sep 2009 07:19:38 +0100 (BST) Received: from firewall.banter.local ([127.0.0.1]) by localhost (firewall.banter.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h5ammjDJLQ61 for ; Thu, 17 Sep 2009 07:19:37 +0100 (BST) Received: from [192.168.0.55] (unknown [192.168.0.55]) by firewall.banter.local (Postfix) with ESMTPSA id 2A62CD346 for ; Thu, 17 Sep 2009 07:19:37 +0100 (BST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: emacs-orgmode@gnu.org >> Mark Elston 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/info >> >> BATCH=$(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 files > > epg 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 1 I 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.