INSTALL

Please note that I have all this code in one tree, /usr/local/src/sjg, if you unpack each archive you get from ftp://ftp.quick.com.au/pub/sjg/ in the same directory, you should have no problems.

bmake

First you must build bmake - unless you are running 4.4BSD This tree is designed to be built with bmake and with support for multiple architectures. GNU autoconf is used to make a config.h which handles most system dependencies, but the Makefiles rely on bmake. Fortunately my bmake uses autoconf :-)

BASE=`pwd`
mkdir /tmp/bmake
cd /tmp/bmake
$BASE/bmake/configure
gmake -f makefile.boot
gmake -f makefile.boot install
If you really want to, you can use the bmake thus produced to re-build bmake

cd $BASE/bmake
bmake obj
bmake
bmake install

Makefile.base

The Makefiles want to know where the top level directory is. If it is not /usr/local/src/sjg, then you should either create Makefile.base in the top level directory or set BASE in your environment.

These Makefiles use my own macro files which are derrived from the bsd.*.mk macros, if you are not allowed to install bmake/mk/*.mk in /usr/share/mk or /usr/local/share/mk you can use:

	bmake -I ${BASE}/bmake/mk
Finally, if you do not have the BSD mandoc macros for [nt]roff, or you do not want the man pages formatted, set NOMAN=no in your environment or in Makefile.base

Macro files

A couple of my macro files differ from the bsd.* originals (apart from being more portable), man.mk handles installing unformatted nroff, as well as formatted pages with the normal extension rather than BSD's .0 Unless SUBDIR_MUST_EXIST is defined, subdir.mk will skip missing subdirs (after telling you...) rather than die.

Building

In various directories, you may find symlinks named src pointing off to no where. These should point to the directories holding the appropriate distribution. For instance:
$ ls -l ssl/bin/rdist/src
lrwxrwxr-x  1 sjg  wheel  17 Jun 20  1996 ssl/bin/rdist/src@ -> ../../../../rdist-6.1.3
$ 
Obvriously you will need these links correct before you can expect to build things like SSLrdist. See other distributions for details on where to get the other distrbutions you might need.

Now just:

cd $BASE
bmake obj
bmake depend
bmake
bmake install

obj

Note that I always use obj dirs to keep the build tree neat and facilitate build/editing within emacs. If you skip the bmake obj step, don't be surprised it it all falls apart :-)

I have an arrangement like:

/usr/local/obj -> src/obj.${MACHINE}
and then I set

BSDSRCDIR=`cd /usr/local/src; /bin/pwd`
BSDOBJDIR=/usr/local/obj
You must set BSDSRCDIR with the same value that /bin/pwd produces as otherwise obj.mk will do the wrong thing.

SSL

The ssl tree here expects SSLeay to be installed in /usr/local/ssl the ssl/build tree can be used to build SSLeay using bmake, just make ssl/build/dist a symlink to the location of the SSLeay srcs, it is currently configured for SSLeay-6.4 or 6.5


$Id: install.html,v 1.4 1997/05/10 15:20:22 sjg Exp $
Copyright © 1997 QUICK.COM.AU