Skip Menu |

This queue is for tickets about the XML-SAX CPAN distribution.

Report information
The Basics
Id: 104664
Status: open
Priority: 0/
Queue: XML-SAX

People
Owner: grantm [...] cpan.org
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.99
Fixed in: (no value)



Subject: Makefile.PL: correct invocation so that out-of-tree builds and DESTDIR installs work
Use $(PERLRUNINST) instead of $(PERL).
Subject: perl-XML-SAX.src1.patch
--- origsrc/XML-SAX-0.99/Makefile.PL 2011-09-04 23:37:48.000000000 +0200 +++ src/XML-SAX-0.99/Makefile.PL 2015-05-23 21:49:41.535342100 +0200 @@ -43,7 +43,7 @@ sub MY::install { $script .= <<"INSTALL"; install_sax_pureperl : -\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" +\t\@\$(PERLRUNINST) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" INSTALL
On Sun May 24 07:27:56 2015, https://me.yahoo.com/howdidwegetherereally#f714d wrote: Show quoted text
> Use $(PERLRUNINST) instead of $(PERL).
This looks like a useful addition/fix to the XML::SAX distribution. Who should I credit it too?
Whilst this patch did seem promising, it broke the installation of ParserDetails.ini which ended up being generated under blib rather than under the site lib. I was testing this alongside RT#62289 and found that Ed's patch didn't break ParserDetails.ini and seemed to be in the same area but I'm not 100% sure his patch was addressing the same problem you were experiencing. Please reopen if version 1.00 still has the problem you were experiencing.
Hello, With 1.00 I still have the same error messages without the patch: Appending installation info to /tmp/dest/perl_XML-SAX/usr/local/lib/perl5/5.26.1/i486-linux-thread-multi/perllocal.pod Can't locate XML/SAX.pm in @INC (you may need to install the XML::SAX module) (@INC contains: /usr/local/lib/perl5/site_perl/5.26.1/i486-linux-thread-multi /usr/local/lib/perl5/site_perl/5.26.1 /usr/local/lib/perl5/vendor_perl/5.26.1/i486-linux-thread-multi /usr/local/lib/perl5/vendor_perl/5.26.1 /usr/local/lib/perl5/5.26.1/i486-linux-thread-multi /usr/local/lib/perl5/5.26.1). BEGIN failed--compilation aborted. make: *** [Makefile:813: install_sax_pureperl] Error 2 After applying the patch, XML::SAX finish compile, but it indeed gives the following message: Appending installation info to /tmp/dest/perl_XML-SAX/usr/local/lib/perl5/5.26.1/i486-linux-thread-multi/perllocal.pod could not find ParserDetails.ini in blib/lib/XML/SAX Compiled on a fresh install of TinyCorePlus 9.0 (http://www.tinycorelinux.net/9.x/x86/release/CorePlus-9.0.iso) with Perl 5.26.1 installed, XML-NamespaceSupport 1.12 compiled and installed, XML::SAX::Base 1.09 compiled and installed.