OS: Linux Mint 18.3
I'm currently trying to install the latest stable release of cryptsetup. It's installed, but as usual the Synaptic version is very old (1.6.6 compared to 2.3.2).
Running ./configure as per the "INSTALL" document, I found some problems which were solved with this answer. ./configure then failed again with:
checking for json-c... no configure: error: Package requirements (json-c) were not met: No package 'json-c' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables JSON_C_CFLAGS and JSON_C_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. This then led to me to this page, where I tried following the "Build instructions". I ran the git clone instruction from the directory where you find the "configure" file for cryptsetup.
The cmake command seemed to finish OK, but running ./configure again (for cryptsetup) I get the same error.
I don't understand this business of a "non-standard prefix". Can someone say how I install this json-c package to the "standard prefix"?