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.
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.
The official ACE site, in the Washington University. Here you can find sources, including the latest beta version. Remember to fetch a 5.1 version. Building it is not difficult, as it just needs a good C++ compiler, like, for example, gcc-2.91.66 or better.
The commercial support site: Riverace. They sell packaged precompiled binaries and also sell support.
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.