I'm trying to install XML::Parser
in RHEL8 Linux and have both OS RPM packages 'expat' and 'expat-devel' installed. I also have a successful expat Perl module installation running:
cpanm XML::Parser::Expat
XML::Parser::Expat is up to date. (2.46)
I'm running cpanm
XML::Parser
and getting:
Expat must be installed prior to building XML::Parser
and I can't find it in the standard library directories.
I also tried specifying these:
EXPATLIBPATH=...
To set the directory in which to find libexpatEXPATINCPATH=...
To set the directory in which to find expat.h
And running
perl Makefile.PL EXPATLIBPATH=/usr/lib EXPATINCPATH=/usr/include
but with no difference. Any suggestions?