in reply to Class::MOP and MOP.dll

What output do you get if you type the command:

dumpbin /exports C:/Perl/site/lib/auto/Class/MOP/MOP.dll

You shoudl see something like:

Dump of file \perl\site\lib\auto\Class\MOP\MOP.dll File Type: DLL Section contains the following exports for MOP.dll 00000000 characteristics 481C00C5 time date stamp Sat May 03 07:05:57 2008 0.00 version 1 ordinal base 2 number of functions 2 number of names ordinal hint RVA name 1 0 000012E4 _boot_Class__MOP 2 1 000012E4 boot_Class__MOP Summary 1000 .data 1000 .rdata 1000 .reloc 1000 .text

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^2: Class::MOP and MOP.dll
by ikegami (Patriarch) on Oct 11, 2008 at 05:06 UTC

    I previously tried to install XML::LibXML from Trouchelle and I got the same error.

    >perl -e"use XML::LibXML;" Can't load 'c:/Progs/perl588/site/lib/auto/XML/LibXML/LibXML.dll' for +module XML::LibXML: load_file:The specified procedure could not be fo +und at c:/Progs/perl588/lib/DynaLoader.pm line 230. at c:/Progs/perl588/site/lib/XML/LibXML.pm line 116 BEGIN failed--compilation aborted at c:/Progs/perl588/site/lib/XML/Lib +XML.pm line 116. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.

    What the OP didn't specify is that Windows displays a dialog saying

    The procedure entry point Perl_newXS_flags could not be located in the + dynamic link library perl58.dll

    for Class::MOP and

    The procedure entry point Perl_sv_2iv_flags could not be located in th +e dynamic link library perl58.dll

    for XML::LibXML.

    >dumpbin /imports c:/Progs/perl588/site/lib/auto/Class/MOP/MOP.dll | f +ind "newXS" 3EF Perl_newXS_flags >dumpbin /exports c:/Progs/perl588/bin/perl58.dll | find "newXS" 965 3C4 0001C8CF Perl_newXS

    I just found a web site that suggests upgrading to build 822 or higher.

    >perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 25 registered patches, see perl -V for more detail) Copyright 1987-2006, Larry Wall Binary build 817 [257965] provided by ActiveState http://www.ActiveSta +te.com Built Mar 20 2006 17:54:25 ...

    Testing. Will post results.

      Success!
      >perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 12 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 824 [287188] provided by ActiveState http://www.ActiveSta +te.com Built Sep 3 2008 11:14:55 ... >perl -e"use Class::MOP" >perl -e"use XML::LibXML" >
      I believe this sort of problem would be avoided if the trouchelle rep's ppm packages were all built using perl-5.8.0.

      I have Serguei's email address - I'll drop him a note.

      Cheers,
      Rob

        But doesn't that just re-create all the problems and critisisms of AS' repository?

        Ie. That any package that has dependancies upon post 5.8.0 updates to the core and/or core modules fail to build.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
      What the OP didn't specify is that Windows displays a dialog saying The procedure entry point Perl_newXS_flags could not be located in the dynamic link library perl58.dll

      Yes. That was the information I was after. I offered to send him a copy of dumpbin.exe, but he never took me up on it.

      Still, no need now, you've got this well sussed.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        Am I 'OP'? If so, I can't seem to find any info on how/where to get dumpbin.exe. I apologize, as after my last post, I ended up leaving for the weekend with no internet access, so I am back and still have problems. I don't think I can use this solution, because I already have build 822...
Re^2: Class::MOP and MOP.dll
by mpettis (Beadle) on Oct 10, 2008 at 23:22 UTC
    I don't seem to have 'dumpbin' on my system... where do i get it?