I am running Ubuntu and when I run ./autogen.sh I get the following.
checking for json... no
configure: error: Package requirements (json-glib-1.0) were not met:
No package 'json-glib-1.0' 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_CFLAGS
and json_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I have tried a few things but I don't really know what exactly I am supposed to do to fix the issue/can't find any good resources.
So I thought that maybe changing line 22 in configure.ac to PKG_CHECK_MODULES([json], [libjson-glib-1.0]) in order reflect my distros name of json-glib might help. I also tried running ./configure LDFLAGS='-L/usr/lib/x86_64-linux-gnu/ -Wl,-rpath,/usr/lib/x86_64-linux-gnu/' with and without the change to line 22 based an email chain that I found. None of it works.
I am running Ubuntu and when I run
./autogen.sh
I get the following.I have tried a few things but I don't really know what exactly I am supposed to do to fix the issue/can't find any good resources.
when I run
locate json-glib | grep -v snap
I getSo I thought that maybe changing line 22 in
configure.ac
toPKG_CHECK_MODULES([json], [libjson-glib-1.0])
in order reflect my distros name of json-glib might help. I also tried running./configure LDFLAGS='-L/usr/lib/x86_64-linux-gnu/ -Wl,-rpath,/usr/lib/x86_64-linux-gnu/'
with and without the change to line 22 based an email chain that I found. None of it works.