Hi,
If you've installed the font libraries in one of the standard places
like /usr or /usr/local then Imager's Makefile.PL should find them by
itself.
If not, you'll need to provide some information to Makefile.PL so it can
find the libraries itself.
If you've installed freetype 2.x, make sure freetype-config is in the
PATH, and Imager can use that to find the freetype 2.x libraries - you
should see something like:
freetype2: configured via freetype-config
when CPAN runs Makefile.PL.
If you're trying to use freetype 1.x or T1Lib, you can either set the
IM_INCPATH and IM_LIBPATH environment variables, or pass the --incpath
and --libpath options to Makefile.PL.
To set the variables you might do:
% setenv IM_INCPATH /installedlibpath/include
% setenv IM_LIBPATH /installedlibpath/lib
% perl -MCPAN -eshell
Show quoted text cpan> test Imager
cpan> install Imager
where /installedlibpath is the prefix you supplied when installing the
library.
To use the command-line options you might do:
% perl -MCPAN -eshell
Show quoted text cpan> look Imager
% perl Makefile.PL --incpath /installedlibpath/include --libpath
/installedlibpath/lib
% make test
% make install
--
Tony Cook