Re: Cannot load swank
Ram Krishnan <[email protected]> Wed, 16 Oct 2024 23:08:33 -0700
| Newsgroups | gmane.comp.window-managers.stumpwm.devel |
|---|---|
| Message-ID | <CAOF159oLgc--BMeB7DmWs+mjVjKDvD6LmHSzuOftMFpMeU=zHg@mail.gmail.com> |
--000000000000df1d650624a60494 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From your description, it seems like there's a SBCL 2.3.7 somewhere in the system path. Running `whereis sbcl` should list out all available locations= . The other thing that has bitten me in the past is having an errant `SBCL_HOME` variable set in my environment, pointing to the wrong sbcl install directory. Anyway, hope you're able to isolate the issue - I can imagine it must be frustrating not being able to slime/sly connect to stumpwm. Good luck. On Wed, Oct 16, 2024 at 12:15=E2=80=AFAM mintz--- via <stumpwm-devel@nongnu= .org> wrote: > No, this error is not reproduced in SBCL. The file is compiled by the > correct version of SBCL, which is why I thought that SBCL version could b= e > hardcoded somewhere in Stumpwm. It doesn't seem to be the case, of course= . > Apparently, I'm struggling with my own absentmindedness and the problem i= s > mine. Sorry. > > > 11 Oct 2024, 22:42 by [email protected]: > > When I enable Swank in config, I get a strange message, saying that > file /usr/lib/sbcl/contrib/sb-cltl2.fasl "is a fasl file compiled with > SBCL 2.4.7.debian, and can't be loaded into SBCL 2.3.7.debian". > > > If you run SBCL in the terminal and try to quickload SWANK or SLYNK (or > just require sb-cltl2) do you get a similar error? > > If you do get the same error could you try removing SBCL from your > system (and ensuring the files are gone) and then reinstalling it? On my > system (void linux) the file `/usr/lib/sbcl/contrib/sb-cltl2.fasl` is > provided by the package `sbcl`. I'm unfamiliar with debian, but can you > use the package manager to find out what package provides that file and > see if it its version matches up with everything else? > > --szos > > --000000000000df1d650624a60494 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">From your description, it seems like there's a SBCL 2.= 3.7 somewhere in the system path. Running `whereis sbcl` should list out al= l available locations.<div></div><div><br></div><div>The other thing that h= as bitten me in the past is having an errant `SBCL_HOME` variable set in my= environment,=C2=A0pointing=C2=A0to the wrong sbcl install directory.</div>= <div><br></div><div>Anyway, hope you're able to isolate the issue - I c= an imagine it must be frustrating not being able to slime/sly connect to st= umpwm.</div><div><br></div><div>Good luck.</div></div><br><div class=3D"gma= il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Oct 16, 2024 at 12:= 15=E2=80=AFAM mintz--- via <<a href=3D"mailto:[email protected]">= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail= _quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204= ,204);padding-left:1ex"> =20 =20 =20 <div> <div dir=3D"auto">No, this error is not reproduced in SBCL. The file is com= piled by the correct version of SBCL, which is why I thought that SBCL vers= ion could be hardcoded somewhere in Stumpwm. It doesn't seem to be the = case, of course. Apparently, I'm struggling with my own absentmindednes= s and the problem is mine. Sorry.</div><div dir=3D"auto"><br></div><div dir= =3D"auto"><br></div><div dir=3D"auto">11 Oct 2024, 22:42 by <a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a>:<br></div><blockq= uote style=3D"border-left:1px solid rgb(147,163,184);padding-left:10px;marg= in-left:5px"><blockquote><div dir=3D"auto">When I enable Swank in config, I= get a strange message, saying that<br></div><div dir=3D"auto">file /usr/li= b/sbcl/contrib/sb-cltl2.fasl "is a fasl file compiled with<br></div><d= iv dir=3D"auto">SBCL 2.4.7.debian, and can't be loaded into SBCL 2.3.7.= debian".<br></div></blockquote><div dir=3D"auto"><br></div><div dir=3D= "auto">If you run SBCL in the terminal and try to quickload SWANK or SLYNK = (or<br></div><div dir=3D"auto">just require sb-cltl2) do you get a similar = error?<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">If you do get= the same error could you try removing SBCL from your<br></div><div dir=3D"= auto">system (and ensuring the files are gone) and then reinstalling it? On= my<br></div><div dir=3D"auto">system (void linux) the file `/usr/lib/sbcl/= contrib/sb-cltl2.fasl` is<br></div><div dir=3D"auto">provided by the packag= e `sbcl`. I'm unfamiliar with debian, but can you<br></div><div dir=3D"= auto">use the package manager to find out what package provides that file a= nd<br></div><div dir=3D"auto">see if it its version matches up with everyth= ing else?<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">--szos<br>= </div></blockquote> </div> </blockquote></div> --000000000000df1d650624a60494--