Autrijus Tang wrote:

Thanks to Ned Konz's speedy advice, I have have uploaded a stopgap 0.76_98
prerelease on CPAN.
[...]
I'd like to invite all current PAR users with a C compiler to test this
prerelease, especially with Archive::Zip 1.09, and on dynamically-built
Perl versions.

PAR 0.76_98 compiles and builds fine on: - Win XP - msvc 6 - perl 5.8.2 - Archive::Zip 1.09

All my generated executables for simple test scripts and
for more elaborate applications work perfectly fine.

I started to implement the "rename par.exe as basename(argv[0])" suggestion
(uncomment myldr/static.c line 97 to enable it), but my C skill is
really lacking; so, if someone on Windows with a C compiler can help me
getting it work, it'd be very much appreciated.

I tried to work on it, but this change triggers a strange behaviour. When I uncomment the "basename" change and rebuild, everything locks up after the {Packing file "Compress\Zlib.dll"} message and never continues.

I don't know why this is happening...
I'd like to experiment a little on Linux about this issue.

Doing:

    name_load_me_1 = "my.exe";
    i = my_mkfile( argv[0], stmpdir, name_load_me_1 );

of course, everything works, and process list correctly shows
also "my.exe" running.

However, doing:

i = my_mkfile( argv[0], stmpdir, _basename(argv[0]) );

locks up everything. At first I thought this could be a
little bug in _basename function, but I'm quite sure it is not.

I'm of little help here...

* Bug fixes
    - The "bad signature" problem with newer Archive::Zip versions is fixed.

I don't know if the following problem falls into the "bad signature" one, but I can report that upx packed executables are "broken": they don't run anymore and generate this error message:

    IO Error: reading header signature :
     at -e line 660
    IO Error: reading header signature :
     at -e line 159


Should I find something I'll let you know. Keep up the excellent work.



Reply via email to