| |
  | Ones and Zeros |
| An irregularly updated journal of my Fair and Balanced thoughts, reactions, opinions, biases, outrages, strategies, victories, and commentary. Whatever it is, it's much too subtle to be considered a parody... |
|
|
| |
|
October 02, 2005
| Blogging |
|
As a test for some friends who want Captcha to solve the problem of Comments spam in Snorcomments2, I found and installed Authen::Captcha from CPAN. That required Digest::MD5 (which was there) and GD.pm (which was not). GD.pm requires libgd, which requires libpng (and thus zlib) and likes to have libjpeg and freetype2.
Matías Giovannini's GD on Mac OS X HOWTO was basically solid, but needs to be updated as Pete at RasterWeb noted. It's good through Step 9, then look at the RasterWeb entry.
Additionally, I found that GD choked with an error saying MACOSX_DEPLOYMENT_TARGET=10.1 wasn't good enough. I set that environment variable to 10.3 and it all compiled.
I followed that with cpan GD and cpan Authen::Captcha, both of which compiled.
I took the wwwtest.cgi script from the archive, set the file locations in it, and Bob's your Uncle. Feel free to test it. It just tells you if it worked or not.
Yes, this is a help guide for myself if I need to do it again...
|
| .:Posted by Michael on October 2, 2005 11:33 PM:.
|
|
|
|