NetBSD-Users archive

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

Re: perl5 update to 5.30 did not finish, maybe?



On Fri 04 Oct 2019 at 19:33:53 -0400, Bob Bernstein wrote:
> On Fri, Oct 04, 2019 at 12:42:44PM +0200, Rhialto wrote:
> 
> > So something weird may be going on.
> 
> I would give assent to that speculation. <g>
> 
> > The package that adds 
> > /usr/pkg/lib/perl5/vendor_perl/5.28.0/LWP.pm is 
> > p5-libwww-6.39.
> 
> I used this hint to solve (apparently) the problem of the 
> missing UserAgent.pm module, but ikiwiki then moved on to find 
> another one missing in action:
> 
> "Can't locate HTTP/Cookies.pm in @INC"

Maybe the ikiwiki package needs to be adjusted to add some
dependencies... but there is *still* something strange I think, since
HTTP/Cookies.pm is provided by p5-HTTP-Cookies and for me it says that
p5-libwww (which you installed) requires it (so it should be installed
as well by now).

> May I ask: is there a NetBSD pkg-related tool you were able to 
> use to determine, as cited above, which perl ("p5") pkg provides 
> a given module?

Well, I cheated, since I happened to have that file already installed,
so I did

     pkg_info -F /usr/pkg/lib/perl5/vendor_perl/5.28.0/LWP.pm

to find out which package it belongs to.

If you don't have it installed already, but you have a checked out
pkgsrc tree, you can usually do

    cd /usr/pkgsrc
    find . -name 'PLIST*' | xargs grep LWP

which takes rather longer. Some packages have automatically generated
package lists, and it won't work for those. p5-libwww and several other
Perl package seem to be among those, unfortunately.

If you use binaries only, I'm not sure if there is an easy way.

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index