[BACK]Return to README.maint CVS log [TXT][DIR] Up to [Development] / failsafe / FailSafe-mgr

File: [Development] / failsafe / FailSafe-mgr / README.maint (download)

Revision 1.4, Fri Jul 21 05:14:23 2000 UTC (17 years, 3 months ago) by rusty
Branch: MAIN
Changes since 1.3: +27 -101 lines

Added instructions for getting new FailSafe headers & libraries
from bitbucket, removed old mail messages, corrected bit about
how product version link is created.

README for maintainers: $Date: 2000/07/21 05:14:23 $
===========================================================================

This is the README file specifically for maintainers.  It has the following
sections:
    - INSTALLING FAILSAFE HEADERS & LIBRARIES
    - BUILDING FROM A SOURCE TREE
    - PRODUCT VERSION NUMBER



INSTALLING FAILSAFE HEADERS & LIBRARIES

Before building the FailSafe GUI, you will need to get FailSafe headers &
libraries.  If you aren't building your own FailSafe tree, the easiest way
to get the FailSafe headers & libraries is by snorting them off bitbucket.
Decide where you want to put them (say /usr/tmp/fs), and do the following:

    mkdir -p /usr/tmp/fs
    cd /usr/tmp/fs
    rsh bitbucket "(cd /chaos/linux/oss_rpms/root_images && tar cBf - . )" \
        | tar xBf -
    setenv EXTRA_INCS -I/usr/tmp/fs/inc
    setenv EXTRA_LIBS -L/usr/tmp/fs/lib



BUILDING FROM A SOURCE TREE

After populating your workarea, first make sure you have recent Rhino
(sysadm_base-dev) installed, as it installs a sysadm_base.m4 file which
contains macro definitions which are used by aclocal (the first step below).

Also, make sure you've got FailSafe headers & libraries, and have set
EXTRA_INCS and EXTRA_LIBS as above.

You will need to run the following commands before running "make":

    aclocal
    autoheader
    automake --add-missing
    autoconf
    ./configure --prefix=/usr --sysconfdir=/etc

(You may also need --with-JAVAPATH=/usr/jdk118/bin, etc.)

At this point, you should be able to run "make rpm".

This works on the following systems:

    RedHat 6.2
        autoconf-2.13
        automake-1.4
        gettext-0.10.35
        gmake-3.78.1
        libtool-1.3.4

OK, that was a short list.



PRODUCT VERSION NUMBER

The version is stored in configure.in.  The value set there is available in
C/C++ files through config.h and Java files through
packages/com/sgi/fsmgr/fsPackageP.properties (which is generated from
fsPackageP.properties.in at configure time).  The
/var/lib/sysadm/products/.../version link is created by misc/Makefile.am.