emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@manor-farm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Build issue with latest git version - org-crypt.el
Date: Thu, 17 Sep 2009 07:19:36 +0100	[thread overview]
Message-ID: <4AB1D4F8.7050709@manor-farm.org> (raw)
In-Reply-To: <C9A11604-DCB8-4211-B52A-A9C946880C41@gmail.com>


>> Mark Elston <m_elston@comcast.net> 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.

  parent reply	other threads:[~2009-09-17  6:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 18:46 Build issue with latest git version - org-crypt.el Mark Elston
2009-09-16 21:39 ` Peter Jones
2009-09-16 23:14   ` Carsten Dominik
2009-09-16 23:25     ` Mark Elston
2009-09-17  6:19     ` Ian Barton [this message]
2009-09-17  6:59       ` Carsten Dominik
2009-09-17  7:14         ` Ian Barton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB1D4F8.7050709@manor-farm.org \
    --to=lists@manor-farm.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).