1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
This is how you install w3mir on a Unix system:
(I don't know how to install w3mir on a win32 system. Please e-mail
instructions if you know how)
INSTALLING PREREQUISITES:
The prerequisites are the perl packages libwww-perl, and MIME-Base64.
The w3mir install procedure will check for their presence and complain
if they are not there, so if you are unsure what you have you might
skip this part for now.
- Get libwww-perl from CPAN
(http://www.perl.com/CPAN/modules/by-module/WWW/) or its homepage
(http://www.sn.no/libwww-perl/)
- Unpack it:
gzip -dc libwww-perl-*.tar.gz | tar xvBf -
- Install it:
cd libwww-perl-*
Are you going to install it in the standard perl place (you need to
be the system administrator to do this)? If so:
perl Makefile.PL
If not (if you are a user):
perl Makefile.PL PREFIX=/some/dir
/some/dir could be ~ (as in your home directory).
This step might produce some complaints; A standard perl
installation will typically get messages about missing these
modules: IO::Socket, NET::FTP and MD5. None of these need be
installed to run w3mir and so any error messages about these may
safely be ignored.
make
make test (robot/ua and local/http might fail, that's OK)
make install
Now libwww-perl should be installed and working.
- You also have to get the MIME-Base64 package
(http://www.perl.com/CPAN/modules/by-module/MIME/)
- Unpack it:
gzip -dc MIME-Base64-*.tar.gz | tar xvBf -
- Install it:
cd MIME-Base64-*
Then, as above, either
perl Makefile.PL
or
perl Makefile.PL PREFIX=/some/dir
Continue:
make
make test (it should print 'All tests successful.')
make install
Now MIME-Base64 should be installed and working.
INSTALLING W3MIR:
- Get w3mir (http://www.math.uio.no/~janl/w3mir/)
- Unpack it:
gzip -dc w3mir-*.tar.gz | tar xvBf -
- Install it:
cd w3mir-*
Are you going to install it in the standard perl place? (You
probably need to be the system administrator to do this.) If so:
perl Makefile.PL
If not (if you're a user):
perl Makefile.PL PREFIX=/some/dir
/some/dir could be ~ (as in your home directory).
then
make
make install
w3mir should now be installed correctly. And if it's installed in
your path you can even run it. If you use csh or tcsh you want to run
'rehash' before the shell will find it.
17/10/97 - Nicolai Langfeldt
|