Installing perl modules manually

I am trying to install a perl module using a tar file and am having trouble doing so. I see that on the system there are two version of perl installed.

/usr/bin/perl -v
 /usr/perl5/5.6.1/lib/sun4-solaris-64int
    /usr/perl5/5.6.1/lib
    /usr/perl5/site_perl/5.6.1/sun4-solaris-64int
    /usr/perl5/site_perl/5.6.1
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.6.1
    /usr/perl5/vendor_perl  

and the libraries that I want to use:

 /usr/local/lib/perl5/5.8.5/sun4-solaris
    /usr/local/lib/perl5/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl  

If I perform a:

perl Makefile.PL LIB=/usr/local/lib/perl5/5.8.5 INSTALLMAN1DIR=/home/local/perl/Data_Dumper/man/man1 INSTALLMAN3DIR=/home/local/perl/Data_Dumper/man/man3 INSTALLBIN=/usr/local/bin 
INSTALLSCRIPT=/home/scripts/Data_Dumper 

and then when I run a make, I get this error which is using the wrong libraries:

make
cc -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend   -DVERSION="2.121\" -DXS_VERSION=\"2.121\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE  Dumper.c
make: cc: Command not found
make: *** [Dumper.o] Error 127  

My question is how can I tell this Makefile to use these libraries:

/usr/local/lib/perl5/5.8.5/sun4-solaris
    /usr/local/lib/perl5/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl  

and to use the correct c libraries(find them first)

and to use these directories for the rest:

INSTALLMAN1DIR=/home/local/perl/Data_Dumper/man/man1 INSTALLMAN3DIR=/home/local/perl/Data_Dumper/man/man3 
INSTALLBIN=/usr/local/bin 
INSTALLSCRIPT=/home/scripts/Data_Dumper