From: Austin S. <te...@of...> - 2002-08-26 10:24:12
|
On Mon, Aug 26, 2002 at 11:54:20AM +0530, Vijay Ramesh wrote: > > Hi All, > > The error that i am getting is > > vlsi /user/user1>cd fastscan/ > vlsi /user/user1/fastscan>./run > runIddq@ runStuckat@ runTrans@ > vlsi /user/user1/fastscan>./runStuckat > Can't locate Expect.pm in @INC (@INC contains: > /user/user1/atpg/ATPG_johnb.0.1/bin/../lib > /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 > /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at > > /user/user1/atpg/ATPG_johnb.0.1/bin/../lib/TI/ATPG/Fastscan.pm line 5. > BEGIN failed--compilation aborted at > /user/user1/atpg/ATPG_johnb.0.1/bin/../lib/TI/ATPG/Fastscan.pm line 5. > BEGIN failed--compilation aborted at > /user/user1/atpg/ATPG_johnb.0.1/bin/../lib/TI/ATPG/atpgStuckat.pm line > 5. > BEGIN failed--compilation aborted at ./runStuckat line 9. > > Please help me how to go about installing the perl module step by step > as i am a novice to this field...(the PREFIX directory etc...) > > perl Makefile.PL PREFIX=~/lib/perl make make test make install You have to set the environment var PERL5LIB=~/lib/perl before using. Also, perl will tend to install things under things like site_perl/, which perl won't check PERL5LIB for when including the modules. My solution to this has been to create a bunch of symlinks, e.g.: cd ~/lib/perl ln -s . lib ln -s . site_perl ln -s . 5.00503 ln -s . sun4-solaris And make sure all modules are therefore installed directly into what I've set as PREFIX. Presumably there is a simpler way to accomplish this, but I've been too thickheaded to figure out what. Austin |