On Mon, Feb 24, 2003 at 05:26:18PM +0100, Markus Jansen wrote: > Module::ScanDeps now works "too" good - I have a large Perl base, > quite some modules also compiled statically ... > now all the .a libraries get in, and the final executable blows up by > a factor of more than 2 :-(((.
Aww. I see. > So I would like to propose a little change here, > to eclipse the .a files: That's okay, but there exist the possibility that the module will include extra files in their auto/, and we probably want to include those (config files?) too. How about just skipping .a? Is the extension somewhere in Config.pm? > Now that pp runs fine and packs (at least) everything wanted into the > executable's PAR part, I still get the problem that PAR bootstrapping > on the target host does not work, i.e. I get the same error as before: > > [EMAIL PROTECTED] 46> /chuid/bin/cc_change_uid_gid_sunos_5_8 -h > 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/0x232734/DynaLoader.pm line 229. > at /loader/0x232734/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. > > I think there is some more work to do in PAR ... Yup. It's because that your /tmp is not in the library loading path, and we probably should extract all not-directly-dynaloaded shared objects with its real name instead of the CRC name. I'd be very happy to accept a patch to script/par.pl toward that direction, as I'm sort of pressed on other matter here. :-) Thanks, /Autrijus/
pgp00000.pgp
Description: PGP signature
