[Slackbuilds-users] perl-xml-libxml dot compiling. Doesn't seem to be maintained

Alan Rubin alan at rubin.org.uk
Fri Jul 25 11:28:48 UTC 2025


Hi,
I've a slackware user for 21 years and only just had to turn to this list.

perl-xml-libxml is not compiling in current.  It does compile in 15.0.

I posted this on the sticky at linuxquestions and ponce replied:

> unfortunately perl-xml-libxml is unmaintained also on 15.0 (last version
is from
> 2019) and that version is incompatible with the newer libxml2 in current:
> probably newer versions would work (with patches) but they depends on
> perl-alien-libxml, that in turn depend on perl-alien-build and other perl
packages
> not available on SBo (and I cannot submit a bunch of perl packages that I
have
> to maintain from now on for an unmaintained script)...

>long story short perl-xml-libxml needs to be updated by a new maintainer
but on
> SBo, not in this repository, I suggest you to write to the
slackbuilds-users
> mailing list to ask for someone to step in: if useful to clarify what is
needed, feel
> free to quote as-is what I wrote in the preceding paragraph.

I understand that quite a few scripts depend on it.

The problem is that libxml2 isn't found despite, as far as I can see it
being present an correct

> Checking for ability to link against xml2...no
> libxml2, zlib, and/or the Math library (-lm) have not been found.
> Try setting LIBS and INC values on the command line
> Or get libxml2 from
> http://xmlsoft.org/
> If you install via RPMs, make sure you also install the -devel
> RPMs, as this is where the headers (.h files) are.

I wonder if it is the following bit of code that is problematic in the
Makefile but I don't know how to proceed further.

sub _libxml_check_lib {
    my ($libname) = @_;

    if (defined($config_LIBS_alternatives)) {
        foreach my $conf_LIBS (@$config_LIBS_alternatives) {
            if (_libxml_check_lib_with_config_LIBs($libname, $conf_LIBS)) {
                $config{LIBS} = $conf_LIBS;
                return 1;
            }
        }
    }
    else {
        return _libxml_check_lib_with_config_LIBs($libname, $config{LIBS});
    }
}

print "Checking for ability to link against xml2...";
if ( _libxml_check_lib('xml2') ) {
    print "yes\n";
}

I
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20250725/38814da0/attachment-0001.htm>


More information about the SlackBuilds-users mailing list