Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Problem with the GD module

by jmanning2k (Pilgrim)
on Aug 15, 2003 at 13:52 UTC ( [id://284155]=note: print w/replies, xml ) Need Help??


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

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...

Replies are listed 'Best First'.
Re: Re: Re: Re: Problem with the GD module
by ido50 (Scribe) on Aug 15, 2003 at 17:21 UTC
    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://284155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found