OasisLMF / ktools

In-memory simulation kernel for loss modelling.
BSD 3-Clause "New" or "Revised" License
28 stars 19 forks source link

Add check for pkg-config in autotools build system #339

Closed hchagani-oasislmf closed 1 year ago

hchagani-oasislmf commented 1 year ago

Add check for pkg-config in build system

The option to output results in parquet format has been available since v3.8.0. To facilitate the linking of the Arrow Parquet libraries necessary for this, autotools uses pkg-config, which has become a prerequisite. Should this package be missing, a misleading error message is displayed, which can be interpreted to point towards the fault lying with the installation of the Arrow Parquet libraries.

A check for pkg-config has been introduced to the autotools build system. The new error message is more helpful:

checking for pkg-config... no
configure: error: cannot find pkg-config. Please install pkg-config and run ./configure again.