Perl module install fails cause of wrong @INC path

Roderick Derks redhat at r71.nl
Fri Oct 2 09:32:57 UTC 2009


Hi, 
I'm trying to install the Net::Telnet module on my Linux RedHat server, but in the perl environment that has been delivered with the application. So I'm logged in as a user that has a Perl environment other then the original Linux perl environment. 

This installing should be no problem, but the @INC paths are not set in the correct way to install the NET::Telnet module. I get errors after executing a "make test ". If I can add the correct paths to the @INC array then things should work out OK I guess. 

-bash-3.00$ make test 
PERL_DL_NONLAZY=1 /quovadx/qdx5.6/integrator/bin/perl588 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 
Can't locate ExtUtils/Command/MM.pm in @INC (@INC contains: /work/jerickso/quovadx_dev/qdx5.6P/integrator/lib/perl5/5.8.8/i686-linux /work/jerickso/quovadx_dev/qdx5.6P/integrator/lib/perl5/5.8.8 /work/jerickso/quovadx_dev/qdx5.6P/integrator/lib/perl5/site_perl/5.8.8/i686-linux /work/jerickso/quovadx_dev/qdx5.6P/integrator/lib/perl5/site_perl/5.8.8 /work/jerickso/quovadx_dev/qdx5.6P/integrator/lib/perl5/site_perl .). 
BEGIN failed--compilation aborted. 
make: *** [test_dynamic] Error 2 

I would like to add /quovadx/qdx5.6/integrator/external/Perl_5.8.8/ to the @INC array. How do I do this?? 

Please advice. Thnx for helping me out! 

Roderick 



More information about the redhat-list mailing list