[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bruce.stephens@messagingdirect.com: Bug#77616: undefined symbol Perl_no_modify. Presumably needs recompile for perl5.6]



On Wed, Nov 22, 2000 at 05:35:08PM -0800, Darren/Torin/Who Ever... wrote:
>Brendan O'Dea, in an immanent manifestation of deity, wrote:
>>the problem is not actually with libdigest-md5-perl but rather with a
>>locally compiled Digest::MD5.
>>
>>  $ perl -le 'print for @INC'
>>  /usr/lib/perl5
>>  /usr/lib/perl5/5.6/i386-linux
>>  /usr/lib/perl5/5.6
>>  /usr/local/lib/site_perl/i386-linux
>>  /usr/local/lib/site_perl
>>  /usr/lib/perl5/5.005/i386-linux
>>  /usr/lib/perl5/5.005
>>  .
>>
>>Should site_perl come after 5.005 perhaps?
>
>Possibly.  There's certainly precedent for it, considering that the
>installed include paths come before the site paths.  I'll just have to
>figure out how to do this since right now, I'm using VENDORLIB to get
>the 5.005 paths in there.  (And APPLLIB to get /usr/lib/perl5 in.)

I would suggest something like this:

  archname=i386-linux
  echo sitelib_stem= >config.over
  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

which produces an @INC containing:

  /usr/lib/perl5/5.6/i386-linux
  /usr/lib/perl5/5.005/i386-linux
  /usr/lib/perl5/5.6
  /usr/lib/perl5
  /usr/local/lib/site_perl/i386-linux
  /usr/local/lib/site_perl
  .

Note that /usr/lib/perl5/5.005 should not be required.

Regards,
-- 
Brendan O'Dea                                        bod@compusol.com.au
Compusol Pty. Limited                  (NSW, Australia)  +61 2 9810 3633



Reply to: