Hello;
    i am trying to upgrade kamailio to new version. i have a look the db schema and version table , can't see any problem. jansson and json packages are installed to try to new modules. (Thanks to who add these. ) When it is build , gives   errors about libevent and janssonrpc. it installed libevent and other dependencies are listed in kamailio.spec file (can't find anything for jansson). libevent libs are installed to /usr/lib64/ path. Could you have a look error to solve.
 

 Thanks

make[1]: `jansson.so' is up to date.
Package libevent was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libevent' found
Package libevent was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libevent' found
Package libevent was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libevent' found
Package libevent was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libevent' found
CC (gcc) [M janssonrpc-c.so]            janssonrpc_connect.o
In file included from janssonrpc_connect.c:39:
netstring.h:27:32: warning: event2/bufferevent.h: No such file or directory
In file included from janssonrpc_io.h:31,
                 from janssonrpc_request.h:26,
                 from janssonrpc_connect.c:41:

Package libevent-1.4.13-4.el6.x86_64 already installed and latest version
Package libevent-devel-1.4.13-4.el6.x86_64 already installed and latest version

Package jansson-2.6-1.el6.x86_64 already installed and latest version
Package jansson-devel-2.6-1.el6.x86_64 already installed and latest version

Package json-c-0.11-12.el6.x86_64 already installed and latest version
Package json-c-devel-0.11-12.el6.x86_64 already installed and latest version


--