nixcat has asked for the wisdom of the Perl Monks concerning the following question:
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 libexpat
EXPATINCPATH=... 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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cannot build/install XML::Parser
by hippo (Archbishop) on Mar 13, 2023 at 17:14 UTC | |
by nixcat (Initiate) on Mar 13, 2023 at 17:51 UTC | |
by bliako (Abbot) on Mar 14, 2023 at 10:31 UTC | |
by Anonymous Monk on Mar 14, 2023 at 13:49 UTC | |
by bliako (Abbot) on Mar 14, 2023 at 14:33 UTC | |
|