Hi Monks,
While am installing perl module via CPAN it shows the below error.
And i have executed the below command
cpan cpan> install Archive::Tar
And the error is
Running make install Warning: You do not have permissions to install into /usr/lib64/perl5/ +site_perl/5.8.8/x86_64-linux-thread-multi at /usr/lib/perl5/5.8.8/Ext +Utils/Install.pm line 114. mkdir /usr/lib/perl5/site_perl/5.8.8/Archive: Permission denied at /us +r/lib/perl5/5.8.8/ExtUtils/Install.pm line 176 make: *** [pure_site_install] Error 13 /usr/bin/make install -- NOT OK You may have to su to root to install the package
my requirements are
1) install the perl modules in "/install/others/" folder, here i have permission to write the file.
2) Include this path to @INC by default
cpan> o conf CPAN::Config options and /home/iesadm/.cpan/CPAN/MyConfig.pm: commit Commit changes to disk defaults Reload defaults from disk init Interactive setting of all options build_cache 30 build_dir /install/others/.cpan/build cache_metadata 1 cpan_home /install/others/.cpan dontload_hash ftp /usr/bin/ftp ftp_proxy getcwd cwd gpg /usr/bin/gpg gzip /bin/gzip histfile /install/others/.cpan/histfile histsize 600 http_proxy inactivity_timeout 0 index_expire 1 inhibit_startup_message 0 keep_source_where /install/others/.cpan/sources links make /usr/bin/make make_arg make_install_arg makepl_arg ncftp ncftpget no_proxy pager /usr/bin/less prerequisites_policy ask scan_cache atstart shell /bin/ksh tar /bin/tar term_is_latin 1 unzip /usr/bin/unzip urllist http://cpan.perl.org/ http://ppm.activestate.com/CPAN/ wget /usr/bin/wget
My system information is
$ uname -a Linux weblt0001 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 + x86_64 x86_64 x86_64 GNU/Linux
How can i handle this scenario.
Thanks
Shanmugam A.
In reply to Perl Module Installation in Linux RedHat OS by shan_emails
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |