Node: Installing, Next: , Previous: Support, Up: Top



Installing FWEB

Here is the bare-bones installation procedure for UNIX users:

  1. Download the zgip-compressed tar file from ftp.pppl.gov:/pub/fweb. The name of the file contains the version number--e.g., fweb-1.61.tar.gz.
              ftp ftp.pppl.gov
              bin
              get fweb-1.61.tar.gz
              quit
              
  2. Uncompress and unpack the tar file:
              gunzip fweb-1.61.tar.gz
              tar -xf fweb-1.61.tar
              

    If the GNU tar is installed, these two steps can be combined into

              gtar -xzf fweb-1.61.tar.gz
              

    Unpacking creates the directory fweb-1.61, with at least the two subdirectories Web and Manual.

  3. Change to the new Web subdirectory and run the configuration script.
              cd fweb-1.61/Web
              ./configure
              

    ./configure is an sh script. It attempts to figure out various local system features automatically, then generates the three files defaults.mk, config.h, and custom.h; those are used in the make. For further information about the operation of ./configure, see fweb-1.61/READ_ME.FWEB.

  4. Make and install the release:
              make [CFLAGS='special compiler flags']
              make install
              

    If gcc is available, it will be used in the make; in that case, the default CFLAGS should be sufficient. If another compiler is used, ensure that it is run in ANSI-compatible mode, not the old-style Kernighan and Ritchie.

    FWEB compiles on my system without any warnings with gcc -ansi -pedantic. Please report any compiler warnings from an allegedly ANSI-C environment.