APQ¶
Introduction¶
APQ is a generic package for handling database connections that currently support MySQL, PostgreSQL, Sybase and generic ct_lib (both Sybase and Ms SQL Server) connections. ODBC support is still in it's alpha stages.
Documentation¶
h3.
The most complete source of documentation should be the APQ manual which is being ported from PDF to this Wiki
Installing¶
From sources tarball
Here is a simple recipe on how to build APQ:
$ tar zxf apq-${VERSION}.tar.gz
$ cd apq-${VERSION].tar.gz
$ make
$ su
# make install PREFIX=/somepath/
When doing so the path /somepath is created and you can find files in the following locations:
- /somepath/include/apq => include files for APQ
- /somepath/lib/ => .so and .ali files for APQ
- /somepath/lib/gnat => where apq.gpr file is located
Then you'll need to add /somepath/lib/gnat to your ADA_PROJECT_PATH to build your database drivers.
Gentoo Linux
On gentoo linux you can use the KOW Framework Overlay located at git://framework.kow.com.br/packages/gentoo-overlay