uhhh you know.. tall things, really hard -- like a stick but bigger -- green and bendy in the spring and summer...
anyway I've been trying to get the anit-spam crap set up on my linux box for 3 days with little success. I was hoping to use the thing that puts a jpeg or image on the screen that contains letters or numbers that you have to type in to submit comments. I found a moveable type plug in for that called Captcha. The Captcha plug in required that I install Authen::Captcha and GD.pm perl modules on my Linux system. When I downloaded those and read the readme's, I discovered that GD.pm (GD-2.35 is latest version) is actually a prerequiste of Authen::Captcha. Not a problem, except that GD.pm reqires another module called libgd to be installed. libgd (gd-2.0.35 is latest version) is a module that allows you to dynamically create .gif and .jpg files, which is exactly what I wanted to do for comment security. Cool. Oop, bad news. Unfortuneately, gdlib requires 2 other completely separate modules in order of it to actually create the .gif files -- the PNG graphics library (to create .png images) and the zlib compression library. There are also 3 other "optional" modules, one of which -- the JPEG library (verson 6b or later) -- is neded to get .jpeg files to work. Ok. So I find those, read THEIR documentation and now I'm ass deep in this thing and have all this crap downloaded. If you've read this far, you must have been bored out of your goddamn mind when you started reading. But my story gets even better.......Well, longer.
Believe it or not, I don't know diddly-shit about Linux. If I manage to get something to work for me in Fedora's gui, that's a big, way cool, triumph. I kind of understand what's going on in there but I don't know where anything is, why it's there or what might be using it. Part of the reason for that is I normally don't have a monitor connected to that system. It has a keyboard so it will POST, a network cable and a power cord. If I need to make changes to it, which happens pretty often when I'm in a programming mood, I use webmin and it pretty much takes care of me. It knows where everything is.
Be that as it may, I was able to get zlib, png and the JPEG library installed which was very encouraging considering I'd spend more than a few hours downloading this and that and finding out I needed the other thing too. Keep in mind (if you have one left after reading this far) that all of these packages/libraries/modules are created, maintained, compiled, updated, documented, etc, etc by different people/groups/sea monkies who all need to stay in their mom's basements and continue coding, rather than going outside where they might end up breeding. The packages are all out on different sites. One thing might use another thing, might even require it, but that doesn't mean that the guy who lives in his mom's basement will communicate or coordinate his efforts with some other guy in his mom's basement to make the sofware they wrote while sitting around in their boxers and velour bathrobes chainsmoking to work together. They'll give you some general hints about how to get their little chunk of pooh working and that's it. They have great instructions like:
Unpack the distributed source code. Don't ask us how to do this, we don't have time to teach you basic computer usage.
Unix users probably don't need to read the rest of this file. Run:
./configure
make
make test
If make test fails you have something wrong on your system. Uninstall everything from your computer, drop the partitions on your harddrive and recompile the universe using a new sigularity point. If you continue to have issues it is because your observation of the software is causing the uncertainty wave to collapse leaving you a particle of software with s=nonfunctional. ./configure without any method of observation or measurement. You will have software with potential s=functional,s=nonfuctional
If make test passes, run:
make install
I've actually done that before -- well, not the sigularity part (we're all still here, right? duh!) So after getting the first 3 downloads to install no problem, I figure I got this licked. Not so. I spent all of my non working, non sleeping hours the next day trying to get the gdlib to recognize the PNG and JPG libraries. Since Linux is open source, no one bothers to install stuff in the same directories from one flavor to the next. Nice. Late Thursday I finally found how to point the ./cofigure to the location of my libraries (where they automatically installed) rather than where it was looking for them (where the programmer moved them so his hdd was alphabetized?).
Another small victory. So, time to install GD.pm and get this wrapped up cause the rest is simple. GD.pm won't install. No matter what I do, it fails on the test. It look like it runs the make correctly, no errors--then pukes on the test. I've spent about 12 hours on that. I even thought that *gasp* the code in the test may be wrong. I moved on with the make install, which appeared to work... well it did "stuff"...but then the make test on Authen::Captcha gave errors so strikingly similar and yes, at this point, familiar, that I was back in the readme in GD.pm learning how to create a sigularity and start over. That's all that's left. I can't find the other things that they save HAVE to be my problem.
So. If you're still reading, I went to Monty's today (see the M files link to the right) and played LAN games with him, Jason K. and Stu. By the time I got home, I'd decided I'd rather turn the comments off than piss with this shit any more. Then I decided to go look for another spam blocker that maybe didn't have so many prerequisites. I found Comment-Challenge. It's text based but requires a key that goes up with some other hidden stuff. I installed it in about 25 minutes -- including the time it took to read the very clear, straight forward documentation. The key isn't dynamic (yet) and apparently it doesn't need to be. I might do a little perl/php to make mine dynamic and see how that goes.
OK Holly, long story short. The comments now require an authentification code that should block spam. Anyone/everyone should be able to post comments again -- just no spambots. When you can't see the forest for the trees, take a step back. I was at the "can't see the tree because of the bark" stage this time -- or maybe the "don't know it's bark because I didn't recognize it's cellular structure" stage. Shit.