By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,812 Members | 1,978 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,812 IT Pros & Developers. It's quick & easy.

Unable to install CPAN modules with PPM GUI in win32

P: 16
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 .
Jul 3 '09 #1
Share this Question
Share on Google+
8 Replies


Expert 10K+
P: 11,448
I moved your question to the Perl forum for better topic alignment.

kind regards,

Jos (moderator)
Jul 3 '09 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
@somsub
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
Jul 3 '09 #3

Expert Mod 100+
P: 589
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.
Jul 3 '09 #4

numberwhun
Expert Mod 2.5K+
P: 3,503
@RonB
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
Jul 3 '09 #5

KevinADC
Expert 2.5K+
P: 4,059
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.
Jul 4 '09 #6

P: 16
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 .
Jul 4 '09 #7

numberwhun
Expert Mod 2.5K+
P: 3,503
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
Jul 4 '09 #8

P: 16
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 .
Jul 6 '09 #9

Post your reply

Sign in to post your reply or Sign up for a free account.