SchemaTools is a library that provides a standard representation of data records. It is built on fixbuf, using IPFIX information elements. It describes data using schemas. Schemas are wrapped in "dataInfo" structures that provide ways to get the next record from the data source.
SchemaTools removes the need for the processing application to know the details of how to retrive data, and to know the structure of the records.
fixbuf version 2.0 or later is required for schemaTools.
Download the source code from the download page. The file will be named libschemaTools-1.4.tar.gz. Use the following commands to unpack the source code and go into the source directory:
$ tar zxf libschemaTools-1.4.tar.gz
$ cd libschemaTools-1.4
The configure script in the libschemaTools-1.4 directory is used to prepare the schemaTools source code for your particular environment. The rest of this section explains the configure command option by option.
The first thing you must decide is the parent directory of the
schemaTools installation. Specify that directory in the --prefix switch.
If you do not specify --prefix, the /usr/local directory is used.
$ ./configure --prefix=/usr
If fixbuf was installed using a different prefix and the configure
script cannot find it, you tell it where to find fixbuf by adding the
directory containing the libfixbuf.pc file to the
PKG_CONFIG_PATH environment variable, or specifying that variable on
the configure line:
$ ./configure --prefix=/usr PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Once schemaTools has been configured, you can build it:
$ make
To install schemaTools, run:
$ make install