Skip Menu |
 

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

Report information
The Basics
Id: 69553
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: milki [...] rescomp.berkeley.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.81
Fixed in: (no value)



Subject: install_sax_driver doesn't like custom INSTALLARCHLIB
Download (untitled) / with headers
text/plain 879b
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
Download patch-Makefile.PL.in
application/octet-stream 698b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 1.1k
Hi Milki, On Mon Jul 18 13:27:59 2011, https://www.google.com/accounts/o8/id?id=AItOawn1H1XofyQVeS7wUC8jmOudW_lS-OoTG_k wrote: Show quoted text
> 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.
thanks! I applied your patch in the repository and will release it to CPAN soon. Sorry it took me so long. Regards, -- Shlomi Fish
Resolving per the previous comment.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.