Hi Steffen,
Thank you and Mark for your help and suggestions. Here is the result.
1. I tried using pp -d -o dbcompare.exe dbcompare.pl as suggested, and the compilation failed as follows:
C:\data\perl\dbcompare\_in_progress>pp -d -o dbcompare.exe dbcompare.p
l
Undefined subroutine &DynaLoader::bootstrap called at D:/cpanrun/build
/5-8-0/lib/XSLoader.pm line 111.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/Handle.
pm line 256.
BEGIN failed--compilation aborted at D:/cpanrun/build/5-8-0/lib/IO/Han
dle.pm line 256.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/Seekabl
e.pm line 101.
BEGIN failed--compilation aborted at D:/cpanrun/build/5-8-0/lib/IO/See
kable.pm line 101.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/File.pm
line 112.
BEGIN failed--compilation aborted at D:/cpanrun/build/5-8-0/lib/IO/Fil
e.pm line 112.
Compilation failed in require at -e line 305.
C:\data\perl\dbcompare\_in_progress>
2. So I went to the link you gave me and tried to pick the right package, but all I get is the following text in the browser and no links:
Perl Archive Tookit Audrey Tang (cpan@audreyt.org)
3. Not to be defeated, I went to the link in the Perl documentation for PAR,
http://par.perl.org/ , and clicked the download link for the latest release,
http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/PAR-0.942.tar.gz
I opened up the archive and ran Makefile.pl. Attached is a log of the result, which seemed to go rather well.
Full of hope, I tried pp again and... got exactly the same results. :-(
I'm hoping that, like me, you don't like to be beaten by a stupid machine and have some more suggestions of things to try.
Regards...
James Baker
Show quoted text-----Original Message-----
From: Steffen Müller via RT [mailto:bug-PAR@rt.cpan.org]
Sent: Saturday, 29 July 2006 5:56 AM
To: James Baker (BR/EPA)
Cc: par@perl.org
Subject: [rt.cpan.org #20732] PAR on Win 2000 - Problem loading dll file for Win32::OLE
<URL:
http://rt.cpan.org/Ticket/Display.html?id=20732 >
Hi,
On Do. 27. Jul. 2006, 23:51:16, jsb wrote:
> I am a Win32 user, operating system Windows 2000. I am using the
> following ActiveState Perl:
>
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 25
> registered patches, see perl -V for more detail) Binary build 817
> [257965] provided by ActiveState
http://www.ActiveSta te.com Built Mar
> 20 2006 17:54:25
I don't have Windows, so I can't directly help you. I forwarded your request to the PAR mailing list. I don't know whether you got the reply, so I'll quote it here:
From Mark Dootson:
-----
Hi,
The error message you are seeing suggests that the dll for Win32::OLE is attempting to load a different version of one of its dependencies when run as Parl as opposed to by your perl.exe.
The dependencies for Win32::OLE on my system are:
C:\perl\bin\perl58.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\user32.dll
c:\windows\system32\advapi32.dll
c:\windows\system32\ole32.dll
c:\windows\system32\oleaut32.dll
c:\windows\system32\ws2_32.dll
c:\windows\system32\msvcrt.dll
The most likely candidate is perl58.dll (as its the only thing PAR will
bundle)
Try the following:
C:\data\perl\dbcompare\_in_progress>perl dbcompare.pl Just to confirm it works.
Then do:
C:\data\perl\dbcompare\_in_progress>pp -d -o dbcompare.exe dbcompare.pl
The -d parameter will prevent perl58.dll being bundled.
So now:
C:\data\perl\dbcompare\_in_progress>dbcompare.exe
Should work ?
If it does, this means that the PAR installation you're using was compiled against a different build of Perl.
Solution is to either compile latest PAR yourself against this perl, or get a precompiled PAR built against the correct version.
Regards
Mark
-----
Now, if you go to
http://par.wikia.com/wiki/PAR_PPM_Compatibility_List
you can find out which PAR binary build is suitable for your Perl.
Installing PAR from CPAN shouldn't be a problem - even without a compiler. It'll fetch a binary release if necessary.
Just reply to this ticket if you are having any more trouble.
Steffen