Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Error while using GD::Simple

by psurendran (Initiate)
on Jun 16, 2009 at 00:25 UTC ( [id://771834]=perlquestion: print w/replies, xml ) Need Help??

psurendran has asked for the wisdom of the Perl Monks concerning the following question:

I used ppm to install GD package and that went successful. But a simple script which goes like

use GD::Simple

,got me an error which says,

Can't locate GD/Group.pm in @INC <@INC contains: C:/Perl/site/lib C:/Perl/lib .>

Please have your comments.

Replies are listed 'Best First'.
Re: Error while using GD::Simple
by syphilis (Archbishop) on Jun 16, 2009 at 01:12 UTC
    Something is seriously screwed up here and I can reproduce the problem.

    On most of my ActivePerls Group.pm is in perl/lib/GD, but it's not there in build 1004 (5.10.0). I don't know whether it was *never* there, or whether 'ppm install GD::Simple' removed it.

    Which build of ActivePerl do you have ? Simply reinstalling it might fix the problem (but only if GD::Group.pm ships with that distro.) Otherwise, let us know, and we'll devise another way of getting it fixed.

    Cheers,
    Rob

      Dear Rob,

      As on a suggestion from one user I tried installing Strawberry perl v5.10.0.

      using the command

      ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/GD.ppd

      Again, I ran the same script using GD::Simple

      and I can see the same error which says,
      Can't locate GD/Group.pm in @INC <@INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .>
      at C:/strawberry/perl/site/lib/GD/Sample.pm line 158.

      Please write to me if you need anymore information to comment on this issue. Thanks and Regards, Praveen.
        Please write to me if you need anymore information

        No, that about covers it. Neither the GD ppm at uwinnipeg nor the one at bribes, include GD::Group.pm. I don't know why that happens - it's clearly needed for GD::Simple to be functional. GD, itself seems to be usable, but not GD::Simple ... can you use GD instead ?

        I can't see why GD/Group is not being included in the GD ppm packages. Anyone ?

        Cheers,
        Rob

        UPDATE: As an interim measure, simply grabbing a copy of Group.pm from the CPAN source distro, and placing it next to Simple.pm in your perl installation might work - if you really do need to use GD::Simple
Re: Error while using GD::Simple
by JavaFan (Canon) on Jun 16, 2009 at 00:35 UTC
    I guess the GD install didn't go successfully then.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://771834]
Approved by AnomalousMonk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found