in reply to GD::Graph ppm download

Thanks for the advise. I followed the instructions, but still having no luck. Errors are appearing. If it produces errors during the installation, will I need to uninstall activestate or can i just keep trying. Also tried using CPANAny more ideas would be great. I had a link to download this module using ppm a few months ago. Thanks

I've included my output from attempting to install GD::Graph


Compilation failed in require at C:\tester\GDGraph-1.43\blib\lib/GD/Graph/mixed. pm line 18. BEGIN failed--compilation aborted at C:\tester\GDGraph-1.43\blib\lib/GD/Graph/mi xed.pm line 18. Compilation failed in require at t\axestype.t line 11. BEGIN failed--compilation aborted at t\axestype.t line 11. t\axestype....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-13 Failed 13/13 tests, 0.00% okay t\colour......ok t\data........ok t\error.......ok t\use.........Can't locate GD/Text/Align.pm in @INC (@INC contains: C:\tester\GD Graph-1.43\blib\lib C:\tester\GDGraph-1.43\blib\arch C:/Perl/lib C:/Perl/site/li b . C:/Perl/lib C:/Perl/site/lib .) at C:\tester\GDGraph-1.43\blib\lib/GD/Graph. pm line 39. BEGIN failed--compilation aborted at C:\tester\GDGraph-1.43\blib\lib/GD/Graph.pm line 39. 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. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop.
C:\tester\GDGraph-1.43>nmake install
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Appending installation info to C:\Perl\lib/perllocal.pod
C:\Program Files\Apache Group\Apache\cgi-bin>perl graph_film_usage.pl
Can't locate GD/Text/Align.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/l ib .) at C:/Perl/site/lib/GD/Graph.pm line 39. BEGIN failed--compilation aborted at C:/Perl/site/lib/GD/Graph.pm line 39. Compilation failed in require at C:/Perl/site/lib/GD/Graph/pie.pm line 21. BEGIN failed--compilation aborted at C:/Perl/site/lib/GD/Graph/pie.pm line 21. Compilation failed in require at graph_film_usage.pl line 9. BEGIN failed--compilation aborted at graph_film_usage.pl line 9 (#1) (F) You said to do (or require, or use) a file that couldn't be found. Perl looks for the file in all the locations mentioned in @INC, unless the file name included the full path to the file. Perhaps you need to set the PERL5LIB or PERL5OPT environment variable to say where the extra library is, or maybe the script needs to add the library name to @INC. Or maybe you just misspelled the name of the file. See perlfunc/require and lib. Uncaught exception from user code: Can't locate GD/Text/Align.pm in @INC (@INC contains: C:/Perl/lib C:/Per l/site/lib .) at C:/Perl/site/lib/GD/Graph.pm line 39. BEGIN failed--compilation aborted at C:/Perl/site/lib/GD/Graph.pm line 39. Compilation failed in require at C:/Perl/site/lib/GD/Graph/pie.pm line 21. BEGIN failed--compilation aborted at C:/Perl/site/lib/GD/Graph/pie.pm line 21. Compilation failed in require at graph_film_usage.pl line 9. BEGIN failed--compilation aborted at graph_film_usage.pl line 9. C:\Program Files\Apache Group\Apache\cgi-bin>C:\> perl -MCPAN -e "shell" cpan>

Replies are listed 'Best First'.
Re^2: GD::Graph ppm download
by tachyon (Chancellor) on Oct 29, 2004 at 11:44 UTC

    I think you need to set an important environment variable. Check this:

    C:\>set PEBKAC Environment variable PEBKAC not defined

    Now if this important var is not defined on your system it should be. Set it like this:

    C:\>set PEBKAC=1

    Now all you need to do is:

    # for 5.6 ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/GDGraph.ppd # for 5.8 ppm install http://theoryx5.uwinnipeg.ca/ppms/GDGraph.ppd

    cheers

    tachyon

Re^2: GD::Graph ppm download
by Anonymous Monk on Oct 29, 2004 at 07:39 UTC