Welcome to WebmasterWorld Guest from 22.214.171.124
GD.pm: GD.pm 2.01 or later (with PNG support) &
This is on freebsd and a "pkg_info" now shows...
digest-20010807_2 MD5/SHA-1/RIPEMD-160 checksumming utility
gd-1.8.4_6 A graphics library for fast image creation
gd-2.0.1_3 A graphics library for fast creation of images
How to I install or tell perl about the "digest" and "gd-2.01" packages?
I am a newbie and simple instructions would help. I spent time on this and am thinking I just do the following?
1.) # perl -MCPAN -e shell
2.) cpan > install ?
Not sure how to specifiy 2 needs packages above?
Then how do I exit out and is that it or what else am I missing?
My thinking is they are now installed and perl should see them...but when I run the cgi in the error logs I get errors on the line numbers that reference the GD package.
So I thought somehow perl needed to be told about these new packages.
I thought me running pkg_add would be equivelant to what I did with "make install" which was successful?
Comments?..and thanks for your response...Jay
Can't locate GD.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at captcha.pl line 42.
BEGIN failed--compilation aborted at captcha.pl line 42.
Compilation failed in require at /usr/local/www/cgi-bin/cgi/captchatest.cgi line 33.
[Tue Mar 3 07:06:11 2009] [error] [client 126.96.36.199] Premature end of script headers: /usr/local/www/cgi-bin/cgi/captchatest.cgi