README FIRST:

If you plan to use Sawmill with a MySQL database you must build Sawmill
after installing MySQL.

Download and install the free version of MySQL from www.mysql.com
then follow the "build Sawmill with MySQL client libraries" below. If you do not
plan to use MySQL follow the "To build Sawmill WITHOUT MySQL client libraries"
section below.

To use the MySQL database (once MySQL is installed) you will need to choose
to evaluate Sawmill Enterprise (during the trial period), or have purchased an
Enterprise license. You do not need to install MySQL to evaluate Sawmill
Enterprise, it's only necessary to install MySQL if you intend to use the
MySQL database as the external database.


To build Sawmill WITH MySQL client libraries:

   Run the following command:

     ./configure --with-mysql=/usr

   Modify the --with-mysql option (/usr in this example) to point to the
   location where your MySQL client header files and libraries are installed.
   The build will look for /dir/mysql/lib *or* /dir/lib/mysql of you specify
   --with-mysql=/dir .

   After the configuration is complete, run: 

   make sawmill

To build Sawmill WITHOUT MySQL client libraries:

   Run the following command: 

     ./configure --disable-mysql


   After the configuration is complete, run: 

   make sawmill

That's it -- the executable will be built in the current directory.
You may also want to run "strip" on the final binary to strip any debugging
symbols and make it smaller.

If you're using g++ on AIX, you may need to add

  LDFLAGS='-Xlinker -bbigtoc' CXXFLAGS='-Xlinker -bbigtoc'

to the configuration line, to avoid a TOC overflow error.

