1 |
|
---|
2 | - Get libwww-perl from CPAN
|
---|
3 | (http://www.perl.com/CPAN/modules/by-module/WWW/). W3mir does not work
|
---|
4 | with LWP 5.40 and later versions. Please get an earlier version.
|
---|
5 | It also does not work with the new URI package. Use the URI package
|
---|
6 | enclosed in the older LWP.
|
---|
7 |
|
---|
8 | - Unpack it:
|
---|
9 |
|
---|
10 | gzip -dc libwww-perl-*.tar.gz | tar xvBf -
|
---|
11 |
|
---|
12 | - Install it. W3mir does not require the whole libwww-perl package and
|
---|
13 | all the packages that goes with it to work so you may follow these
|
---|
14 | install instructions instead of the libwww-perl install instructions
|
---|
15 | to get an easier install which will work with w3mir.
|
---|
16 |
|
---|
17 | cd libwww-perl-*
|
---|
18 |
|
---|
19 | Are you going to install it in the standard perl place (you need to
|
---|
20 | be the system administrator to do this)? If so:
|
---|
21 |
|
---|
22 | perl Makefile.PL
|
---|
23 |
|
---|
24 | If not (if you are a user):
|
---|
25 |
|
---|
26 | perl Makefile.PL PREFIX=/some/dir
|
---|
27 |
|
---|
28 | /some/dir could be ~ (as in your home directory).
|
---|
29 |
|
---|
30 | IF you are installing an old LWP just for w3mir you can install both
|
---|
31 | the old LWP, the Base64 module and w3mir in a special PREFIX
|
---|
32 | separate from your usual install PREFIX. This ensures that w3mir will
|
---|
33 | access the older version of LWP and that other software will access
|
---|
34 | the newer version. If you do this make sure you install all of LWP,
|
---|
35 | Base64 and w3mir with the same PREFIX.
|
---|
36 |
|
---|
37 | This step might produce some complaints; A standard perl
|
---|
38 | installation will typically get messages about missing these
|
---|
39 | modules: IO::Socket, NET::FTP and MD5. None of these need be
|
---|
40 | installed to run w3mir and so any error messages about these may
|
---|
41 | safely be ignored.
|
---|
42 |
|
---|
43 | make
|
---|
44 | make test (robot/ua and local/http might fail, that's OK)
|
---|
45 | make install
|
---|
46 |
|
---|
47 | Now libwww-perl should be installed and working.
|
---|
48 |
|
---|