in reply to Re^3: cpanplus not functioning right in a multiple-Perl installation setup?
in thread cpanplus not functioning right in a multiple-Perl installation setup?
I deleted the TERM environment variable, and then cpanplus is not complaining: "terminal is not fully functional" any more. So this does solve that problem.
Like I said, this leaves us with the main issue: how to make cpanplus refer to a new Perl installation only. Here is some additional information:
%PATH%: echo %PATH% gives:
C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; F:\Win7programs\SBPerl\perl\bin; F:\Win7programs\SBPerl\perl\site\bin; F:\Win7programs\SBPerl\c\bin; C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Com +mon7\IDE\; C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; F:\Win7programs\Python25; F:\Win7programs\TortoiseSVN\bin; F:\Win7programs\cygwin\bin; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\ (newlines added for legibility)
F:\Win7programs\SBPerl\ is where I've installed Strawberry Perl 5.16.3.
(My older 5.14.2 Perl installation is at: F:\Win7programs\Dwimperl\)
Interestingly, from the old installation, there exists a directory structure on C:\
C:\Documents and Settings\Helen\.cpanplus \5.14.2 \build \authors \id \install-logs
but there is no similar sub-directory structure for the new installation: \5.16.3
Also, strangely, even if I call cpanp like so (as Corion suggested):
>F:\Win7programs\SBPerl\perl\bin\cpanp.bat
it still checks the old Perl installation for the existence of modules, and writes the install log to:
C:\Documents and Settings\Helen\.cpanplus\install-logs
Here is a typical (one-liner) install log:
[MSG] [Thu May 9 21:40:21 2013] Module 'Carp' already up to date, won't install without force
IMO, the key questions here are:
Many TIA - Helen
N.B. Corion: you said: As the setup of more than one Perl version seems to be problematic for you ...etc
Installing the second Perl installation, I do not think I have done anything less accurate or orderly that a veteran Perl system manager would have done. But Corion, more generally, I was of the opinion that the PerlMonks spirit is: The only stupid question is the question not asked, and that PerlMonks encourage exploration of the Perl eco-system, and enhancement of Perl knowledge (especially in these times, when the mass hype is to go the Python way (or Ruby, or Lua)).
I think my posts here definitely have value, and specifically regarding this current cpanp issue, I think I have identified a bug in CPANPLUS, where it has difficulty identifying the default Perl installation in a multi-Perl installation setup.
If my questions here constitute a nuisance, I can find other forums to gain knowledge at.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: cpanplus not functioning right in a multiple-Perl installation setup?
by Corion (Patriarch) on May 10, 2013 at 08:22 UTC | |
by HelenCr (Monk) on May 10, 2013 at 21:26 UTC | |
by Anonymous Monk on May 11, 2013 at 00:24 UTC |