in reply to Re: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
in thread "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?

Thanks for the reply - I'll try it.

ActivePerl was quite Ok for me till now.

But now I have to install CPAN modules.

I did not find a pre-built PPM package for ActivePerl.
And It needs a compilation.

So ... As far as I understood - it's much easier with Strawberry Perl.
Am I correct?

  • Comment on Re^2: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?

Replies are listed 'Best First'.
Re^3: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
by bart (Canon) on Aug 24, 2008 at 10:07 UTC

    But now I have to install CPAN modules.

    I did not find a pre-built PPM package for ActivePerl.
    And It needs a compilation.

    You can use MinGW (gcc for Windows) to install XS modules for ActivePerl, with CPAN. Really! I do it all the time.

    Go to the download page, and download the installer, the first link. It's a file of about 140k. Run it. It'll download and install the packages you need.

    You also need a make utility, which you already need when building plain utilities with CPAN. For XP, Microsoft's nmake works fine, but alternatively you can use dmake too, allegedly.

    When ActivePerl detects that you have MinGW and don't have Microsoft's Visual C, it'll monkeypatch Config into using it for building modules instead.

      But I already have ActivePerl.

      Will ActivePerl detect MinGW if I install now?

      Or shall I uninstall ActivePerl, than install MinGW and than re-install ActivePerl?

      Thanks...

        I just had a look at the implementation, in the modules ActivePerl::Config and ActiveState::Path. Apparently ActivePerl looks for the executable "gcc.exe" in PATH. So there's no need to reinstall ActivePerl at all. Just installing MinGW and allowing it to add itself into PATH is enough.

        But you will have to start a new CMD shell to run ActivePerl in, to have it recognize it... :)

Re^3: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
by syphilis (Archbishop) on Aug 24, 2008 at 10:10 UTC
    Am I correct?

    Yes and no (with a liberal sprinkling of "depend"s and "maybe"s).

    The good thing about Strawberry Perl is that it gives you all the components you need to compile modules in one simple download. You can get the same mileage out of ActiveState, but you first need some separate downloads and a bit of fiddling to get things configured right.

    If there really is no PPM available for the particular module you need, then that's a good indication that the module you need probably won't build on Windows (even with Strawberry Perl). Installing Strawberry Perl is the first step in finding that out. I encourage you to take that step.

    Cheers,
    Rob
Re^3: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
by binf-jw (Monk) on Aug 24, 2008 at 09:59 UTC
    I've got ActivePerl installed at work and ppm is definitely installed. And seeing as our IT department had to Install the active perl I seriously doubt it wasn't pre-built. Run it like this (obv):
    ppm
    Think you can even access it from the start menu under ActivePerl. I've had some issues installing modules like TK. But other then that it's been fine. Also had some issues with Proxy server but that can be fixed as follows:
    >SET HTTP_proxy=http://aproxy:80 >SET HTTP_proxy_user=person >SET HTTP_proxy_pass=password >ppm
Re^3: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
by shoness (Friar) on Aug 25, 2008 at 16:25 UTC
    Am I right to hear that you are installing Strawberry Perl because you could not find some *.ppms? Have you looked in other "repositories" besides ActiveState's?

    This is the only repository searched by default. You can add others by "ppm"->"Edit"->"Preferences"->"Repositories", and choosing additional repositories from the "Add Repository"->"Suggested" drop-down box.

    You can also simply enter the URL for others you may find that are not yet "suggested".