To build the service libraries and binary under an UNIX operating
system you will need:

  An ANSI-C compliant compiler (GCC is good)
  GNU AutoConf
  A Java Platform 2 compliant SDK

When building from CVS sources you need to build the "configure" program with:

   sh support/buildconf.sh
(Note it is possible to replace sh by any compatible shell like bash, ksh).

Once the configure script is generated, run it (remember to specify
either the --with-java=<dir> parameter or set the JAVA_HOME environment
to point to your JDK installation. For example:

  ./configure --with-java=/usr/java

or

  JAVA_HOME=/usr/java
  export JAVA_HOME
  ./configure

or (when using gcj (use fastjar for jar))
  JAVAC=gcj; export JAVAC
  JAVACFLAGS=-c; export JAVACFLAGS
  ./configure

Note: On Mac OS X <dir> is /System/Library/Frameworks/JavaVM.framework/Home.

If your operating system is supported, configure will go thru cleanly,
otherwise it will report an error (please send us the details of your
OS/JDK, or a patch against the sources). To build the binaries and
libraries simply do:

  make

This will generate the file:  ./jsvc.
It should be straightforward from here on. To check the allowed parameters
for the jsvc binary simply do

  ./native/jsvc -help

To build the service libraries and binary under an UNIX operating
system you will need:

  An ANSI-C compliant compiler (GCC is good)
  A Java Platform 2 compliant SDK
  GNU AutoConf (when building for SVN).

When building from SVN sources you need to build the "configure" program with:

   sh support/buildconf.sh
(Note it is possible to replace sh by any compatible shell like bash, ksh).

Once the configure script is generated, run it (remember to specify
either the --with-java=<dir> parameter or set the JAVA_HOME environment
to point to your JDK installation. For example:

  ./configure --with-java=/usr/java

or

  JAVA_HOME=/usr/java
  export JAVA_HOME
  ./configure

or (when using gcj (use fastjar for jar))
  JAVAC=gcj; export JAVAC
  JAVACFLAGS=-c; export JAVACFLAGS
  ./configure

Note: On Mac OS X <dir> is /System/Library/Frameworks/JavaVM.framework/Home.

If your operating system is supported, configure will go thru cleanly,
otherwise it will report an error (please send us the details of your
OS/JDK, or a patch against the sources). To build the binaries and
libraries simply do:

  make

This will generate the file:  ./jsvc.
It should be straightforward from here on. To check the allowed parameters
for the jsvc binary simply do

  ./native/jsvc -help

Note: On Linux the module capabilities should be loaded, when using -user root
make sure you REALLY understand what capabilities does (for example for
files access: the downgraded root may not be able to read some files!).

Add a note about capabilities in Linux.
Add a note about capabilities in Linux.


git-svn-id: d2ff9ed2f92be9d06337bb70c57551c02d1e392c@396963 13f79535-47bb-0310-9956-ffa450edef68
