On Sa. 30. Sep. 2006, 04:01:40, rumen.bogdanovski@gmail.com wrote:
Show quoted text> another bug in PAR 0.952 with any linux I managed to test Slackware,
Fedora,
Show quoted text> Suse :(
>
> $ pp -M Tk::Bitmap -o photclient photclient.pl photview.pl
> $ ln -s photclient photview
>
> Running "photview"
> $ ./photview
> invokes actually "photclient"
>
> $cp photclient photview
> works fine,
>
> $ ./photview
> invokes photview...
Have you tried with a very simple example, so I could reproduce the
error? I have no idea what phot* does and yes, it shouldn't matter, but
I can't confirm that either.
Show quoted text> And as I have said with PAR 0.954 none of them works at all... just
100% cpu
Show quoted text> usage on any Linux.
That's something else, yes. It might well be related to what your
program does/loads. I'll try to investigate, but I have no idea where to
start. Anyway, different ticket.
Show quoted text> Any Idea how to debug it?
Okay, observe:
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ ls -l
insgesamt 8
-rwxr-xr-x 1 tsee tsee 82 2006-10-01 15:26 t2.pl
-rwxr-xr-x 1 tsee tsee 81 2006-10-01 15:25 t.pl
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ cat t.pl
#!/usr/bin/perl
use strict;
use warnings;
print "This is t.pl\n";
print "$0\n";
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ cat t2.pl
#!/usr/bin/perl
use strict;
use warnings;
print "This is t2.pl\n";
print "$0\n";
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ perl t.pl
This is t.pl
t.pl
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ perl t2.pl
This is t2.pl
t2.pl
(So far so good.)
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ mkdir bin
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ pp -o bin/t t.pl t2.pl
(Using bin/ subdirectory so I can be sure the binary has no connection
to the original script whatsoever. This is just caution, nothing else.)
tsee@tsee64:~/data/perl/par/par/trunk/tmp$ cd bin
tsee@tsee64:~/data/perl/par/par/trunk/tmp/bin$ ./t
This is t.pl
./t
tsee@tsee64:~/data/perl/par/par/trunk/tmp/bin$ ln -s t t2
tsee@tsee64:~/data/perl/par/par/trunk/tmp/bin$ ./t2
This is t2.pl
./t2
Works! I'm really sorry I can't reproduce the error. Can you try again
with this simple test? This is PAR 0.954, by the way.
As another test, I'll try packaging a simple Tk app. Log attached as
text file. (Yes, works here.)
Steffen