W3C ComLine INSTALL

Installation Guide

This section describes how to install the W3C Command Line Tool, a.k.a. "w3c".

Getting the Program

The latest source code is available in the following formats: from our destribution archives.

NOTE Please note that you also need the W3C Reference Library in order to compile the tool.

Unpacking

Unpacking the destribution file depends on which source destribution file you got (compressed tar file, gzip'ed tar file, or a zip file). However, in any case you need to unpack both the W3C Reference Library and the Command Line Tool.

compressed tar file

        uncompress w3c_src.tar.Z
        tar xvf w3c_src.tar

        uncompress libwww_src.tar.Z
        tar xvf libwww_src.tar

gzip'ed tar file

        gunzip w3c_src.tar.gz
        tar xvf w3c_src.tar

        gunzip libwww_src.tar.gz
        tar xvf libwww_src.tar

zip file

        unzip w3c_src.zip

        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. There are special instructions for installation on Windows.

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 comline
in order to make sure that all new code is built. If not then go to newly-created WWW directory, and type:
        ./BUILD comline
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 executable tool, "w3c" appears in the directory

	../WWW/ComLine/<your.platform>
As an example, in case your platform is SunOs, the directory is "sun4".


Henrik Frystyk libwww@w3.org, November 1995