artist has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks
How I may be able to install a newer version in my local directory when an older version exists in standard installation directory.
I am using MyConfig.pm under .cpan/CPAN and I don't have access to root. Here is the example when I am trying to install HTML::Parser Module.
All tests successful, 1 test skipped.
Files=41, Tests=233,  3 wallclock secs ( 2.51 cusr +  0.48 csys =  2.99 CPU)
  /usr/bin/make test -- OK
Running make install
Cannot forceunlink /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/HTML/Parser/Parser.so:
 Permission denied at /usr/local/lib/perl5/5.6.1/File/Find.pm line 495
Unlinking /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/HTML/Parser/Parser.so (shadowing?)
make: *** pure_site_install Error 255
  /usr/bin/make install UNINST=1 -- NOT OK

Thanks
aartist

  • Comment on Newer Version of Module Installation Locally

Replies are listed 'Best First'.
Re: Newer Version of Module Installation Locally
by PodMaster (Abbot) on Oct 27, 2003 at 22:18 UTC
    It's due to UNINST=1 (since you don't manage that perl install, it generally won't do you much good to have it on).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Newer Version of Module Installation Locally
by tachyon (Chancellor) on Oct 27, 2003 at 23:52 UTC