This is how you install w3mir on a Unix system. Please see the file INSTALL.w32 for install instructions for win32 systems.
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.
gzip -dc libwww-perl-*.tar.gz | tar xvBf -
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).
IF you are installing an old LWP just for w3mir you can install both the old LWP, the Base64 module and w3mir in a special PREFIX separate from your usual install PREFIX. This ensures that w3mir will access the older version of LWP and that other software will access the newer version. If you do this make sure you install all of LWP, Base64 and w3mir with the same PREFIX.
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.
gzip -dc URI-*.tar.gz | tar xvBf -
cd URI-*
Then as above, either
perl Makefile.PL
or
perl Makefile.PL PREFIX=/some/dir
and then
make
make test
make install
Now URI should be installed and working.
gzip -dc MIME-Base64-*.tar.gz | tar xvBf -
cd MIME-Base64-*
Then, as above, either
perl Makefile.PL
or
perl Makefile.PL PREFIX=/some/dir
make make test (it should print 'All tests successful.') make install
Now MIME-Base64 should be installed and working.
INSTALLING W3MIR:
gzip -dc w3mir-*.tar.gz | tar xvBf -
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.
2000/01/15 - Nicolai Langfeldt