next up previous contents index
Next: 3.4 Upgrading versions of Up: 3 Getting and Running Previous: 3.2 Binary distribution

3.3 Source distribution

 

Harvest uses GNU's autoconf package to perform needed localizations at installation time. If you want to override the default installation location of /usr/local/harvest, change the ``prefix'' variable in Makefile gif Type make reconfigure after you've changed the prefix variable, to propagate your change throughout the distribution. If desired, you may edit src/common/include/config.h before compiling to change various Harvest compile-time limits and variables.

To build and install the entire Harvest system, type:

        % make
        % make install

You may see some compiler warning messages, which you can ignore.

Building the entire Harvest system will take about 30 minutes on a DEC Alpha or on newer Sun SPARCstations, and almost an hour on older machines. Including documentation and the compiled source tree, the Harvest distribution takes approximately 25 megabytes of space.

Once you have gotten the installed software working, you can remove the compiled code (``.o'' files) and other intermediate files by doing

        % make clean

If you want to remove the configure-generated Makefiles, do

        % make realclean

 

To build and install individual Harvest components (such as the Gatherer or the Broker), change into the src directory. If you wish to change the default installation from /usr/local/harvest, then edit the Makefile there and type make reconfigure to propagate the change. Finally, to build the Harvest component type make component, and to install the built component, type make install-component, where valid component names are broker, cache, gatherer, indexer, or replicator. For example, to build and install the Harvest Gatherer, type:

        % cd src
        % vi Makefile        (only if you want to change the prefix)
        % make reconfigure   (only if you changed the prefix)
        % make gatherer
        % make install-gatherer

 

If you have problems compiling the software on your system, make sure you are using one of the supported platforms and compiler listed in Section 3.1.

Finally, refer to the installation instructions.



next up previous contents index
Next: 3.4 Upgrading versions of Up: 3 Getting and Running Previous: 3.2 Binary distribution



Darren Hardy
Mon Apr 3 15:22:37 MDT 1995