Hi,
You need libdbi-devel (and other dependencies) on your system to be able to compile syslog-ng. Or even better, use ready made binaries from https://copr.fedoraproject.org/coprs/czanik/syslog-ng36/ repository, which has 3.6.2
Bye,

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

On Wed, Mar 11, 2015 at 5:35 AM, Sivadas.M.P <mps@cdot.in> wrote:
Hi!

I have tried the version syslog-ng-3.4.7-1.fc20.x86_64 and succeeded to
log the messages to MySQL DB.
Later found from web that there are some bugs which are solved in 3.6.1.
When trying out the  syslog-ng version 3.6.1 with FC20 (source code) I
am getting the following error during make.

------------------------------------------------------------------------------------------------------
In file included from modules/afsql/afsql.c:24:0:
modules/afsql/afsql.h:28:21: fatal error: dbi/dbi.h: No such file or
directory
  #include <dbi/dbi.h>
                      ^
compilation terminated.
make[2]: *** [modules/afsql/modules_afsql_libafsql_la-afsql.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------

Kindly suggest any remedy for this issue.

regards

--
SIVADAS.M.P
VAL&FS2, C-DOT,
Electronics City Phase - I
Bangalore - 560100
Karnataka
Phone : 080-25119001 Ext: 9143
=====================================================================================
Disclaimer:
----------
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed.  If you are not the
intended recipient you are notified that disclosing, copying, distributing or taking
any action in reliance on the contents of this information is strictly prohibited. The
sender does not accept liability for any errors or omissions in the contents of this
message, which arise as a result of e-mail transmission.

______________________________________________________________________________
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