Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Language::Prolog::Yaswi

by reneeb (Chaplain)
on Jan 25, 2006 at 05:15 UTC ( [id://525372]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Language::Prolog::Yaswi
in thread Language::Prolog::Yaswi

I've installed the ppm package built by Randy, but now I get the error "Can't find PL_memory_wrap" in "perl58.dll". And then "Can't load 'C:/usr/sit/lib/auto/Language/Prolog/Yaswi/Low/Low.dll' for module Language::Prolog::Yaswi::Low: load_file: Can't find ... at C:/usr/lib/XSLoader lin 68."
What can I do??

I am using Perl 5.8.6 on Windows and the ppm that does cover Language::Prolog::Yaswi 0.08

Replies are listed 'Best First'.
Re^6: Language::Prolog::Yaswi
by syphilis (Archbishop) on Jan 26, 2006 at 01:22 UTC
    Heh ... you are having fun, aren't you.
    You won't find "PL_memory_wrap" in any perl58.dll prior to version 5.8.7. My guess is that Randy has built the ppm using perl 5.8.7 and that, for an L::P::Y that's going to be run on an earlier perl 5.8.x, you need to build L::P::Y with an earlier perl 5.8.x. I could build a ppm using perl 5.8.6 and send you that (if you tell me where to send it).

    As for the inability to load Low.dll, I guess that's the message you see after you acknowledge the pop-up complaining about the absence of "PL_memory_wrap" - which would indicate that it's just a consequence of that "PL_memory_wrap" error. (ie, if the "PL_memory_wrap" issue is addressed, I expect that "Low.dll" error will go away.) Other than that - what does the error message tell you that it "Can't find" ? Is pl\bin in your path ?

    C:/usr/lib/XSLoader looks like a Cygwin path, rather than the location one would expect for XSLoader in a "native" Windows environment. Are you using the ppm with your Cygwin perl ? Does that work reliably ? My notion is that there could be problems in trying to use "native" Windows binaries in the Cygwin environment - but I've little experience with Cygwin and really don't know.

    Cheers,
    Rob
      Hi Rob,

      yeah, it is a lot of fun to have trouble with just one module for more than two weeks *g*

      It's not a cygwin path and I am not using ppm with my cygwin perl. I've installed the ActiveState Perl to C:/usr/ to keep #!/usr/bin/perl as the shebang...

      Cheers,
      Renee
        Yep - then it looks to me that all you have to do is use a Language-Prolog-Yaswi-0.08 that has been built using a version of perl between 5.8.0 and 5.8.6 (inclusive) .... or update to perl 5.8.7 (in which case Randy's ppm should work fine).

        As regards the first of those 2 options, my offer still stands.

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://525372]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found