Beefy Boxes and Bandwidth Generously Provided by pair Networks
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
in thread Unable to build and test Algorithm::SVM module on Windows 10 with Perl v.5.30.1 by zubenel0

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found