From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Build issue with latest git version - org-crypt.el Date: Thu, 17 Sep 2009 07:59:53 +0100 Message-ID: References: <4AB13299.20608@comcast.net> <4AB1D4F8.7050709@manor-farm.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoAyK-00009A-Ql for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 03:00:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoAyF-00007h-V5 for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 03:00:04 -0400 Received: from [199.232.76.173] (port=38526 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoAyF-00007c-RT for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:59:59 -0400 Received: from mx20.gnu.org ([199.232.41.8]:32777) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoAyE-0000c5-PQ for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:59:59 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoAyC-0005Yr-Kz for emacs-orgmode@gnu.org; Thu, 17 Sep 2009 02:59:56 -0400 Received: by ewy7 with SMTP id 7so111373ewy.31 for ; Wed, 16 Sep 2009 23:59:55 -0700 (PDT) In-Reply-To: <4AB1D4F8.7050709@manor-farm.org> 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 To: lists@manor-farm.org Cc: emacs-orgmode@gnu.org I forgot to push, did it now... - Carsten On Sep 17, 2009, at 7:19 AM, Ian Barton wrote: > >>> 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. > > > _______________________________________________ > 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