On Sun, 26 Feb 2017, John C Frain wrote:
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(a)lists.ubuntu.com>
Am I missing something or must I compile without json support.
You need the "development" version of the library. Go
sudo apt-get install libjson-glib-dev
and everything should be ok
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------