[Gllug] Problems with cpan install

Alex A. Smith asmith at asmhosting.com
Tue Nov 7 21:41:20 UTC 2006


If I remember correctly as root:

> perl -MCPAN -e shell
> install GD

Should install the correct Perl modules you need (Mainly the GD ones).

Regards,

Alex Smith

-----Original Message-----
From: gllug-bounces at gllug.org.uk [mailto:gllug-bounces at gllug.org.uk] On
Behalf Of Adrian McMenamin
Sent: 07 November 2006 21:29
To: Greater London Linux User Group
Subject: [Gllug] Problems with cpan install

I am trying to install GD::Graph::pie on a remote machine and the
install bombs out with this:

Can't locate GD.pm in @INC (@INC
contains: /root/.cpan/build/GDGraph-1.4306/blib/lib
/root/.cpan/build/GDGraph-1.4306/blib/arch /etc/perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/root/.cpan/build/GDGraph-1.4306/blib/lib/GD/Graph.pm line 38.
BEGIN failed--compilation aborted
at /root/.cpan/build/GDGraph-1.4306/blib/lib/GD/Graph.pm line 38.
Compilation failed in require at t/use.t line 7.
BEGIN failed--compilation aborted at t/use.t line 7.
t/use.........dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/axestype.t    2   512    13   26 200.00%  1-13
t/use.t         2   512    10   20 200.00%  1-10
Failed 2/5 test scripts, 60.00% okay. 23/85 subtests failed, 72.94%
okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


I find the vast amount of stuff that cpan spews our rather intimidation
and wonder if someone could advise on what the best way to go about
fixing any of this is?


-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list