in reply to Re^4: error about INC
in thread error about INC

can you please let me know how to locate lib.pm in @INC what is the procedure for that

Download the lib-0.63 source, extract it to some location, then cd to the top level folder of the extracted source, then run perl Makefile.PL, then run make, then copy the lib.pm that's in ./blib/lib into the /volumes/v1/qedms/opt/perl/lib/5.14.1 folder.

You might need to be using the 5.14.1 build of perl (not the 5.8.4 build) when you run perl Makefie.PL ... or it might not matter which perl you use for that step (I'm not sure).

Normally you wouldn't have to install lib.pm into @INC because it would already have been in there when perl was installed.

Cheers,
Rob

Replies are listed 'Best First'.
Re^6: error about INC
by kumbam.ashwin (Initiate) on Jan 22, 2014 at 10:36 UTC
    Hi Rob Here the path /volumes/v1/qedms/opt/perl/lib/5.14.1 does not exists, we have /volumes/v1/edms/opt/perl/lib/5.14.1 as i said you we have copied the perl folder from test box to production. in production it is supposed to be edms and in test it is qedms. so shall i perform the steps suggested by you in prod machine, Do i have any problem in running it in prod box
      we have copied the perl folder from test box to production. in production it is supposed to be edms and in test it is qedms

      Oh ... I think I get it now. You've built a perl on one machine that looks for (and finds) the modules in the "qedms" folders.
      Then you've copied that perl to another machine and renamed the "qedms" folders to "edms". Perl still tries to find the modules in the "qedms" folders (because that's the way its @INC was constructed), but now perl can't find any modules because the folders it searches are non-existent.

      How do you want to fix this ? Simplest way would be to rename the "edms" folders back to "qedms" on the production machine.

      Cheers,
      Rob
        Hi Rob can you please give your contact number want to call you and please clarify my doubt.. it is very much greatfull if you can help me ..or can you please mail me your contact detail on kumbam.ashwin@gmail.com