in reply to Re: Missing some packages in my Activ Perl Installation
in thread Missing some packages in my Activ Perl Installation

Thanks a lot, I have found Crypt::Rijndael package. How do i install this?
  • Comment on Re^2: Missing some packages in my Activ Perl Installation

Replies are listed 'Best First'.
Re^3: Missing some packages in my Activ Perl Installation
by GrandFather (Saint) on Mar 24, 2010 at 07:00 UTC

    What does 'found' mean? In ppm's GUI there should be either a yellow or grey box to the left of the module name. If the box is yellow the module is installed.

    If the box is grey right click on the module name and click install. The box ought get a little green circle with a + on it. Click the green right arrow toward the top right of the window.


    True laziness is hard work
      Im Sorry, I should ve been more explicit. When i tried to connect to the repository, the ppm said: cant connect, bad host. So i visited the CPAN PPM Repository and dowloaded the rijndael, dbd::mysql and date::manip packages to my PC myself. Now how do i use ppm to install these packages? Thanks in advance :)

        What do you mean by "CPAN PPM repository"? CPAN is not PPM. A PPM should be installed by the ppm tool. If you want to install from source, you use the cpan tool, which will download and install modules for you. But you need a working C compiler and make tool for that. I think ppm mingw will download and install the C compiler for you.

        You seem to have two options: fix ppm or use cpan.

        The fact that you can access cpan to find the modules implies that you have internet access so, unless a firewall is blocking it, ppm ought to work. As a sanity check you could ensure that the ActiveState package repository is set to http://ppm4.activestate.com/MSWin32-x86/5.10/1006/package.xml in the PPM Preferences.

        If ppm isn't fixable you can use cpan from the command line to install the modules you need. Just:

        cpan DBD::mysql

        although that will probably require you to install mysql first so that the headers and library files are around that are required to build the module. The first time you use cpan it will most likely download and install the mingw compiler too, but at least it just does the right thing - that much is pretty smooth.

        However, I strongly recommend that you try to get ppm going first. If you are unsure about how everything works you will find using cpan to install modules much more intimidating (initially at least) than using ppm. Oh, and I can pretty much guarantee that the cpan install of DBD::mysql will not go smoothly!


        True laziness is hard work