|
From: Roland S. <ma...@ro...> - 2016-01-26 23:19:45
|
Jaime's proposal:
(%i1) :lisp (ql:quickload swank) => There is no package with name QL
Windows has a general problem with finding things, it seems.
When I try to
(%i1) load ("C:\quicklisp\asdf.lisp"); => file_search1: C:quicklispasdf.lisp not found in file_search_maxima,
file_search_lisp.
That's nasty! \\ instead of \ does not help, either.
When I copy asdf.lisp into a path known by file_search_maxima, I can load it then. And then the pushnew works!
But already in the next line I get the well-known answer:
(%i2) :lisp (require :swank) => "Load: a file with name SWANK does not exist"
Again, windows does not find the stuff. But don't I have to tell him, where to find ql, swank, or asdf?
>From your last mail, you think it is a problem of clisp? I remember now that in the installation instruction for my
emacs they told about clisp 2.49 (the one presently used by maxima) having a problem with path finding under windows.
That's why they proposed to do the emacs installation on the basis of clisp 2.48, what I actually did. But that would
not hold for your system, you don't use windows. But maybe the problem affects more than just windows.
Could you possibly see what your clisp (2.49 ?) does with the 2. and 3. line of startswank in your environment?
My impression is, that some kind of default path is not working or set correctly with clisp or windows, or that always
some explicit path has to come with the file name. But I don't know how in lisp this would be done.
Best regards,
Roland
> -----Original Message-----
> From: Michel Talon [mailto:ta...@lp...]
> Sent: Tuesday, January 26, 2016 11:26 PM
> To: Roland Salz
> Cc: Maxima discuss
> Subject: Re: [Maxima-discuss] Emacs environment for lisp and maxima under windows
>
>
>
> Le 26/01/2016 22:34, Roland Salz a écrit :
> > The reason for startswank.lisp not being loaded is the first line of its content.
> > If instead of loading startswank.lisp I execute the first line under maxima manually:
> > :lisp (pushnew "C:/quicklisp/dists/quicklisp/software/slime-2.14/"
> > asdf:*central-registry*);
> >
> > I get: "there is no package with name "ASDF"
> > But in my C:/quicklisp/ there is a file asdf.lisp which is the "ASDF
> > 2.26 Another System Definition Facility". It contains a variable #:*central-registry*.
> > And in .../slime2.14/contrib/ there is a file slime-asdf.el and a swank-asdf.lisp.
> >
> > So I guess the functionality is there. Don't see what the command is missing. Any path, maybe?
> I was suspecting that. Quicklisp comes with asdf.lisp because it uses asdf to do his job. This doesn't mean it is
installed in
> your lisp system permanently. Perhaps you just have to (load "asdf.lisp") from the lisp system, for example from
clisp. If
> you want to have an idea about asdf, read the page <https://common-lisp.net/project/asdf/#documentation>
https://common-lisp.net/project/asdf/#documentation
> From what they say you may just (with clisp) (require "asdf") at the beginning of startswank.lisp Then the variable
> asdf:*central-registry* should be known.
> After that (require :swank) should load and compile swank and finally (swank:create-server :port 4005 :dont-close t)
> should create the server port.
> You have a good idea of running these steps by hand first from maxima (of course using :lisp ()) to see what is going
on.
>
>
>
>
>
> --
> Michel Talon
|