469,354 Members | 2,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,354 developers. It's quick & easy.

Unable to install CPAN modules with PPM GUI in win32

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

kind regards,

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

http://ppm4.activestate.com/

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

Regards,

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

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
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.