Commit | Line | Data |
8736538c |
1 | The perl source distribution is available from |
2 | http://www.cpan.org/src/index.html |
3 | |
4 | For the easiest build of perl under Cygwin, do the following: |
5 | |
6 | (1) read |
7 | *(a) README.cygwin from the perl source distribution |
8 | *(b) read build-instructions.charles-wilson |
9 | (b) read build-instructions.sebastien-barre |
10 | (c) read build-instructions.steven-morlock |
11 | (d) read build-instructions.steven-morlock2 |
12 | (e) read build-instructions.teun-burgers |
13 | |
14 | (2) prepare the source |
15 | (a) unpack perl source distribution in /usr/local/src |
16 | (b) copy perl5.005_03.patch into /usr/local/src/perl5.005_03/ |
17 | (c) cd /usr/local/src/perl5.005_03 |
18 | (d) chmod -R +w * |
19 | (e) patch -p1 < perl5.005_03.patch |
20 | |
21 | (3) get ready to build |
22 | (a) cp cygwin32/* . |
23 | (b) cp gcc2 /usr/local/bin |
24 | (c) cp ld2 /usr/local/bin |
25 | (d) cp hints/cygwin32.sh config.sh |
26 | (e) sh Configure -d |
27 | (automatically does a make depend) |
28 | |
29 | (4) build and install |
30 | (b) make |
31 | (c) make test |
32 | (d) make install |
33 | |
34 | To customize, look around in the patchfile or ignore the patch and follow the build-instructions.* directly. If you want to edit the paths in the patchfile to reflect your system, search for "/usr/" within the patchfile. |
35 | |
36 | * MUST read. |
37 | |