Nov 24, 2009

I have been trying to recompile php, to get curl to work. In order to do that i need to run
the error i get:

Can't locate File/Copy/Recursive.pm in @INC
I have tried (a lot of times):

/scripts/checkperlmodules --full
But no success. I reinstalled this module:

cpan> install File::Copy::Recursive
File::Copy::Recursive is up to date (0.38).
So i copied the file to the include path.

Then i get:

Can't locate BSD/Resource.pm in @INC
I fond that file on my server, so i copied that file to the include path to.

Now i get:

Can't locate auto/BSD/Resource/constant.al in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at BSD/Resource.pm line 91
This file i can't find. i tried to commend out line 91 of Resource.pm, but that did not work..

Can somebody help me?

Additional info:

This is perl, v5.8.8 built for x86_64-linux

CentOS release 5.4 (Final)