Hello Autrijus,

sorry for the long response time. Having moved back home from
Stockholm/Sweden to Aachen/Germany, I am "back in business" again,
with slightly different tasks, and a slightly different email address.

I have seen that you have been busy working on PAR ...
however, I found again 2 problems with it, 1 major and 1 minor.
Unfortunately, the major one did not show up earlier because of the minor :-)).

1. The major (show stopper) problem:

There exist Perl modules with more than their "generic" 
auto/<mod>/<mod>.so library. One example is ClearCase::CtCmd,
which comes with an additional libzuba.so:

[eedmja_latest_oche149] [EMAIL PROTECTED]: find 
/vobs/eccs_dev_perl/perl_for_sixtyfive_characters_max_pathlength/prod/lib/ | 
fgrep CtCmd | sed 's,/vobs.*/prod/,<perl_root>/,1'
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/auto/ClearCase/CtCmd
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/auto/ClearCase/CtCmd/.packlist
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/auto/ClearCase/CtCmd/CtCmd.bs
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/auto/ClearCase/CtCmd/CtCmd.so
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/auto/ClearCase/CtCmd/autosplit.ix
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/auto/ClearCase/CtCmd/libzuba.so
<perl_root>/lib/site_perl/5.8.0/sun4-solaris/ClearCase/CtCmd.pm
[eedmja_latest_oche149] [EMAIL PROTECTED]:

Unfortunately, calling the compiled executable results in:

[EMAIL PROTECTED] 81> /chuid/bin/cc_change_uid_gid_sunos_5_8
Can't load '/tmp/2b953aa5.so' for module ClearCase::CtCmd: ld.so.1: 
/chuid/bin/cc_change_uid_gid_sunos_5_8: fatal: libzuba.so: open failed: No such 
file or directory at /loader/0x1d2394/DynaLoader.pm line 229.
 at /loader/0x1d2394/PAR/Heavy.pm line 101
Compilation failed in require at script/cc_change_uid_gid_sunos_5_8.pl line 78.
BEGIN failed--compilation aborted at script/cc_change_uid_gid_sunos_5_8.pl line 
78.
[EMAIL PROTECTED] 82> 

I have had a look at PAR/Heavy.pm, and I think that some glob'ing is
to be done there, but I did not figure out with which name this additinal
file needs to be referenced in the %DLCache.

2. The minor problem:
The compiled executable has something like ( CODE <path> <path> ... ) as its
@INC path - I guess the CODE ref is the PAR lookup.
However, problem 1. does not show up if <path> is somehow there, which makes
the executable's behaviour depending on the runtime (Perl) environment.
I think @INC should be set to ( CODE ) in this case.

Best regards,

        Markus


--
Markus Jansen                       Senior IS/IT Support Engineer, EED/IT
Ericsson Eurolab Deutschland GmbH   Email: [EMAIL PROTECTED]
Ericsson Allee 1                    Phone: +49 2407 575 5157
52134 Herzogenrath, Germany         Fax  : +49 2407 575 7289

Reply via email to