[Installation Problem] - 'Cannot open load file, mu4e'

1,020 views
Skip to first unread message

steven

unread,
Oct 9, 2012, 9:29:01 AM10/9/12
to mu-di...@googlegroups.com
Hello folks.

I attempted to install mu4e on ArchLinux this morning and ran into some problems.  I cloned v.99 via github according to the instructions instructions [1] and ensured all the dependancies were met.  'Mu' and 'offlineimap' are playing nicely - and doing things like 'mu find foo' works. 

It's when I reload emacs, I cannot open 'mu4e'.  It doesn't appear as an option in 'M-x' and throws an error for the code in 'init.el' with:
'Cannot open load file, mu4e'.

So I reran the installation and noted the lisp files were put in /usr/shared/emacs/site-lisp/mu4e.  I copied these to my ~/.emacs.d/ folder and all is well.  I'm just curious why what I did worked.

Thanks for the help, this is a rad project.

- steven

Dirk-Jan C. Binnema

unread,
Oct 9, 2012, 11:41:30 AM10/9/12
to mu-di...@googlegroups.com

On Tue, Oct 09 2012, steven wrote:

> Hello folks.
>
> I attempted to install mu4e on ArchLinux this morning and ran into some
> problems. I cloned v.99 via github according to the instructions
> instructions [1] and ensured all the dependancies were met. 'Mu' and
> 'offlineimap' are playing nicely - and doing things like 'mu find foo'
> works.
>
> It's when I reload emacs, I cannot open 'mu4e'. It doesn't appear as an
> option in 'M-x' and throws an error for the code in 'init.el' with:
> 'Cannot open load file, mu4e'.
>
> So I reran the installation and noted the lisp files were put in
> /usr/shared/emacs/site-lisp/mu4e. I copied these to my ~/.emacs.d/ folder
> and all is well. I'm just curious why what I did worked.

Is that a typo -- shouldn't it be "/usr/share/emacs/site-lisp/mu4e"
(i.e.. share not shared)?

Anyway, it looks as if mu4e is not in your load-path. It should be,
normally, but maybe emacs is set up a bit differently in ArchLinux.

You could try to explicitly add it to the load-path in your config:
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")

> Thanks for the help, this is a rad project.

Thanks -- and welcome to the club!

Best wishes,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

Steven Race

unread,
Oct 9, 2012, 11:06:24 PM10/9/12
to mu-di...@googlegroups.com
Ah, thanks for the explanation.  I have it sorted now.

- steven
Reply all
Reply to author
Forward
0 new messages