all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Build issue with latest git version - org-crypt.el
@ 2009-09-16 18:46 Mark Elston
  2009-09-16 21:39 ` Peter Jones
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Elston @ 2009-09-16 18:46 UTC (permalink / raw)
  To: Org Mode List

Not so much a problem as an unexpected issue.

I read Eric's message about updating org-asymptote.el today
and thought I would get the latest to get this fix.  When I
went through the process of building I found it failed at the
org-crypt file since I didn't have epg.el on my system.

I found a copy of this file and thought I would try it and
see if that fixed the problem.  Alas, no.  It is part of a
bigger package - epa.

So I found this and tried to build/install it.  Oops. it
requires gpg to be installed to build it.

Fortunately, this is distributed with pre-compiled binaries
for Windows so installing it and modifying makefiles was
pretty simple to build epa.  I got that installed and
modified the makefile for org-mode so it can be found and
I am back up and running.

I also managed to do the same thing by deleting the org-crypt.el
line from the LISPF entry in the makefile.  Either would work for
me since I don't expect to use org-crypt regularly.  I went
through the above steps because I thought I might actually try
to play around with it for a while and see if it was of any
use to me.

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.

Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build issue with latest git version - org-crypt.el
  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
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Jones @ 2009-09-16 21:39 UTC (permalink / raw)
  To: emacs-orgmode

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

-- 
Peter Jones - 303-219-0226
pmade inc.  - http://pmade.com

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: Re: Build issue with latest git version - org-crypt.el
  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
  0 siblings, 2 replies; 7+ messages in thread
From: Carsten Dominik @ 2009-09-16 23:14 UTC (permalink / raw)
  To: Peter Jones; +Cc: emacs-orgmode


On Sep 16, 2009, at 10:39 PM, Peter Jones wrote:

> 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.

- Carsten

>
> -- 
> Peter Jones - 303-219-0226
> pmade inc.  - http://pmade.com
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Build issue with latest git version - org-crypt.el
  2009-09-16 23:14   ` Carsten Dominik
@ 2009-09-16 23:25     ` Mark Elston
  2009-09-17  6:19     ` Ian Barton
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Elston @ 2009-09-16 23:25 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik wrote:
> 
> epg is not part of older versions of Emacs, look like mark is using 
> Emacs 22?

Yeah.  22.3.1.  I tried 23 some time ago and had problems with some
of the packages I used routinely (I forget which ones right now).  So
I gave it up.  It was also a real hassle maintaining two separate
personal 'site-lisp' hierarchies...

Maybe its time to try it again.

> 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.

Thanks.

Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Build issue with latest git version - org-crypt.el
  2009-09-16 23:14   ` Carsten Dominik
  2009-09-16 23:25     ` Mark Elston
@ 2009-09-17  6:19     ` Ian Barton
  2009-09-17  6:59       ` Carsten Dominik
  1 sibling, 1 reply; 7+ messages in thread
From: Ian Barton @ 2009-09-17  6:19 UTC (permalink / raw)
  Cc: emacs-orgmode


>> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Build issue with latest git version - org-crypt.el
  2009-09-17  6:19     ` Ian Barton
@ 2009-09-17  6:59       ` Carsten Dominik
  2009-09-17  7:14         ` Ian Barton
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-09-17  6:59 UTC (permalink / raw)
  To: lists; +Cc: emacs-orgmode

I forgot to push, did it now...

- Carsten

On Sep 17, 2009, at 7:19 AM, Ian Barton wrote:

>
>>> 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.
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Build issue with latest git version - org-crypt.el
  2009-09-17  6:59       ` Carsten Dominik
@ 2009-09-17  7:14         ` Ian Barton
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Barton @ 2009-09-17  7:14 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik wrote:
> I forgot to push, did it now...
> 
Thanks. Now compiles without any errors.

Ian.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-17  7:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-09-17  6:59       ` Carsten Dominik
2009-09-17  7:14         ` Ian Barton

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.