Installation Guide for W3C Reference Library

# Installation Guide

This section describes how to install W3C Reference Library called "libwww".

## Getting the Library

The latest version of the source code is available in the following formats:

- compressed tar file
- gzip'ed tar file
- zip file

from our distribution archives.

## Unpacking

Unpacking the distribution file depends on which source distribution file you got (compressed tar file, gzip'ed tar file, or a zip file).

### compressed tar file

            uncompress libwww_src.tar.Z
            tar xvf libwww_src.tar

### gzip'ed tar file

            gunzip libwww_src.tar.gz
            tar xvf libwww_src.tar

### zip file

            unzip libwww_src.zip

## Compilation

Stop here and jump to the Known Bugs and Patches page to see if you need to apply any patches before you compile.

Compilation on most platforms is done using the BUILD script which figures out what platform you are using. However, there are special instructions for installation on VMS and Windows NT.

If you have build earlier versions of the W3C software and you already have a `WWW` directory then it is very important that you do the following:

    	cd WWW
    	make clobber
    	./BUILD library

in order to make sure that all new code is built. If not then go to newly-created `WWW` directory, and type:

            ./BUILD library

If you encounter problems during compilation or your don't have the compiler which the BUILD script uses then then please read the section on how to modify the BUILD script.

The compiled Library, called "libwww" appears in the directory

    	../WWW/Library/<your.platform>

As an example, in case your platform is SunOs, the directory is "sun4".