3

After downloading and extracting Geany's JSON Prettifier, and installing yajl, the make command does raise this error:

/bin/sh: 1: pkg-config: not found
./geany_json_prettifier.c:32:25: fatal error: geanyplugin.h: No such file or directory
compilation terminated.
Makefile:16: recipe for target 'build' failed
make: *** [build] Error 1

What is left in the system's configuration or Makefile to make it work?

Update: under Lubuntu 16.04.

nightcod3r
  • 952
  • 2
  • 16
  • 32

3 Answers3

2

Not exactly the answer, but: You can use external formatter: Edit > Format > Send Selection to > Set Custom Command like python -m json.tool

idea stolen from

user252967
  • 21
  • 2
2

Try with :

apt install libgtk2.0-dev

That's working for me

jeff
  • 21
  • 2
1

using ubuntu 20.10 and geany is gtk3 oriented, libgtk2.0-dev doesn't work so install libgtk-3-dev instead:

sudo apt-get install build-essential libgtk-3-dev

from here

izzulmakin
  • 111
  • 3