Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Problem with the GD module

by ido50 (Scribe)
on Aug 14, 2003 at 21:18 UTC ( [id://284012]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem with the GD module
in thread Problem with the GD module

Thanks jmanning2k for your answer, but I've already deleted "my own" GD.pm, and removing the use lib line doesn't help.
Now about this: "Odds are, you didn't build it with jpeg support when you installed your own version (or didn't upload the autoload and non-native perl bits for the proper arch - FreeBSD)". Part from being able to upload the GD.pm file, can I actually upload and build gd myself?!

-------------------------
Live fat, die young

Replies are listed 'Best First'.
Re: Re: Re: Problem with the GD module
by jmanning2k (Pilgrim) on Aug 15, 2003 at 13:52 UTC
    If you have a shell account on the machine in question, it's likely. Get the libgd source and unpack it to ~/src/libgd/. Compile it with the right options (point to the installed libjpg, libpng, lib(un)gif, etc) - ./configure --help will be useful here. Don't forget to set the install prefix to ~/lib/.

    Then compile your GD.pm module on the remote system, pointing to your custom installation of libgd in ~/lib.

    You can't compile it locally, then upload it, unless you have the exact same version of FreeBSD and related libraries that are on the remote system.

    Seriously though, if you have a willing sysadmin, let him do it. Unless you don't trust him, or don't trust that the module is built correctly... In that case, it would be best to find some sort of test program that uses libgd (other than GD.pm) and verify jpeg is broken before trying to compile it yourself. It's very likely that libgd and GD.pm are correct and your problem is just something minor elsewhere. Break it down to the simplest blocks and test each component in the chain -- libjpeg, libgd, GD.pm, your script.

    Hope this helps...

      Thank you very much for your help jmanning2k, I will ask the admin to do that, and if he doesn't, try to do it myself. I will also find some test progs now.
      Thanks again.

      -------------------------
      Live fat, die young

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-03-28 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found