Can't locate Pfunc/TCPDaemon.pm in @INC

Perl Error

Fix Can't locate Pfunc/TCPDaemon.pm in @INC Error

This error can occur when modules are missing or need re installation or recompilation

 

Perl Error Fix:

Perquisites:

  • ExtUtils::Depends

mkdir edepends
cd edepends
wget http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/ExtUtils-Depends-0.405.tar.gz
tar xfvz ExtUtils-Depends-0.405.tar.gz
cd cd ExtUtils-Depends-0.405
perl Makefile.PL
make
make test
make install

  • B::Utils

mkdir butils
cd butils
wget http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Utils-0.27.tar.gz
tar xfvz B-Utils-0.27.tar.gz
cd B-Utils-0.27
perl Makefile.PL
make
make test
make install

 

Install TCP Daemon Perl Module

 

mkdir moduleinfo
cd moduleinfo
wget http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Module-Info-0.37.tar.gz
tar xfvz Module-Info-0.37.tar.gz
cd Module-Info-0.37
perl Makefile.PL
make
make test
make install

 

 


Subscribe to
for video tutorials updates