| 1 |
<h1>Windows (Active Perl) Installation Instructions</h1> |
| 2 |
<p> |
| 3 |
<a href="http://www.activestate.com/">http://www.activestate.com/</a> |
| 4 |
</p> |
| 5 |
<p> |
| 6 |
Once you have installed Active Perl you need to configure an additional PPM |
| 7 |
repositor and then you can install Padre using the ppm packaging system. |
| 8 |
Let's see how to do it in the Command Shell: |
| 9 |
</p> |
| 10 |
<pre> |
| 11 |
Start/Run/cmd ENTER |
| 12 |
ppm rep add wxperl http://www.wxperl.co.uk/repository |
| 13 |
|
| 14 |
ppm install Alien-wxWidgets |
| 15 |
ppm install Wx |
| 16 |
ppm install Padre |
| 17 |
</pre> |
| 18 |
<p> |
| 19 |
You might have to install Alien-wxWidgets-gcc. If this conflicts with Alien-wxWidgets - you can try use --force: |
| 20 |
<tt> |
| 21 |
ppm install Alien-wxWidgets-gcc --force |
| 22 |
</tt> |
| 23 |
</p> |
| 24 |
<p> |
| 25 |
Once that's done you can start Padre by typing |
| 26 |
<tt> |
| 27 |
perl c:\perl\site\bin\padre |
| 28 |
</tt> |
| 29 |
or |
| 30 |
<tt> |
| 31 |
wperl c:\perl\site\bin\padre |
| 32 |
</tt> |
| 33 |
</p> |
| 34 |
<p> |
| 35 |
Replace "c:\perl" with the path, where Active Perl is installed. |
| 36 |
</p> |
| 37 |
<h4>Older Active Perl details</h4> |
| 38 |
<p> |
| 39 |
The manual installation is still a bit rough but we are working on improving it. |
| 40 |
</p> |
| 41 |
<blockquote> |
| 42 |
<p> |
| 43 |
1) (A) Most of the modules - can be taken from the main <a href="/wiki/ActiveState">ActiveState</a> Package Repository. |
| 44 |
</p> |
| 45 |
</blockquote> |
| 46 |
<blockquote> |
| 47 |
<p> |
| 48 |
(B) For Active Perl there are prebuilt PPM versions of Alien::wxWidgets and Wx (aka. wxPerl) |
| 49 |
and can be installed from <a href="http://wxperl.co.uk/">http://wxperl.co.uk/</a>. |
| 50 |
</p> |
| 51 |
</blockquote> |
| 52 |
<blockquote> |
| 53 |
<p> |
| 54 |
So add the wxperl repository to the PPM: <a href="http://www.wxperl.co.uk/repository">http://www.wxperl.co.uk/repository</a> |
| 55 |
(for detailed instructions see <a href="http://wxperl.co.uk/ppm.html">http://wxperl.co.uk/ppm.html</a> ) |
| 56 |
(and even more info here <a href="http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html">http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html</a> ) |
| 57 |
</p> |
| 58 |
</blockquote> |
| 59 |
<blockquote> |
| 60 |
<p> |
| 61 |
Adding the repository to your PPM repository list: |
| 62 |
In PPM4 (<a href="/wiki/ActivePerl">ActivePerl</a> 820+) this is most easily done via the GUI menu option: Edit -> Preferences. |
| 63 |
</p> |
| 64 |
<p> |
| 65 |
If you use PPM3 - or used to command line (==DOS , still usable for PPM4) - you can do: |
| 66 |
<tt> |
| 67 |
</p> |
| 68 |
</blockquote> |
| 69 |
<p> |
| 70 |
ppm rep add wxperl <a href="http://www.wxperl.co.uk/repository">http://www.wxperl.co.uk/repository</a> |
| 71 |
</p> |
| 72 |
<blockquote> |
| 73 |
<p> |
| 74 |
<tt> |
| 75 |
</p> |
| 76 |
</blockquote> |
| 77 |
}}} |
| 78 |
<blockquote> |
| 79 |
<p> |
| 80 |
2) Install all the packages (except of course perl) listed as "requires" on |
| 81 |
<a href="http://svn.perlide.org/padre/trunk/Padre/Makefile.PL">http://svn.perlide.org/padre/trunk/Padre/Makefile.PL</a> - by using ppm. |
| 82 |
Don't worry about the order of installation and report us any problem you encounter. |
| 83 |
</p> |
| 84 |
</blockquote> |
| 85 |
<blockquote> |
| 86 |
<p> |
| 87 |
You can do in by searching the "requires" packages listed in the above link - |
| 88 |
either by using the PPM4 GUI, or searching PPM command line (==DOS): |
| 89 |
<tt> |
| 90 |
</p> |
| 91 |
</blockquote> |
| 92 |
<p> |
| 93 |
ppm search App::Ack |
| 94 |
</p> |
| 95 |
<blockquote> |
| 96 |
<p> |
| 97 |
<tt> |
| 98 |
The result may look like this: |
| 99 |
</tt> |
| 100 |
</p> |
| 101 |
</blockquote> |
| 102 |
<p> |
| 103 |
C:\Documents and Settings\orenm>ppm search App::Ack |
| 104 |
Downloading <a href="/wiki/ActiveState">ActiveState</a> Package Repository packlist...not modified |
| 105 |
1: ack |
| 106 |
</p> |
| 107 |
<blockquote> |
| 108 |
<p> |
| 109 |
A grep-like program specifically for large source trees |
| 110 |
Version: 1.86 |
| 111 |
Released: 2008-07-09 |
| 112 |
Author: Andy Lester <[email protected]> |
| 113 |
Provide: App::Ack version 1.86 |
| 114 |
Require: File::Basename |
| 115 |
Require: File::Next version 0.4 or better |
| 116 |
Require: Getopt::Long |
| 117 |
Require: Term::ANSIColor |
| 118 |
Require: Test::Harness version 2.5 or better |
| 119 |
Require: Test::More |
| 120 |
Repo: <a href="/wiki/ActiveState">ActiveState</a> Package Repository |
| 121 |
CPAN: <a href="http://search.cpan.org/dist/ack-1.86/">http://search.cpan.org/dist/ack-1.86/</a> |
| 122 |
</p> |
| 123 |
</blockquote> |
| 124 |
A grep-like program specifically for large source trees |
| 125 |
}}} |
| 126 |
<p> |
| 127 |
C:\Documents and Settings\orenm> |
| 128 |
</p> |
| 129 |
<blockquote> |
| 130 |
<p> |
| 131 |
<tt> |
| 132 |
So now you shall do: |
| 133 |
</tt> |
| 134 |
</p> |
| 135 |
</blockquote> |
| 136 |
<p> |
| 137 |
ppm install ack |
| 138 |
</p> |
| 139 |
<blockquote> |
| 140 |
<p> |
| 141 |
<tt> |
| 142 |
</p> |
| 143 |
</blockquote> |
| 144 |
}}} |
| 145 |
<blockquote> |
| 146 |
<p> |
| 147 |
3) then open the cpan client and install Padre: |
| 148 |
</p> |
| 149 |
</blockquote> |
| 150 |
<pre> |
| 151 |
c:> perl -MCPAN -eshell |
| 152 |
cpan> install Padre |
| 153 |
</pre> |
| 154 |
<p> |
| 155 |
Oren Maurer reported that you might need to force it: |
| 156 |
<tt> |
| 157 |
</p> |
| 158 |
<blockquote> |
| 159 |
<p> |
| 160 |
cpan> force install Padre |
| 161 |
</p> |
| 162 |
</blockquote> |
| 163 |
<p> |
| 164 |
<tt> |
| 165 |
</p> |
| 166 |
<p> |
| 167 |
at some point you might encounter an error like this: |
| 168 |
</p> |
| 169 |
<pre> |
| 170 |
Running install for module 'Padre' |
| 171 |
Running make for S/SZ/SZABGAB/Padre-0.06.tar.gz |
| 172 |
CPAN: Digest::SHA loaded ok (v5.45) |
| 173 |
Fetching with LWP: |
| 174 |
http://ppm.activestate.com/CPAN/authors/id/S/SZ/SZABGAB/CHECKSUMS |
| 175 |
Alert: While trying to 'parse' YAML file |
| 176 |
'D:\ActiveState\Perl\cpan\FTPstats.yml' |
| 177 |
with 'YAML::XS' the following error was encountered: |
| 178 |
Usage: YAML::XS::LibYAML::Load(yaml_str) at |
| 179 |
D:\ActiveState\Perl\lib/YAML/XS.pm |
| 180 |
line 70. |
| 181 |
</pre> |
| 182 |
<p> |
| 183 |
The reported solution was this: |
| 184 |
<tt> |
| 185 |
</p> |
| 186 |
<blockquote> |
| 187 |
<p> |
| 188 |
[reach the cpan shell:] |
| 189 |
C:\>cpan |
| 190 |
cpan> o conf yaml_module <i> |
| 191 |
cpan> o conf commit |
| 192 |
commit: wrote 'C:\Perl\lib/CPAN/Config.pm' |
| 193 |
cpan> q |
| 194 |
</p> |
| 195 |
</blockquote> |
| 196 |
<p> |
| 197 |
<tt> |
| 198 |
(See: <a href="http://groups.google.com/group/de.comp.lang.perl.misc/browse_thread/thread/3a347d02a1ebf464">http://groups.google.com/group/de.comp.lang.perl.misc/browse_thread/thread/3a347d02a1ebf464</a> and |
| 199 |
<a href="http://perl.org.il/pipermail/perl/2008-September/009779.html">http://perl.org.il/pipermail/perl/2008-September/009779.html</a> ) |
| 200 |
</p> |
| 201 |
<p> |
| 202 |
Other things that to do and can help: |
| 203 |
</p> |
| 204 |
<ol><ol><li>upgrading last version of Encode - using ppm , </li></ol></li></ol> |
| 205 |
<blockquote> |
| 206 |
<p> |
| 207 |
Note: |
| 208 |
For upgrading all PPM packages, do this (Windows command line, a.k.a Dos) |
| 209 |
</p> |
| 210 |
</blockquote> |
| 211 |
<pre> |
| 212 |
ppm upgrade --install |
| 213 |
</pre> |
| 214 |
<ol start="2"><ol start="2"><li>upgrade of Wx - also by using ppm , |
| 215 |
</li><li>installing Alien-wxWidgets (the same way... ppm), |
| 216 |
</li><li>And now - do (again with ppm):</li></ol></li></ol> |
| 217 |
<pre> |
| 218 |
ppm install --force Alien-wxWidgets-dev |
| 219 |
</pre> |
| 220 |
<p> |
| 221 |
(See: <a href="http://meorero.wordpress.com/2009/02/02/padre-on-ms-windows-with-activeperl-5100-build-1004/">http://meorero.wordpress.com/2009/02/02/padre-on-ms-windows-with-activeperl-5100-build-1004/</a>) |
| 222 |
</p> |
| 223 |
<p> |
| 224 |
For more info about "ppm - Perl Package Manager, version 4" - see the <a href="/wiki/ActivePerl">ActivePerl</a> 5.10 Documentation: |
| 225 |
<a href="http://docs.activestate.com/activeperl/5.10/bin/ppm.html">http://docs.activestate.com/activeperl/5.10/bin/ppm.html</a> |
| 226 |
</p> |
| 227 |
<h2>Still Not Working?</h2> |
| 228 |
<p> |
| 229 |
Following the instructions on this page did not lead to a successful installation? |
| 230 |
</p> |
| 231 |
<p> |
| 232 |
<a href="http://padre.perlide.org/contact.html">Contact us</a>. |
| 233 |
</p> |
| 234 |
<p> |
| 235 |
We will do our best to help you. |
| 236 |
By letting us know that something does not work you will help us, too. |
| 237 |
When we know about it, we can improve this documentation and Padre itself. |
| 238 |
</p> |