|Version 4 (modified by zenogantner, 4 years ago) (diff)|
Windows Installation Instructions
The most convenient way to get Padre is via the Padre Standalone package. See the http://padre.perlide.org/download.html page for details.
Installation from CPAN
On Windows IPC::Run (0.82) hangs sometimes - install it using
cpan> force install notest IPC::Run
Download Strawberry Perl from here: http://www.strawberryperl.com/
On Strawberry Perl 5.10, starting from version 126.96.36.199 you can install Padre by starting the CPAN shell and typing
cpan> install Padre
However, before you do that, you may wish to install Alien::wxWidgets and Wx as .par files - they build on Windows, but on slower systems, they're... slow.
C:\>perl -MPAR::Dist -e"install_par(q(http://www.strawberryperl.com/download/padre/Alien-wxWidgets-0.46-MSWin32-x86-multi-thread-5.10.1.par))" C:\>perl -MPAR::Dist -e"install_par(q(http://www.strawberryperl.com/download/padre/Wx-0.94-MSWin32-x86-multi-thread-5.10.1.par))"
Note: installing Padre in a fresh install of Strawberry Perl can lead to weird behaviour, like preferences not being saved on exit (due to Padre crashing on exit). See the comments for #258 for a workaround.
On previous releases of Strawberry Perl 5.10 you can install it following these steps
cpan> look Alien::wxWidgets $ perl Makefile.PL $ dmake $ dmake test $ dmake install $ exit cpan> look Wx $ perl Makefile.PL $ dmake $ dmake test $ dmake install $ exit cpan> install Padre
Once it is installed you can start Padre either by
Start/Run and type in padre
or by creating a shortcut and then clicking on it.
When creating the shortcut use the following as command:
note we are using wperl here instead of perl in order to avoid the extra command shell window.
Note: For updating Padre on Strawberry Perl you can use the CPAN shell client of Strawberry:
C:\strawberry\perl\bin\perl -MCPAN -e shell
To find whether there's an update - you can do:
(or simply follow the mailing list ;-)
Once you have installed Active Perl you need to configure two additional PPM repositories and then you can install Padre using the ppm pacakging system. Let's see how to do it in the Command Shell:
Start/Run/cmd ENTER ppm rep add wxperl http://www.wxperl.co.uk/repository ppm rep add padre http://www.perlide.org/download/ppm/ ppm install Alien-wxWidgets ppm install Wx ppm install Padre
You might have to install Alien-wxWidgets-gcc. If this conflicts with Alien-wxWidgets - you can try use --force:
ppm install Alien-wxWidgets-gcc --force
Once that's done you can start Padre by typing
Replace "c:\perl" with the path, where Active Perl is installed.
Older Active Perl details
The manual installation is still a bit rough but we are working on improving it.
1) (A) Most of the modules - can be taken from the main ActiveState? Package Repository.
(B) For Active Perl there are prebuilt PPM versions of Alien::wxWidgets and Wx (aka. wxPerl) and can be installed from http://wxperl.co.uk/.
So add the wxperl repository to the PPM: http://www.wxperl.co.uk/repository (for detailed instructions see http://wxperl.co.uk/ppm.html ) (and even more info here http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html )
Adding the repository to your PPM repository list: In PPM4 (ActivePerl? 820+) this is most easily done via the GUI menu option: Edit -> Preferences.
If you use PPM3 - or used to command line (==DOS , still usable for PPM4) - you can do:ppm rep add wxperl http://www.wxperl.co.uk/repository
2) Install all the packages (except of course perl) listed as "requires" on
http://svn.perlide.org/padre/trunk/Padre/Makefile.PL - by using ppm.
Don't worry about the order of installation and report us any problem you encounter.
You can do in by searching the "requires" packages listed in the above link - either by using the PPM4 GUI, or searching PPM command line (==DOS):ppm search App::Ack
The result may look like this:C:\Documents and Settings\orenm>ppm search App::Ack Downloading ActiveState Package Repository packlist...not modified 1: ack A grep-like program specifically for large source trees Version: 1.86 Released: 2008-07-09 Author: Andy Lester <firstname.lastname@example.org> Provide: App::Ack version 1.86 Require: File::Basename Require: File::Next version 0.4 or better Require: Getopt::Long Require: Term::ANSIColor Require: Test::Harness version 2.5 or better Require: Test::More Repo: ActiveState Package Repository CPAN: http://search.cpan.org/dist/ack-1.86/ C:\Documents and Settings\orenm>
So now you shall do:ppm install ack
3) then open the cpan client and install Padre:c:> perl -MCPAN -eshell cpan> install Padre
Oren Maurer reported that you might need to force it:
cpan> force install Padre
at some point you might encounter an error like this:
Running install for module 'Padre' Running make for S/SZ/SZABGAB/Padre-0.06.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/S/SZ/SZABGAB/CHECKSUMS Alert: While trying to 'parse' YAML file 'D:\ActiveState\Perl\cpan\FTPstats.yml' with 'YAML::XS' the following error was encountered: Usage: YAML::XS::LibYAML::Load(yaml_str) at D:\ActiveState\Perl\lib/YAML/XS.pm line 70.
The reported solution was this:
[reach the cpan shell:] C:\>cpan cpan> o conf yaml_module '' cpan> o conf commit commit: wrote 'C:\Perl\lib/CPAN/Config.pm' cpan> q
Other things that to do and can help:
- upgrading last version of Encode - using ppm ,
For upgrading all PPM packages, do this (Windows command line, a.k.a Dos)ppm upgrade --install
- upgrade of Wx - also by using ppm ,
- installing Alien-wxWidgets (the same way... ppm),
- And now - do (again with ppm):
ppm install --force Alien-wxWidgets-dev
For more info about "ppm - Perl Package Manager, version 4" - see the ActivePerl? 5.10 Documentation: http://docs.activestate.com/activeperl/5.10/bin/ppm.html
Still Not Working?
Following the instructions on this page did not lead to a successful installation?
We will do our best to help you. By letting us know that something does not work you will help us, too. When we know about it, we can improve this documentation and Padre itself.