Unable to install CPAN modules with PPM GUI in win32 
July 3rd, 2009, 03:16 PM
| | Newbie | | Join Date: Nov 2008 Location: Bangalore
Posts: 15
| | |
How can I install CPAN current modules whats are listed from CPAN site using PPM GUI . Because my PPM GUI's package repository does not contain the latest modules as in CPAN . So I need to install few modules from CPAN .
But using manual method..(just down load that module from CPAN and after that manually setting it ) there are so many dependencies and at last it gets failed so I want to install through PPM GUI . Beacause it always worked for me and it is hazard free.
Advance help for any suggestions on this .
| 
July 3rd, 2009, 03:42 PM
|  | Expert | | Join Date: Mar 2007
Posts: 10,634
Provided Answers: 2 | | | re: Unable to install CPAN modules with PPM GUI in win32
I moved your question to the Perl forum for better topic alignment.
kind regards,
Jos (moderator)
| 
July 3rd, 2009, 08:11 PM
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,543
| | | re: Unable to install CPAN modules with PPM GUI in win32 Quote:
Originally Posted by somsub How can I install CPAN current modules whats are listed from CPAN site using PPM GUI . Because my PPM GUI's package repository does not contain the latest modules as in CPAN . So I need to install few modules from CPAN .
But using manual method..(just down load that module from CPAN and after that manually setting it ) there are so many dependencies and at last it gets failed so I want to install through PPM GUI . Beacause it always worked for me and it is hazard free.
Advance help for any suggestions on this . | First, thanks for moving this ofer JoS!
Ok, I assume since you are speaking about PPM that you are on the Windows platform. If that is the case, you probably have the Active State version of Perl installed.
Unfortunately, when you use that version, you are at the mercy of what Active State(AS) is able to port over to their packaging system (PPM). As you have seen, the entire CPAN repository certainly isn't reflected.
The only way to get away from PPM in Windows is to uninstall the AS version and install Strawberry Perl. Once you do that you would not use PPM anymore, instead you would use the CPAN interface. Check out perlmodinstall document on perldoc.perl.org for more information.
Regards,
Jeff
| 
July 3rd, 2009, 10:14 PM
| | Member | | Join Date: Jun 2009
Posts: 43
| | | re: Unable to install CPAN modules with PPM GUI in win32
Sorry numberwhun, but I have to disagree. ActiveState is not the only ppm repository so you're not "at the mercy of what Active State(AS) is able to port". http://ppm4.activestate.com/
You simply need to add each of the other official repositories.
| 
July 4th, 2009, 12:26 AM
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,543
| | | re: Unable to install CPAN modules with PPM GUI in win32 Quote:
Originally Posted by RonB Sorry numberwhun, but I have to disagree. ActiveState is not the only ppm repository so you're not "at the mercy of what Active State(AS) is able to port". http://ppm4.activestate.com/
You simply need to add each of the other official repositories. | Yes, I did know of others, but again, all of the cpan modules need to be ported to their packaging system. At that, not everything works either. At least through CPAN you have all cpan modules available to you, without restrictions.
Also, Ron, please read your private messages. :)
Regards,
Jeff
| 
July 4th, 2009, 04:41 AM
|  | Expert | | Join Date: Jan 2007 Location: Southern California USA
Posts: 4,097
| | | re: Unable to install CPAN modules with PPM GUI in win32
I think you can use the CPAN shell with activeperl, but I never had much luck with it myself. But I do think it is possible.
| 
July 4th, 2009, 08:32 AM
| | Newbie | | Join Date: Nov 2008 Location: Bangalore
Posts: 15
| | | re: Unable to install CPAN modules with PPM GUI in win32
Yeh... RonB thanks fr ur interest............... but the http://ppm4.activestate.com/
is already been added to my win32 PPM GUI -> Edit -> Preferences -> Repositories .
I am using perl, v5.10.0 MSWin32-x86-multi-thread . So it is listing only those modules what are in its repository database .
But my need is to install few current CPAN packages those are not listed in the repository database of perl, v5.10.0 MSWin32-x86 PPM GUI .
That I can only get from CPAN site ( Very recent) .
Is there any URL of CPAN so that I can add it in the location win32 PPM GUI -> Edit -> Preferences -> Repositories .
or any other .. way to install CPAN modules to my perl .
| 
July 4th, 2009, 09:42 PM
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,543
| | | re: Unable to install CPAN modules with PPM GUI in win32
If you really want to install modules from CPAN, and PPM doesn't do it for you because what you want hasn't been ported, then you need to ditch Active State and PPM and move over to Strawberry Perl and the real CPAN interface. You can't tell ppm to install from CPAN as the modules aren't in its proprietary, packaged format. That's the problem with it.
Regards,
Jeff
| 
July 6th, 2009, 06:22 AM
| | Newbie | | Join Date: Nov 2008 Location: Bangalore
Posts: 15
| | | re: Unable to install CPAN modules with PPM GUI in win32
Thanks numberwhun for ur inputs.
I uninstalled Active Perl and installed strawerry Perl . That gets installed under C:\strawerry
After that to install CPAN repository modules in command prompt I simply typed :
cpan -h
it gives me the all list of options
among them I chosen
cpan /fi module:name
And it gets installed .
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 225,652 network members.
|