Malcolm Nooning wrote:
>I can confirm the incompatibility with ActiveState Perl 5.8.7.813. I
>don't like the idea of having problems with new Active State revisions
>as they become available, but it is of course going to happen from time
>to time. I don't know how to fix it. I am hoping someone out there in
>internet space is working on this problem. Hopefully this email will
>provide some hints.
>
>In the past 24 hours I installed Perl 5.8.7.813 and the newest free
>Microsoft Visual C++ Toolkit 2003 compiler. The Toolkit 2003 worked
>after I went into Config.pm and did
> # cc => 'cl',
> "c:Program FilesMicrosoft Visual C++ Toolkit 2003Binwin64cl.exe"
>In any case, this also worked:
> perl Makefile.PL
> nmake
> nmake test
> nmake install
>
>
I'm somewhat surprised to see that the above worked.
The Free Toolkit is the compiler/linker from VC++ 7, whereas ActivePerl
is built with VC++ 6. These two versions of the compiler depend on
different versions of the C RunTime DLL (msvcr71.dll and msvcrt.dll
respectively) and you will often have big problems trying to mix the two.
If you want to use the Free Toolkit for building XS modules then you
would be well advised to rebuild Perl with it too rather than using
ActivePerl.
I'm also somewhat concerned that your compiler path includes "win64"
which sounds like a 64-bit edition of the compiler, whereas ActivePerl
is 32-bit.
>[...]
>I used
> C:\aaa>pp -o pop_up_hello.exe -M Tk pop_up_hello.pl
>and I also tried without the " -M Tk " with the same results.
>
>The string
> "The procedure entry point PL_memory_wrap coult not be located in
>the dynamic link library perl58.dll"
>was popped up in a small window at the same time.
>
>
Your program builds using the pp command above and runs fine for me,
having built PAR-0.89 with VC++ 6, and using ActivePerl 813.
Perl 5.8.7's perl58.dll exports a symbol called PL_memory_wrap, but perl
5.8.6's perl58.dll does not. Are you getting your perl installations
mixed up? Did your rebuild of PAR really work OK? It sounds like your
pop_up_hello.exe thinks it should be running with 5.8.7's dll, but
actually finds itself running with 5.8.6's dll.
------------------------------------------------
Radan Computational Ltd.
The information contained in this message and any files transmitted with it are
confidential and intended for the addressee(s) only. If you have received this
message in error or there are any problems, please notify the sender
immediately. The unauthorized use, disclosure, copying or alteration of this
message is strictly forbidden. Note that any views or opinions presented in
this email are solely those of the author and do not necessarily represent
those of Radan Computational Ltd. The recipient(s) of this message should
check it and any attached files for viruses: Radan Computational will accept no
liability for any damage caused by any virus transmitted by this email.
|