Perl module install fails cause of wrong @INC path

Roderick Derks redhat at r71.nl
Mon Oct 5 20:02:17 UTC 2009


Any suggestions? 
thnx! 

----- Original Message ----- 
From: "Roderick Derks" <redhat at r71.nl> 
To: "General Red Hat Linux discussion list" <redhat-list at redhat.com> 
Sent: Vrijdag 2 oktober 2009 11:32:57 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna 
Subject: Perl module install fails cause of wrong @INC path 

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 
-- 
redhat-list mailing list 
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list 



More information about the redhat-list mailing list