Re: [bruce.stephens@messagingdirect.com: Bug#77616: undefined symbol Perl_no_modify. Presumably needs recompile for perl5.6]
On Thu, Nov 23, 2000 at 01:49:09PM -0800, Darren/Torin/Who Ever... wrote:
>Brendan O'Dea, in an immanent manifestation of deity, wrote:
>>I would suggest something like this:
[snip]
>> -Darchlib=/usr/lib/perl5/5.6/$archname:/usr/lib/perl5/5.005/$archname \
>
>This looks like it should work by reading perl.c but that is the only
>place in the Perl infrastructure that that works.
>
>Note what happens when we go to installperl (make install):
>(From the last few lines)
> cp pod/perlwin32.pod /usr/local/scratch1/darren/debian/perl/perl-5.6-5.6.0/debian/tmp/usr/lib/perl5/5.6:/usr/lib/perl5/pod/perlwin32.pod
> cp pod/perlxs.pod /usr/local/scratch1/darren/debian/perl/perl-5.6-5.6.0/debian/tmp/usr/lib/perl5/5.6:/usr/lib/perl5/pod/perlxs.pod
> cp pod/perlxstut.pod /usr/local/scratch1/darren/debian/perl/perl-5.6-5.6.0/debian/tmp/usr/lib/perl5/5.6:/usr/lib/perl5/pod/perlxstut.pod
>
>installperl treats archlib as a directory rather than as a path and does
>dumb things. I investigated this way of doing things before.
How irritating. Should have tested "make install" :-|
Stripping the :-suffixed dir from install*lib appears to work (at least
as far as installperl is concerned):
cat >config.over <<'EOT'
sitelib_stem=
eval `set | sed -n '/^install/s/:.*//
s!^\(install.*\)=/usr/!\1='\`pwd\`'/debian/tmp/usr/!p'`
EOT
archname=i386-linux
Configure -des \
-Dprefix=/usr -Darchname=$archname \
-Darchlib=/usr/lib/perl5/5.6/$archname:/usr/lib/perl5/5.005/$archname \
-Dprivlib=/usr/lib/perl5/5.6:/usr/lib/perl5 \
-Dsitelib=/usr/local/lib/site_perl
Actually, it would be a lot easier if packaged modules went into a
different directory to the core modules, as we only want the former to
be located by a perl providing backward compatability, not the latter.
The vendor{lib,arch} dirs would be perfect for this, since there is
provision to add previous versions for that dir.
Doesn't help with the current situation, but may be something worth
considering...
Regards,
--
Brendan O'Dea bod@compusol.com.au
Compusol Pty. Limited (NSW, Australia) +61 2 9810 3633
Reply to: