On 4/12/02 6:43 PM, p kent <[EMAIL PROTECTED]> wrote: > 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.
Thanks for the offer, but I think I'll try this myself. Of course, I may be back here in a week begging for that binary :) > 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. <snip> > 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) Thanks! I'll give this a shot once I finally get enough free time to work it all out. One side question: Does anyone know if the Perl that comes with OS X has a pre-compiled GD module? Thanks for the help, -- Michael