Sorry for the duplicate email, I hit reply instead of reply to all.

I'm using the -T option to force the cache name so I don't have to guess
where it is at :)  I only started doing that during troubleshooting
The importart part below seem to be 'error was  (An operation was attempted
on something that is not a socket)';

Thanks!


C:\Documents and Settings\Travis\Desktop>test.exe
extracted lib/auto/Digest/MD5/MD5.dll to
C:\DOCUME~1\Travis\LOCALS~1\Temp\par-T
avis\cache-Cencal\ec2b4451.dll => 0
extracted lib/auto/DBI/DBI.dll to
C:\DOCUME~1\Travis\LOCALS~1\Temp\par-Travis\c
che-Cencal\4b50f371.dll => 0
Test1
Test2
IO error: reading header signature :
 at (eval 25) line 3
extracted lib/auto/DBD/ODBC/ODBC.dll to
C:\DOCUME~1\Travis\LOCALS~1\Temp\par-Tr
vis\cache-Cencal\3d2b5e28.dll => 4
error was  (An operation was attempted on something that is not a socket)
install_driver(ODBC) failed: Can't load
'C:\DOCUME~1\Travis\LOCALS~1\Temp\par-T
avis\cache-Cencal\3d2b5e28.dll' for module DBD::ODBC: load_file:%1 is not a
val
d Win32 application at C:/strawberry/perl/lib/DynaLoader.pm line 200.
 at C:/strawberry/perl/vendor/lib/PAR/Heavy.pm line 128
Compilation failed in require at (eval 25) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at script/CenCal.pl line 132



On Wed, Mar 9, 2011 at 7:00 AM, Roderich Schupp <
roderich.sch...@googlemail.com> wrote:

> @Maurice: thanks for the instructions
>
> @Travis:
> > Got this output, Test1, Test2 is mine from the script.
> ...
> > IO error: reading header signature :  at (eval 25) line 3
> > extracted lib/auto/DBD/ODBC/ODBC.dll to
> > C:\DOCUME~1\Travis\LOCALS~1\Temp\par-Travis\cache-Cencal\3d2b5e28.dll =>
> 4
>
> The interesting part is the "4" at the end. It's the return code of
> Archive::Zip::extractToFileHandle which is used to extract the DLL
> from the packed executable (which is also a zip file) into the cache
> file with the mangled name (PAR::Heavy didn't check the return previously).
> 0 means OK, 4 (=Archive::Zip::AZ_IO_ERROR) means "an IO error occurred".
> But which one? Sorry, I'll have to ask you to go through steps (1) to (7)
> from my previous post again with the following change to PAR/Heavy.pm
> (line ~164)
>
>
>    if ($fh) {
>        binmode($fh);
>
>        my $rc = $member->extractToFileHandle($fh);
>        printf STDERR "extracted %s to %s => %d\n",
>                      $member->fileName, $filename, $rc;
>        print STDERR "error was $! ($^E)\n" unless $rc == 0;    # <---
> more diagnostics
>        close $fh;
>        chmod 0755, $filename;
>    }
>
> You can skip (1) and (2) and instead modify your installed
> PAR/Heavy.pm directly.
>
> Another observation (might be irrelevant to problem at hand):
> it looks like your cache area is called
> C:\DOCUME~1\Travis\LOCALS~1\Temp\par-Travis\cache-Cencal
> The last part is a bit unusual, expected is something like
> cache-ce8e8907c5a3c22d60ba163427934b0262c3cf18 (40 hex bytes of an
> SHA1 checksum).
> Any reason for this?
>
> Cheers, Roderich
>

Reply via email to