>Ok, I give up. I've downloaded the GD 1.8.4 source, but I'm in over my head >as far as compiling it goes (I have MPW, though I've rarely used it). Perl I >can do, but I'm in way over my head as far as actually compiling stuff >(especially stuff made for unix) goes.
Yeah I had a bash, and got some GD functionality working fine. But not all, and not enought that I thought I'd got a version that could be released. You're welcome to a binary though, although it could well be too buggy for your purposes. >So what I'm wondering is this: Is it possible to compile GD for use with >MacPerl? If so, what would I do? I assume I'd have to change the MakeFile, First you need libgd compiled. Which depends on libpng, which depends on zlib. All of those appeared to compile OK on my Mac. As did libjpeg. The real stumbling block was getting GD to work fully. It _generally_ works, you can make images and print them etc, but most of the fooFromFile routines didn't work. >as it uses all unix paths, etc, but what changes would I make? I'm not very >familiar with makefiles in general, so what would I do after I'd modified >the makefile? basically get the full MacPerl sources, and GUSI, sfio and whatever else it needs. Install them into MPW if needed. Install the MPW perl tool. Unpack GD into the 'ext:' directory. chdir there. type; perl Makefile.PL buildprogram dynamic Some tweaking is needed to get GD to see your local copies of libpng etc. (Note that some modules build like this very easily - I'd guess they're the ones that rely on no libraries - so don't be put off) I don't know for sure but... *interweb* ... it looks like Chris Nandor compiled GD for MacPerl 5.004. He may know of some issues that affect GD, but that was a version a good while ago. P