Hi,
Take a look at the rpm-s at https://copr.fedoraproject.org/coprs/czanik/syslog-ng36epel6/ The json package for RHEL6 is a bit broken. This is the workaround I use:
PKG_CONFIG_PATH=/%{_lib}/pkgconfig; export PKG_CONFIG_PATH; \
%configure \
    --prefix=%{_prefix} \
[...]
Bye,

Peter Czanik (CzP) <peter.czanik@balabit.com>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/
https://twitter.com/PCzanik

On Sun, Jul 5, 2015 at 9:51 AM, Scheidler, Balázs <balazs.scheidler@balabit.com> wrote:

Iirc we are looking for a .pc  file with pkg-config, is that available in /use/lib/pkgconfig?

Alternatively if you are looking.at configure --help output you can see which environment variables can be used to specify include paths/libs.

On Jul 5, 2015 08:47, "Russell Fulton" <r.fulton@auckland.ac.nz> wrote:
Hi

I have installed the libjson-devel package via yum but ./configure says:

checking for JSON: no

the library is in /lib64 and headers in /usr/include/json-c/

I can’t figure out what configure options I need to get this to work.

Thanks, Russell

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq


______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq