Autrijus Tang wrote:
> ?b 五, 2003-10-10 16:47, Ian Cass ?g?D?G
>> I can provide whatever diagnostics required.

Trying to do some debugging of my own here.

I've found where its going wrong.

The first line of 'parl' is like so...

FILE^O837fb41f/PAR.pm^]H#line 1 "../blib/lib/PAR.pm"

Which means the par.pl that's embedded in 'par' never pulls out the loader
from 'par'

This is failing...

    # Check file type, get start of data section {{{
    open _FH, $0

I modified it as so...

    or do {
        print "Couldn't open $0\n";
        last;
    };

The output is ...

Couldn't open ./pa

./pa? Surely it means ./par?

Anyhow, I made the first 2 lines of par.pl as such...

#!/home/users/imc/perl5.8/bin/perl
print "0 = $0\n";

and I reran the make to remake 'par'.

Now when I run it....

bash-2.01$ ./par
0 = ./par
Usage: ./par [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src.par ] [ program.pl ]
       ./par [ -B|-b ] [-Ooutfile] src.par


Which is exactly what I expect. However, when I run the full command...

bash-2.01$
./par -I"/home/users/imc/perl5.8/lib/5.8.1/sun4-solaris-ld" -I"/home/users/i
mc/perl5.8/lib/5.8.1" -I"/home/users/imc/perl5.8/lib/site_perl/5.8.1/sun4-so
laris-ld" -I"/home/users/imc/perl5.8/lib/site_perl/5.8.1" -I"/home/users/imc
/perl5.8/lib/site_perl" -I"." -I../myldr/.. -I../blib/lib -B -O../script/par
l
0 = ./pa

[snipped]

Eh? wtf?

Debugging some more.

-- 
Ian Cass

Reply via email to