Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: error message from GD::Barcode::Code39 module

by ChemBoy (Priest)
on Oct 23, 2006 at 14:31 UTC ( #580048=note: print w/ replies, xml ) Need Help??


in reply to error message from GD::Barcode::Code39 module

This is an odd error message, since GD::Font is in fact almost certainly already installed on your system. From the GD documentation:

GD defines the following four classes:

GD::Image
An image class, which holds the image data and accepts graphic primitive method calls.
GD::Font
A font class, which holds static font information and used for text rendering.
GD::Polygon
A simple polygon object, used for storing lists of vertices prior to rendering a polygon into an image.
GD::Simple
A "simple" class that simplifies the GD::Image API and then adds a set of object-oriented drawing methods using turtle graphics, simplified font handling, ability to work in polar coordinates, HSV color spaces, and human-readable color names like "lightblue". Please see GD::Simple for a description of these methods.

This implies that either GD is not being loaded correctly (or not in time), or you have a severely broken and/or ancient installation of it. Since the first of those is much easier to correct than the second, you should probably try fixing it first: simply add use GD; to the beginning of your program, and see if your troubles continue (or change to the unpleasant Can't locate GD.pm in @INC). If they do, consider upgrading your GD install.



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders


Comment on Re: error message from GD::Barcode::Code39 module
Select or Download Code
Re^2: error message from GD::Barcode::Code39 module
by giobis (Acolyte) on Nov 06, 2006 at 12:54 UTC
    Thank you ALL,
    
      I've resolved my problem. 
    
    I've installed the GD module and now it Work very well.
    
    Many Thanks
    Joe
    
      Oops...
      
      The solution :
      
      URL : http://www.giobis.it/cgi-bin/ean1.pl?codice=520366500186
      
        Can you please provide the actual code for this solution? I am trying to figure out GD:BARCODE and this would be very helpful. Thank You, ~Donavon

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://580048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-10-25 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (148 votes), past polls