Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I will summarise your situation so other people can use this simple hint in order to compile Algorithm::SVM. The error is that (C++'s) memcpy() is not found (during compilation) because of not including the right header in file bindings.cpp. The solution is to insert a #include <cstring> at the includes section of file bindings.cpp of said module. This was enough to install Algorithm::SVM in my Linux box. And I have also sent an bug-mail to the author. So that will bring Algorithm::SVM back to the living. In your case you have another problem with the linker, because of a mix-up of perl binaries and libraries. The perl executable you are using to build the module (perl Makefile.PL) is v5.12.3. But it's likely that you unzipped the new perl and its libraries to a folder which is searched first by the linker. And it finds first the libraries of the new Perl. If that's the case, you are in for lots more problems... I do not know what is the practice of having two perls in Windows. Or how does the linker work and how to check its search paths. I am sure some other fellow Monk will be able to advice you with that. In the meantime, perhaps using the newer Perl (by using its full path e.g. c:/sw/pdl/perl.exe) when you prepare the Makefile will work for you. bw, bliako In reply to Re: Unable to build and test Algorithm::SVM module on Windows 10 with Perl v.5.30.1
by bliako
|
|