I need to install GD::Graph which requires two dependencies GD and GD::Text
I understand GD.pm is Interface to Gd Graphics Library but how can I install it? install GD.pm gives me an error
Warning: Cannot install GD.pm, don't know what it is.
Try the command
perl -MCPAN -e 'install "GD"'.
Unknown shell command 'perl'. Type ? for help.
Running install for module 'GD'
Running make for L/LD/LDS/GD-2.46.tar.gz
Catching error: 'mkdir /Users/xyz/.cpan/sources/authors/id/L/LD: Permi
+ssion denied at /System/Library/Perl/5.10.0/CPAN.pm line 4117
' at /System/Library/Perl/5.10.0/CPAN.pm line 281
CPAN::shell() called at -e line 1
I don't know what is going wrong one reason being I am not sure what the person had done who was working on this mac before. Whether cpan was configured properly or not.