clisp-list

Hi CLISP-list inhabitants,
I've installed CLISP 2.48 for windows using the win32 http/SF link on
the right of http://clisp.cons.org/, and it won't run, because it
can't find "svm.dll". Any idea if/when that is being fixed, or where
to find (and put) the appropriate file?
Cheers,
Jonathan Johansen

On Tue, Aug 4, 2009 at 4:25 PM, Jonathan Johansen <framlingham@...> wrote:
>
> Hi CLISP-list inhabitants,
>
> I've installed CLISP 2.48 for windows using the win32 http/SF link on
> the right of http://clisp.cons.org/, and it won't run, because it
> can't find "svm.dll". Any idea if/when that is being fixed, or where
> to find (and put) the appropriate file?
Are you using the exe installer or the zip bundle? I assume below that
you are using the installer.
svm.dll is located in C:\Program Files\clisp-2.48\libsvm\svm.dll
(assuming clisp was installed to C:\Program Files\clisp-2.48).
I don't know why clisp is complaining like this, because it would
appear that svm was located in the same place in 2.47. (Did Yaroslav
link staticly against libsvm last time? Could that be the difference?)
But at any rate, there are two easy solutions to your problem:
* Copy svm.dll from clisp-2.48\libsvm to clisp-2.48\full . This way
you can run clisp normally.
* Use the base instead of full linking set. That is, invoke "clisp -K
base" instead of "clisp -K full" at the command line.
Other than that, I can only defer to Yaroslav (who built in the
installer) and Sam.
Hope this helps.
--
Elliott Slaughter
"Don't worry about what anybody else is going to do. The best way to
predict the future is to invent it." - Alan Kay

Elliott Slaughter schrieb:
> On Tue, Aug 4, 2009 at 4:25 PM, Jonathan Johansen <framlingham@...> wrote:
> But at any rate, there are two easy solutions to your problem:
>
> * Copy svm.dll from clisp-2.48\libsvm to clisp-2.48\full . This way
> you can run clisp normally.
> * Use the base instead of full linking set. That is, invoke "clisp -K
> base" instead of "clisp -K full" at the command line.
The reason is that windows cannot deal with symlinked dll's.
I sent a patch to clisp-devel some weeks ago to fix this.
--
Reini Urban
http://phpwiki.org/http://murbreak.at/

Reini Urban wrote:
>
> I also have the problem on cygwin that svm.dll is not found in
> /usr/lib/clisp-2.48/full/svm.dll, only at /usr/bin. So I'll put it
> there.
>
> It's loaded by the FFI, and apparently the pwd is of clisp.exe, not of lisp.exe.
I think this problem should not exist with dynamic modules because libsvm.fas
specifies the full path to svm.dll.

Reini Urban wrote:
> Elliott Slaughter schrieb:
>> On Tue, Aug 4, 2009 at 4:25 PM, Jonathan Johansen <framlingham@...> wrote:
>> But at any rate, there are two easy solutions to your problem:
>>
>> * Copy svm.dll from clisp-2.48\libsvm to clisp-2.48\full . This way
>> you can run clisp normally.
>> * Use the base instead of full linking set. That is, invoke "clisp -K
>> base" instead of "clisp -K full" at the command line.
>
> The reason is that windows cannot deal with symlinked dll's.
> I sent a patch to clisp-devel some weeks ago to fix this.
your patch replaced hard link with copy.