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

As far as I know when I've had both installed I couldn't used ActivePerl due to Strawberry Perl already being first installed. You could try installing them in different locations if it's possible and use the full path to it.
For example:
UPDATE: These paths for example only see syphilis post for best answer.
C:\> C:\StrawberryPerl\Perl\bin\perl.exe perl_script.pl
or
C:\> C:\ActivePerl\Perl\bin\perl.exe perl_script.pl
I've never tried it, but it seems logical, Hope it helps. As I'm sure know there are three distributions of Win32 Perl http://win32.perl.org/wiki/index.php?title=Main_Page#Installing_Perl_on_Windows_for_the_First_Time.3F It all depends on your needs. My only quarrel with Strawberry Perl is it doesn't ship with Win32::* which when changing machines and installing Perl as much as I do can be frustrating as I regularly need it.
  • Comment on Re: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: "Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
by meorero (Sexton) on Aug 24, 2008 at 09:47 UTC

    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?

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

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