laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Problem with the GD moduleby jmanning2k (Pilgrim) |
on Aug 15, 2003 at 13:52 UTC ( [id://284155]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|