How to install Padre on Windows and ActivePerl 5.10
After 2 days of off and on attempts at installing Padre (the Perl IDE), I finally got it working with ActivePerl 5.10. I had absolutely ZERO success getting it to work with ActivePerl 5.8, as well as nothing but headaches trying to get it to work with Strawberry Perl 5.10.
Your mileage may vary, but here is how I got it to work:
- Download and install ActiveState’s ActivePerl 5.10 (5.8 didn’t work for me…which is why I will be converting some of my 5.8 modules to work with 5.10)
- Run the ActiveState’s Perl Package Manager. Just run “ppm” from a command prompt or the Windows Run dialog box.
- Once PPM is open, click the View menu, and select All packages.
- Search for Padre. Right-click on it in the results window, and select Install.
- Do the same for Module-Install-PadrePlugin.
- Now search for Alien-wxWidgets.
- In the results windows, right click on Alien-wxWidgets and select Install (you don’t need Alien-wxWidgets-dev, so leave it as-is)
- Now click on the File menu, and select Run Marked Actions.
Over 90 packages will need to be installed, so it will take a few minutes. PPM does all the dependency checking for you, which is why you will be installing over 90+ modules even though you only explicitly requested to install 3. While installing, the PPM window may appear to freeze up. Don’t kill it! It’s still running…be patient.
Once the installation is complete, the PPM window will become responsive again and you will see a message saying something along the lines of:
Installing 81 packages done
Now that Padre is installed, here is how to run it.
- Open a command prompt
- Type: perl c:\perl\site\bin\padre
Step #2 assumes that you installed ActivePerl at c:\perl. If your perl installation folder is different, modify the command as necessary.
I was surprised to find that quite a few Padre plugins are already beginning to appear on CPAN. Padre is still early in development, so it’s a bit rough around the edges. Current and planned features for Padre are available here.