Hi again
A. I can probably answer 'why it (GD) isn't installed?'. GD is not a frequently required module for most Perl environments. Most graphics manipulation work is done in PHP nowadays.
B. I think I can get you through this without using a site library.
This is from the GD 'readme'
--------------------------------------------------------------------------------------------------------------------------
INSTALLING GD IN YOUR HOME DIRECTORY
IF YOU DON'T HAVE PRIVILEGES TO INSTALL GD.pm in your system's main
Perl library directory, don't despair. You can install it into your
home directory using the following feature of Makefile.PL:
a. cd
GD-2.46 (my assumption) b. perl Makefile.PL LIB=/home/fred/lib
c. make
d. make install
(change /home/fred/lib as appropriate for your home directory). This
will install GD.pm in /home/fred/lib. You may get some errors about
not being able to install the manual pages. Either don't worry about
it, or run the "perl Makefile.PL" step with the INST_MAN3DIR variable
set to some directory you have write permission for.
SOOO - we need to change those instructions a bit -
b. perl Makefile.PL LIB=/opt/lampp/lib/perl5/5.10.1
You'll now need to modify your GD-using scripts to tell Perl where to
find GD. This example assumes that your home directory is at path
"/home/fred"; change it as appropriate.
#!/usr/local/bin/perl
use lib '/home/fred/lib';
use GD;
... etc ...
and one more change - for your use/include -
use lib '/opt/lampp/lib/perl5/5.10.1';
use GD;---------------------------------------------- end of extract from readme --------------------------------------------------------
The changes are in blue -
I would run all this as root via a root login, su or sudo -- THEN change ownership and permissions to match LAMPP's requirements
Good Luck and let me know how it works out...