[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need CPAN Perl mods help



will trillich wrote:

> so i broke down and read the manual. i hate that.
> 
>         % man CPAN
----------------------------------------
OOPS!! I was trying > man cpan with no results :-/

> <snip>
>         FAQ
> 
>         I installed a new version of module X but CPAN keeps saying,
>         I have the old version installed
> 
>                 Most probably you do have the old version installed.
> 
>                 This can happen if a module installs itself into
>                 a different directory in the @INC path than it was
>                 previously installed. This is not really a CPAN.pm
>                 problem, you would have the same problem when installing
>                 the module manually. The easiest way to prevent this
>                 behaviour is to add the argument UNINST=1 to the make
>                 install call, and that is why many people add this
>                 argument permanently by configuring
> 
>         o conf make_install_arg UNINST=1
> 
> i'm pretty sure it's talking about issuing a command at the
> 'CPAN shell' prompt there. that's not a bullet, by the way:
> 
>         > o conf make_install_arg UNINST=1
-------------------------------------------------------
I tried this and it seems to work. The command has to be entered from
the cpan command line at the beginning of each session though. That is
the case on my setup anyway.

> 
> actually consists of
> 
>         <lower-case OH> 'conf' 'make_install_arg' 'UNINST=1'
> 
> which certainly had me going there for a while.
> 
> (one thing that has me going every time there's an upgrade
> to cpan itself, is, i do the recommended two-step to get
> and reload it, but the next three or four times i start
> cpan it says the same thing over again. after about four
> upgrade attempts, all is hunky/dory. fuy.)
> 
> ...
> 
> still, the question remains:
> 
> is there a debian-approved override for cpan download/installs?
-------------------------------------------------------------
In my opinion there should be some kind of wrapper similar to the
RealPalyer or Netscape installer for these CPAN mods and also for
Apache. It would allow for removal of specific debianized mods in the
distro and allow for updates that would be recognized by debian. I
wonder why that has not been done? I suggested some time back that this
function be considered for Alien. There were no replies.
Thanks for the pointers Will!!
-- 
AdVance-Computing Systems

We sell fine quality servers and workstations.
We specialize in multiprocessor units. 
We install Debian Linux at no extra charge!

John Foster                                
jfoster@augustmail.com 
ICQ# 19460173



Reply to: