Gossamer Forum
Home : General : Perl Programming :

Installing Perl Modules Locally, Can't locate modulename.pm in @INC

Quote Reply
Installing Perl Modules Locally, Can't locate modulename.pm in @INC
I'm a new bie in CGI esp. in graph modules.I installed some GD::Graph modules locally in linux.

But when I run a sample program it give me an error that :

Can't locate modulename.pm in @INC

I tried using export perl5lib=path name

but the path does not appear when I use

perl -V

Could anyone help me figure out what the problem is.What should I do inorder to make this run. I started installing another module locally , but i stopped the installation with the makefile.PL and did'nt run make install and removed the extracted files.But even when I try to install a new module locally
and use make file the previous one which is incomplete comes and i'm unable to install any new module .
Any Suggestions ????????? Thanks in advance.
Quote Reply
Re: [newbie007] Installing Perl Modules Locally, Can't locate modulename.pm in @INC In reply to
Hey Karthik,

It sounds like you didn't get the modules installed completely and/or correctly. See if this link on installing perl modules locally helps any. Once installed correctly using use lib '/full/path/to/lib'; should work fine.

~Charlie