All:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;m having problems installing syslog-ng-2.1.1 from source on Centos 5.2.&nbsp; I installed eventlog successfully.&nbsp; Eventlog is located at /usr/local/eventlog.&nbsp; My configure script is below.&nbsp; Note, make is failing.&nbsp; The output is below.<br>
<br>./configure EVTLOG_CFLAGS=/usr/local/eventlog/include EVTLOG_LIBS=/usr/local/eventlog/lib.<br>&nbsp;<br><br>syslog-ng Open Source Edition 2.1.1 configured<br>&nbsp;Compiler options:<br>&nbsp; compiler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : gcc<br>&nbsp; compiler options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : -g -O2 -Wall&nbsp; -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include&nbsp;&nbsp; /usr/local/eventlog/include&nbsp;&nbsp; -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
&nbsp; linker flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; -lnsl -lrt&nbsp; -lfl -L/lib64 -lglib-2.0&nbsp;&nbsp; /usr/local/eventlog/lib&nbsp; -lwrap <br>&nbsp; prefix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : /usr/local<br>&nbsp;Features:<br>&nbsp; Sun STREAMS support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br>&nbsp; Sun Door support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br>
&nbsp; Debug symbols&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br>&nbsp; Memtrace&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br>&nbsp; IPV6 support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br>&nbsp; spoof-source support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br>&nbsp; tcp-wrapper support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br>&nbsp; SQL support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br>
<br><br><br>[etaylor@mytest syslog-ng-2.1.1]$ make<br>make&nbsp; all-recursive<br>make[1]: Entering directory `/home/etaylor/syslog-ng-2.1.1&#39;<br>Making all in src<br>make[2]: Entering directory `/home/etaylor/syslog-ng-2.1.1/src&#39;<br>
if gcc -DHAVE_CONFIG_H -I. -I. -I..&nbsp;&nbsp; -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include&nbsp;&nbsp; /usr/local/eventlog/include&nbsp;&nbsp; -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&nbsp; -g -O2 -Wall -MT misc.o -MD -MP -MF &quot;.deps/misc.Tpo&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c -o misc.o `test -f &#39;misc.c&#39; || echo &#39;./&#39;`misc.c; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f &quot;.deps/misc.Tpo&quot; &quot;.deps/misc.Po&quot;; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else rm -f &quot;.deps/misc.Tpo&quot;; exit 1; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>gcc: /usr/local/eventlog/include: linker input file unused because linking not done<br>if gcc -DHAVE_CONFIG_H -I. -I. -I..&nbsp;&nbsp; -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include&nbsp;&nbsp; /usr/local/eventlog/include&nbsp;&nbsp; -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&nbsp; -g -O2 -Wall -MT utils.o -MD -MP -MF &quot;.deps/utils.Tpo&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c -o utils.o `test -f &#39;utils.c&#39; || echo &#39;./&#39;`utils.c; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f &quot;.deps/utils.Tpo&quot; &quot;.deps/utils.Po&quot;; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else rm -f &quot;.deps/utils.Tpo&quot;; exit 1; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br><span style="background-color: rgb(255, 0, 0);">gcc: /usr/local/eventlog/include: linker input file unused because linking not done</span><br>if gcc -DHAVE_CONFIG_H -I. -I. -I..&nbsp;&nbsp; -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include&nbsp;&nbsp; /usr/local/eventlog/include&nbsp;&nbsp; -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&nbsp; -g -O2 -Wall -MT messages.o -MD -MP -MF &quot;.deps/messages.Tpo&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c -o messages.o `test -f &#39;messages.c&#39; || echo &#39;./&#39;`messages.c; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f &quot;.deps/messages.Tpo&quot; &quot;.deps/messages.Po&quot;; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else rm -f &quot;.deps/messages.Tpo&quot;; exit 1; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>In file included from messages.c:24:<br><span style="background-color: rgb(255, 0, 0);">messages.h:28:20: error: evtlog.h: No such file or directory</span><br>In file included from messages.c:24:<br>messages.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token<br>
messages.h:55: error: expected ')' before '*' token<br>messages.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token<br>messages.c: In function 'msg_send_internal_message':<br>messages.c:47: error: 'EVT_PRI_WARNING' undeclared (first use in this function)<br>
messages.c:47: error: (Each undeclared identifier is reported only once<br>messages.c:47: error: for each function it appears in.)<br>messages.c: At top level:<br>messages.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token<br>
messages.c:81: error: expected ')' before '*' token<br>messages.c: In function 'msg_log_func':<br>messages.c:99: error: 'EVT_PRI_INFO' undeclared (first use in this function)<br>messages.c:102: error: 'EVT_PRI_DEBUG' undeclared (first use in this function)<br>
messages.c:104: error: 'EVT_PRI_WARNING' undeclared (first use in this function)<br>messages.c:106: error: 'EVT_PRI_ERR' undeclared (first use in this function)<br>messages.c:108: error: 'EVT_FAC_SYSLOG' undeclared (first use in this function)<br>
messages.c: In function 'msg_init':<br>messages.c:123: error: 'evt_context' undeclared (first use in this function)<br>messages.c:123: warning: implicit declaration of function 'evt_ctx_init'<br>messages.c:123: error: 'EVT_FAC_SYSLOG' undeclared (first use in this function)<br>
messages.c: In function 'msg_deinit':<br>messages.c:133: warning: implicit declaration of function 'evt_ctx_free'<br>messages.c:133: error: 'evt_context' undeclared (first use in this function)<br>make[2]: *** [messages.o] Error 1<br>
make[2]: Leaving directory `/home/etaylor/syslog-ng-2.1.1/src&#39;<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/etaylor/syslog-ng-2.1.1&#39;<br>make: *** [all] Error 2<br><br><br><br><br>&nbsp;<br clear="all">
<br>-- <br>Ezra Taylor<br>