On 2025-05-15, Jon Fineman <j...@fineman.me> wrote:
> I am trying to install XML::Feed on 7.7 GENERIC.MP#625. This I believe 
> relies upon XML::LibXML. It looks like I am getting unit test errors 
> for LibXML.
>
> I also installed libxml-2, p5-libxml. Alien::Libxml2 was already installed
>
> I am rather new to installing Perl modules. Am I doing something wrong? Am I
> missing a dependency? Or is LibXML broken?

Generally you want to use ports/packages. If you bypass them and try
installing things systemwide from cpan you're likely to have things
break (either right away, or later when you update).

To find packages containing Perl modules, pkglocatedb is the easiest
way to find the correct package name from the module name..

# pkg_add pkglocatedb
$ pkglocate XML::Feed
p5-XML-Feed-0.65:www/p5-XML-Feed:/usr/local/man/man3p/XML::Feed.3p
p5-XML-Feed-0.65:www/p5-XML-Feed:/usr/local/man/man3p/XML::Feed::Content.3p
p5-XML-Feed-0.65:www/p5-XML-Feed:/usr/local/man/man3p/XML::Feed::Enclosure.3p
p5-XML-Feed-0.65:www/p5-XML-Feed:/usr/local/man/man3p/XML::Feed::Entry.3p
p5-XML-Feed-0.65:www/p5-XML-Feed:/usr/local/man/man3p/XML::Feed::Util.3p

If you need something that isn't in ports then generally writing a port
for it is the best approach.


-- 
Please keep replies on the mailing list.

Reply via email to