unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Slime/Melpa: Cannot open load file: no such file or directory, ../lib/macrostep
@ 2017-09-25  2:54 Emanuel Berg
  2017-09-25  3:09 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2017-09-25  2:54 UTC (permalink / raw)
  To: help-gnu-emacs

I just installed Slime from Melpa but when
I now byte compile Emacs it says,

    Error: Cannot open load file: no such file
    or directory, ../lib/macrostep.

The thing that might complicate matters is
I had SLIME from my package manager but reading
the manual where it said

    The easiest way to install and keep SLIME
    up-to-date is using Emacs's built-in
    package manager. SLIME is available from
    the MELPA repository. [1]

I did 'sudo aptitude purge slime' to get
a fresh start, then I installed via Melpa.

Still, what happened (?), shouldn't
happen, right?

[1] https://common-lisp.net/project/slime/doc/html/Installation.html

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

* Re: Slime/Melpa: Cannot open load file: no such file or directory, ../lib/macrostep
  2017-09-25  2:54 Emanuel Berg
@ 2017-09-25  3:09 ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2017-09-25  3:09 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg wrote:

> I just installed Slime from Melpa but when
> I now byte compile Emacs it says,
>
>     Error: Cannot open load file: no such file
> or directory, ../lib/macrostep.

OK, macrostep [1] is some software component
related to Lisp programming. I managed to get
away with the problem (the error message when
byte-compiling) by adding this to the load
path in the makefile:

    ~/.emacs.d/elpa/macrostep-20161120.1306

By the way, my Makefile [2] now has tons of
those appends to the load path.

Is this really how you do it?

How do you do it?

[1] https://github.com/joddie/macrostep
[2] http://user.it.uu.se/~embe8573/emacs-init/Makefile

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

* Re: Slime/Melpa: Cannot open load file: no such file or directory, ../lib/macrostep
       [not found] <mailman.61.1506975234.27995.help-gnu-emacs@gnu.org>
@ 2018-08-31 18:08 ` ri
  2018-08-31 18:14   ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: ri @ 2018-08-31 18:08 UTC (permalink / raw)
  To: help-gnu-emacs

On Monday, October 2, 2017 at 4:13:58 PM UTC-4, Emanuel Berg wrote:
> I just installed Slime from Melpa but when
> I now byte compile Emacs it says,
> 
>     Error: Cannot open load file: no such file
>     or directory, ../lib/macrostep.
> 
> The thing that might complicate matters is
> I had SLIME from my package manager but reading
> the manual where it said
> 
>     The easiest way to install and keep SLIME
>     up-to-date is using Emacs's built-in
>     package manager. SLIME is available from
>     the MELPA repository. [1]
> 
> I did 'sudo aptitude purge slime' to get
> a fresh start, then I installed via Melpa.
> 
> Still, what happened (?), shouldn't
> happen, right?
> 
> [1] https://common-lisp.net/project/slime/doc/html/Installation.html
> 
> -- 
> underground experts united
> http://user.it.uu.se/~embe8573

You should be able to fix this issue by adding (package-initialize) to the top of your Emacs init file. 

See https://emacs.stackexchange.com/questions/5828/why-do-i-have-to-add-each-package-to-load-path-or-problem-with-require-packag for details.


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

* Re: Slime/Melpa: Cannot open load file: no such file or directory, ../lib/macrostep
  2018-08-31 18:08 ` Slime/Melpa: Cannot open load file: no such file or directory, ../lib/macrostep ri
@ 2018-08-31 18:14   ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2018-08-31 18:14 UTC (permalink / raw)
  To: help-gnu-emacs

ri wrote:

> You should be able to fix this issue by
> adding (package-initialize) to the top of
> your Emacs init file.

I have/had (package-initialize) , so I don't
think that was the issue, but it just might,
however I don't remember what I was up to back
in October 2017 so I can't try it :) Well,
thanks anyway.

-- 
underground experts united
http://user.it.uu.se/~embe8573


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

end of thread, other threads:[~2018-08-31 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.61.1506975234.27995.help-gnu-emacs@gnu.org>
2018-08-31 18:08 ` Slime/Melpa: Cannot open load file: no such file or directory, ../lib/macrostep ri
2018-08-31 18:14   ` Emanuel Berg
2017-09-25  2:54 Emanuel Berg
2017-09-25  3:09 ` Emanuel Berg

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