I had the same problem, I went to Synaptic and install all libraries libjason.
After that I solved this problem.

Best regards.

2017-02-26 7:04 GMT-05:00 John C Frain <frainj@gmail.com>:

I have installed Ubuntu 16.10 and am trying to install gretl from git. The instruction

./configure --prefix=/home/frainj/usr --enable-build-doc

leads to the following output.

The json-glib-1.0 library was not found, or the version found
was not new enough. While we recommend including JSON support
you can disable this by using the option --disable-json when
running configure.

As far as I can determine the json libraries are installed the output of dpkg --status is as follows

frainj@frainj-Aspire-One-753:~$ sudo dpkg --status libjson-glib-1.0-0
Package: libjson-glib-1.0-0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 187
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>

Am I missing something or must I compile without json support.

John C Frain
3 Aranleigh Park

Gretl-users mailing list

Hebert Suarez Cahuana
Secretario del Departamento de Economía
Universidad Nacional de San Agustín

"Ninguna nación llegó a la ruina por el libre comercio" Benjamin Franklin