You need to add the package containing the executable pg_config. A prior answer should have details you need: pg_config executable not found