471,825 Members | 1,002 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,825 software developers and data experts.

Unable to install CPAN modules with PPM GUI in win32

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
8 4106
11,448 Expert 8TB
I moved your question to the Perl forum for better topic alignment.

kind regards,

Jos (moderator)
Jul 3 '09 #2
3,503 Expert Mod 2GB
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.


Jul 3 '09 #3
589 Expert Mod 512MB
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".


You simply need to add each of the other official repositories.
Jul 3 '09 #4
3,503 Expert Mod 2GB
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. :)


Jul 3 '09 #5
4,059 Expert 2GB
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
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
3,503 Expert Mod 2GB
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.


Jul 4 '09 #8
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.

Similar topics

reply views Thread by blupp | last post: by
reply views Thread by sam | last post: by
reply views Thread by Yun Guan | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.