On Fri, Jul 30, 2010 at 11:21:26AM +0100, Nigel Horne wrote: > Getting it all working on older Perls isn't always that easy. For > example Test::Reporter::Transport::Socket won't install on 5:005:3 > because it needs warnings, which I can't get on that machine (install > warnings tries to install Perl 5.12): > > Test-Reporter-Transport-Socket-0.12 > Test-Reporter-Transport-Socket-0.12/dist.ini > Test-Reporter-Transport-Socket-0.12/lib/Test/Reporter/Transport > Test-Reporter-Transport-Socket-0.12/lib/Test/Reporter/Transport/Socket.pm > Test-Reporter-Transport-Socket-0.12/t > Test-Reporter-Transport-Socket-0.12/t/01_args.t > Test-Reporter-Transport-Socket-0.12/META.yml > Test-Reporter-Transport-Socket-0.12/LICENSE > Test-Reporter-Transport-Socket-0.12/README > Test-Reporter-Transport-Socket-0.12/MANIFEST > Test-Reporter-Transport-Socket-0.12/META.json > Test-Reporter-Transport-Socket-0.12/t/release-pod-syntax.t > Test-Reporter-Transport-Socket-0.12/t/release-pod-coverage.t > Test-Reporter-Transport-Socket-0.12/t/00-compile.t > Test-Reporter-Transport-Socket-0.12/Changes > Test-Reporter-Transport-Socket-0.12/Makefile.PL > > CPAN.pm: Going to build > B/BI/BINGOS/Test-Reporter-Transport-Socket-0.12.tar.gz > > Can't locate warnings.pm in @INC (@INC contains: > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach > /usr/libdata/perl/5.00503) at Makefile.PL line 3. > BEGIN failed--compilation aborted at Makefile.PL line 3. > make: no target to make. > /usr/bin/make -- NOT OK > Running make test > Oops, make had returned bad status > Running make install > Oops, make had returned bad status > cpan> install warnings > Running make for J/JE/JESSE/perl-5.12.1.tar.gz > >
Try installing warnings::compat for < 5.6 perls. -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
pgpJ5tKdmkdkL.pgp
Description: PGP signature