]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/INSTALL
kes Implement a BSOCK send() method that writes the whole record
[bacula/bacula] / bacula / INSTALL
index 2998b61ecb6029aa7669e0c7dc6f787f8aeb0c85..1ddba3cfb9eac42d32bc744398862fe5d7f228ab 100644 (file)
@@ -1,14 +1,19 @@
+
+This file is rather out of date, though it contains generally useful
+information. We recommend following step 1 below (i.e. see the manual).
+
 --------------------------------------------------------------------------
 Using GNU autoconfig
 --------------------------------------------------------------------------
   1.    Read the Compiling and Installing section of the HTML manual
-        in the "doc" directory.
+        at http://www.bacula.org
 
   2.    Run   ./configure   to generate config.h and the various Makefiles.
-        ./configure --help   gives a list of possible options with slightly
-        longer descriptions in README.configure
+        ./configure --help   gives a list of possible options.  Note, in
+        configuring Bacula, you cannot get by with a simple ./configure,
+        it is much more complicated than that (unfortunately).
 
-        You might look at the "defaultconfig" file in the top directory.
+        You might look at the "defaultconfig" file in the examples directory.
         It is an example of what is probably reasonable for defaults.
 
         Some systems require unusual options for compilation or linking that
@@ -24,12 +29,48 @@ Using GNU autoconfig
 
         A typical Bacula development configuration for Linux is:
 
-        CFLAGS="-g -Wall" ./configure --enable-smartalloc --enable-mysql
-          
+        CFLAGS="-g -O2 -Wall" \
+          ./configure \
+            --sbindir=$HOME/bacula/bin \
+            --sysconfdir=$HOME/bacula/bin \
+            --with-pid-dir=$HOME/bacula/bin/working \
+            --with-subsys-dir=$HOME/bacula/bin/working \
+            --enable-smartalloc \
+            --with-mysql \
+            --with-working-dir=$HOME/bacula/bin/working \
+            --with-dump-email=your@address.com \
+            --with-job-email=your@address.com \
+            --with-smtp-host=localhost
+
+
+        See the README for a few additional details and the online manual
+        for all the gory details:  http://www.bacula.org/rel-manual
+
+  3.    Carefully review the output from ./configure.  If it is not
+        what you want, re-run the ./configure.  Often ./configure "caches"
+        things and thus remembers the last ./configure options.  If you
+        want to be sure you are starting fresh after a ./configure,
+        do a:
 
-  3.    set any other main preferences (normally, you don't do this):
+            make distclean
+
+        before re-running ./configure.  "make distclean" wipes out any
+        knowledge of the ./configure, so don't do it after you have a
+        configuration that suits your needs, otherwise the "make" will
+        not work.
+
+  4.    Set any other main preferences (normally, you don't do this):
             Edit "config.h"   if you didn't use ./configure options
             If you're cross-compiling, edit the following in "config.h"
 
-  4.    Build it (repeat step 2 as desired):
+  5.    Build it (repeat step 2 as desired):
             make
+
+  6.    Install it
+            make install
+
+  7.    Run it
+            cd $HOME/bacula/bin
+            ./bacula start
+            ./console
+            (enter commands)