Subject: | install_sax_driver doesn't like custom INSTALLARCHLIB |
install_sax_driver doesn't take into account that library files might be
install somewhere other than INSTALLSITELIB and we end up with something
like:
Can't locate XML/LibXML/SAX/Parser.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/BSDPAN
/usr/local/lib/perl5/site_perl/5.12.4/mach
/usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach
/usr/local/lib/perl5/5.12.4 .) at
/usr/local/lib/perl5/site_perl/5.12.4/XML/SAX.pm line 147.
For example, FreeBSD might install the module with:
perl Makefile.PL PREFIX=/usr/local INSTALLPRIVLIB=/usr/local/lib
INSTALLARCHLIB=/usr/local/lib
and XML::LibXML::SAX::Parser ends up in
/usr/local/lib/perl5/site_perl/5.12.4/mach/XML/libXML/SAX, which is
indeed not in @INC.
I've attached the patch which simply adds the ARCH path to the commands
in install_sax_driver.
Subject: | patch-Makefile.PL.in |
Message body not shown because it is not plain text.