Skip Menu |
 

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

Report information
The Basics
Id: 34817
Status: resolved
Priority: 0/
Queue: XML-Compile

People
Owner: Nobody in particular
Requestors: jesper [...] krogh.cc
Cc:
AdminCc:

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



Subject: Reduce dependencies..
Download (untitled) / with headers
text/plain 264b
XML::Compile has pretty harsh requirements.. on an Ubuntu Gutsy (latest Ubuntu release) an installation of XML::Compile 0.73 would force an update of the perl-installations due to the Math::BigInt requirement. Isn't it possible to circumvent that? Thanks. Jesper
Subject: Re: [rt.cpan.org #34817] Reduce dependencies..
Date: Thu, 10 Apr 2008 11:29:33 +0200
To: "jesper [...] krogh.cc via RT" <bug-XML-Compile [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
Download (untitled) / with headers
text/plain 1.1k
* jesper@krogh.cc via RT (bug-XML-Compile@rt.cpan.org) [080410 09:05]: Show quoted text
> > Thu Apr 10 05:04:57 2008: Request 34817 was acted upon. > Transaction: Ticket created by jesper@krogh.cc > Queue: XML-Compile > Subject: Reduce dependencies.. > Broken in: 0.73 > > XML::Compile has pretty harsh requirements.. on an Ubuntu Gutsy (latest > Ubuntu release) an installation of XML::Compile 0.73 would force an > update of the perl-installations due to the Math::BigInt requirement. > Isn't it possible to circumvent that?
What do you mean with "the perl-installations" ? What needs to be updated? The newest version from Math::BigInt is available as dual lived module from CPAN. Math::BigInt is rather crucial for a correct functioning of XML::Compile (because the XML Schema spec defines that a "Decimal" should support at least 18 digits) -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
From: jesper [...] krogh.cc
Download (untitled) / with headers
text/plain 1.4k
On Thu Apr 10 05:30:11 2008, solutions@overmeer.net wrote: Show quoted text
> * jesper@krogh.cc via RT (bug-XML-Compile@rt.cpan.org) [080410 09:05]:
> > > > Thu Apr 10 05:04:57 2008: Request 34817 was acted upon. > > Transaction: Ticket created by jesper@krogh.cc > > Queue: XML-Compile > > Subject: Reduce dependencies.. > > Broken in: 0.73 > > > > XML::Compile has pretty harsh requirements.. on an Ubuntu Gutsy (latest > > Ubuntu release) an installation of XML::Compile 0.73 would force an > > update of the perl-installations due to the Math::BigInt requirement. > > Isn't it possible to circumvent that?
> > What do you mean with "the perl-installations" ? What needs to be > updated? The newest version from Math::BigInt is available as dual > lived module from CPAN. > > Math::BigInt is rather crucial for a correct functioning of XML::Compile > (because the XML Schema spec defines that a "Decimal" should support at > least 18 digits)
Sorry if I'm too distribution specific. Ubuntu Gutsy provides Math::BigInt 1.77, which is delivered by the perl-modules, build by the perl source package that also provices the perl-interpreter. So in order to create an updated package of this with the new Math::BigInt to push out to our servers I have to go through and build and update a new'er version of "perl-modules" and "perl". So my question was.. is 1.78 of Math::BigInt really a hard requirement? since it is giving quite lagre update challenges. Thanks.
Subject: Re: [rt.cpan.org #34817] Reduce dependencies..
Date: Thu, 10 Apr 2008 13:25:37 +0200
To: "jesper [...] krogh.cc via RT" <bug-XML-Compile [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
Download (untitled) / with headers
text/plain 1.2k
* jesper@krogh.cc via RT (bug-XML-Compile@rt.cpan.org) [080410 10:41]: Show quoted text
> On Thu Apr 10 05:30:11 2008, solutions@overmeer.net wrote: > So my question was.. is 1.78 of Math::BigInt really a hard requirement?
The real couse of these problems is Perl's concept of "dual-lived" modules. Math::BigInt is part of the core distribution, but a newer version of the module is made available via CPAN as well. It doesn't really fit in the release models of Linux distributions. I try to get a performance improvement using this: # will warn if Math::BigInt::GMP cannot be found use Math::BigInt lib => 'GMP'; # to supress the warning use this: # use Math::BigInt try => 'GMP'; Clearly, the latter is best. However, "try" requires verion 1.78 of Math::BigInt... I will contact the author of the module, to see what happens if one module loads GMP and the other module does not. If I can move the "try => 'GMP'" to the user script, then that may solve our problem... -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #34817] Reduce dependencies..
Date: Thu, 10 Apr 2008 23:23:06 +0200
To: "jesper [...] krogh.cc via RT" <bug-XML-Compile [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
Download (untitled) / with headers
text/plain 788b
* jesper@krogh.cc via RT (bug-XML-Compile@rt.cpan.org) [080410 10:41]: Show quoted text
> Ubuntu Gutsy provides Math::BigInt 1.77, > So my question was.. is 1.78 of Math::BigInt really a hard requirement?
A long message from Tels explains the problem from Math::BigInt side, and I decided to get away from the "try => GMP" parameter... which lowers the required version of Math::BigInt, as you need. Just released 0.74 to CPAN with the fixes. Are they sufficient for you? -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
fix was released in 0.74


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.