Re: error in installing DBI module in linux.NEED HELP URGENT
[email protected] (John R Pierce)
| Newsgroups | perl.dbi.users |
|---|---|
| Message-ID | <[email protected]> |
On 07/08/10 1:36 AM, Clive Eisen wrote: > On 08/07/2010 11:18, Martin J. Evans wrote: >> Scripting Giri wrote: >>> Hi Team >>> >>> Need Your help ASAP.I am getting error while installing the PERL DBI >>> module,as mentioned below >>> =============== >>> [root@dba /]# cd /usr/bin/ >>> [root@dba bin]# cd DBI-1.611 >>> [root@dba DBI-1.611]# perl Makefile.PL >>> Can't locate Cwd.pm in @INC (@INC contains: >> >> Perhaps install Cwd first. > > Indeed or use CPAN which will take care of it for you and, don't build stuff in /usr/bin/* !!! in fact dont build stuff as root at all. ever. if you're using a packaged manage distribution, you really should be looking at your distribution's packaging system for modules and if you have to build something, build it using packaging compatible tools (CPAN2RPM, etc)