Skip Menu |

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

Report information
The Basics
Id: 76673
Status: resolved
Priority: 0/
Queue: XML-Parser

People
Owner: Nobody in particular
Requestors: jeff.holt [...] method-r.com
Cc:
AdminCc:

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



Subject: version 2.41 depends on libexpat.so.1 but 2.36-r1 does not
Date: Wed, 18 Apr 2012 15:47:10 -0500
To: bug-XML-Parser [...] rt.cpan.org
From: Jeff Holt <jeff.holt [...] method-r.com>
I am having a deployment problem (i.e. using ActiveState's PDK) because version 2.41's Expat.so depends on libexpat.so.0. Version 2.36-r1 does not depend on libexpat. Executing ldd upon the two version's Expat.so shows the new dependency in 2.41. The system to which I'm deploying has only libexpat.so.1 and I don't like asking customers to install dependent software (i.e., a side-by-side older version) if I can avoid it. I looked at the Changes file and it looks like the dependency crept in at version 2.40_02. Can that change (or whatever change caused the new dependency) be undone? If 'no', then is there a decent pure perl implementation for parsing XML files? I've looked and it doesn't look like there's anything out there that is nearly as mature as XML-Parser. Thanks. BTW.
Subject: Re: [rt.cpan.org #76673] version 2.41 depends on libexpat.so.1 but 2.36-r1 does not
Date: Thu, 19 Apr 2012 00:54:47 +0300
To: bug-XML-Parser [...] rt.cpan.org
From: Alexandr Ciornii <alexchorny [...] gmail.com>
There is no 2.36-r1 version of XML::Parser. Version 2.40_02 did not change how Expat.so is built. You can look into list of changes in repository. Did you build both versions on the same OS, same OS version? 2012/4/18 Jeff Holt via RT <bug-XML-Parser@rt.cpan.org>: Show quoted text
> Wed Apr 18 16:47:20 2012: Request 76673 was acted upon. > Transaction: Ticket created by jeff.holt@method-r.com >       Queue: XML-Parser >     Subject: version 2.41 depends on libexpat.so.1 but 2.36-r1 does not >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: jeff.holt@method-r.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=76673 > > > > I am having a deployment problem (i.e. using ActiveState's PDK) because > version 2.41's Expat.so depends on libexpat.so.0. Version 2.36-r1 does not > depend on libexpat. Executing ldd upon the two version's Expat.so shows the > new dependency in 2.41.
-- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #76673] version 2.41 depends on libexpat.so.1 but 2.36-r1 does not
Date: Wed, 18 Apr 2012 17:01:47 -0500
To: bug-XML-Parser [...] rt.cpan.org
From: Jeff Holt <jeff.holt [...] method-r.com>
I agree that CPAN shows no such release but ActiveState's 5.10 release of Perl did include an XML-Parser version 2.36-r1. I may have to compare the source for their 2.36-r1 with the source shown in CPAN for 2.36. No, I didn't build (i.e., make test + make install) either version. What I did was "get" the two versions from ActiveState's PPM repository, which they build/maintain. I assumed that if I built from source that I would get the same outcome. Based on what you say, I should probably build from source and see what happens and then compare the two source versions if required. Thanks.
Subject: Re: [rt.cpan.org #76673] version 2.41 depends on libexpat.so.1 but 2.36-r1 does not
Date: Thu, 19 Apr 2012 19:35:11 -0500
To: bug-XML-Parser [...] rt.cpan.org
From: Jeff Holt <jeff.holt [...] method-r.com>
Well, now I know a bit more about how ActiveState builds its 'packaged' modules. In the case of XML-Parser, they modify the code (probably just Makefile.PL) so that XML-Parser-Expat is statically linked to libexpat. Well, they said that's what they do and they did for version 2.36. But they did not do that for 2.40 and 2.41 (at least for ActivePerl 5.10 and 5.14). Case closed. :) On Wed, Apr 18, 2012 at 5:01 PM, Jeff Holt <jeff.holt@method-r.com> wrote: Show quoted text
> I agree that CPAN shows no such release but ActiveState's 5.10 release of > Perl did include an XML-Parser version 2.36-r1. I may have to compare the > source for their 2.36-r1 with the source shown in CPAN for 2.36. > > No, I didn't build (i.e., make test + make install) either version. What I > did was "get" the two versions from ActiveState's PPM repository, which > they build/maintain. I assumed that if I built from source that I would get > the same outcome. Based on what you say, I should probably build from > source and see what happens and then compare the two source versions if > required. > > Thanks. >
Ticket migrated to github as https://github.com/toddr/XML-Parser/issues/68