Installation from source

To successfully build DBBalancer we first should to be sure that the requirements are all checked out. We'll need two libraries with their matching sets of include files.

Getting and compiling the ACE framework

Directly quoting their homepage, "The ADAPTIVE Communication Environment (ACE) is a freely available, open-source object-oriented (OO) framework that implements many core design patterns for concurrent communication software. ". Here is used to avoid reinventing the wheel on things like logging format, threads management, etc. I'm sure that this framework could be more extensively used in DBBalancer that it's currently being used, but I'll leave to later versions doing further research on that point. Anyway, all ideas are welcome, so feel free to contribute.

This library (we need version 5.1) is available at two points.

Configuring and compiling DBBalancer

Once you're finished with the process of getting the libraries you can start configuring the DBBalancer building process. As a configure script is provided, executing it will automatically create the makefiles.

If the libraries and include files are not installed at default locations, it could be needed to use the --with-ACE=dir and --with-pq options. The latter is only needed is some test programs are to be compiled, which are not by default.