[perl #59660] Storable-2.13 requirement breaks build on OpenSolaris
Nicholas Clark
nick at ccl4.org
Tue Oct 14 14:41:08 UTC 2008
On Mon, Oct 13, 2008 at 09:30:33PM -0700, chromatic via RT wrote:
> On Mon Oct 06 12:15:49 2008, doughera wrote:
>
> > Trying to compile today's parrot on an up-to-date version
> > of OpenSolaris:
> >
> > SunOS xxx 5.11 snv_98 i86pc i386 i86pc Solaris
> >
> > it failed (after a while) with the following error:
> >
> > perl tools/build/pmc2c.pl --vtable
> > Storable version 2.13 required--this is only version 2.12 at
> > /export/home/doughera/src/parrot/parrot-
> > cc/tools/build/../../lib/Parrot/Pmc2c/Pmc2cMain.pm line 6.
> > BEGIN failed--compilation aborted at
> > /export/home/doughera/src/parrot/parrot-
> > cc/tools/build/../../lib/Parrot/Pmc2c/Pmc2cMain.pm line 6.
> > Compilation failed in require at tools/build/pmc2c.pl line 10.
> > BEGIN failed--compilation aborted at tools/build/pmc2c.pl line 10.
> > make: *** [vtable.dump] Error 2
> >
> > The problem is that OpenSolaris ships with (a patched version of)
> > perl-5.8.4. I'm not sure why OpenSolaris is still shipping perl-
> > 5.8.4, but they are.
> >
> > I haven't looked at tools/build/pmc2c.pl at all to see why Storable
> > 2.13 is required, nor at how large of a burden it would be to relax
> > that requirement. Such digging would take more time than I have
> > available at the moment.
>
> If I remember correctly, Storable 2.12 and earlier did not restore
> overloading properly. Storable's changelog suggests that version 2.18
> compiles properly on older versions of Perl; if it works with Perl 5.8.4
All versions on CPAN should build back to 5.004, without test failures.
That's probably a bit more than you need. :-)
> in OpenSolaris, we could keep the dependency on 5.8.1 (or whatever) and
> increase the Storable dependency to 2.18.
I infer from the quoted message above that bumping the dependency to 2.13
would work as well, but wouldn't cause a lot of other people who have 2.13
to 2.17 installed to need to upgrade.
Nicholas Clark
More information about the parrot-dev
mailing list