Unable to install CPAN modules with PPM GUI in win32

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • somsub
    New Member
    • Nov 2008
    • 17

    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 .
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    I moved your question to the Perl forum for better topic alignment.

    kind regards,

    Jos (moderator)

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      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.or g for more information.

      Regards,

      Jeff

      Comment

      • RonB
        Recognized Expert Contributor
        • Jun 2009
        • 589

        #4
        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.

        Comment

        • numberwhun
          Recognized Expert Moderator Specialist
          • May 2007
          • 3467

          #5
          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".



          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

          Comment

          • KevinADC
            Recognized Expert Specialist
            • Jan 2007
            • 4092

            #6
            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.

            Comment

            • somsub
              New Member
              • Nov 2008
              • 17

              #7
              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 .

              Comment

              • numberwhun
                Recognized Expert Moderator Specialist
                • May 2007
                • 3467

                #8
                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

                Comment

                • somsub
                  New Member
                  • Nov 2008
                  • 17

                  #9
                  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 .

                  Comment

                  Working...