[syslog-ng]Anyone Get Syslog-NG To Compile on Red Hat?

Rhugga syslog-ng@lists.balabit.hu
Fri, 27 Aug 2004 12:05:43 -0500


Balazs Scheidler wrote:

>On Fri, 2004-08-27 at 16:53, Rhugga wrote:
>  
>
>>I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled 
>>libol into /usr/local/libol-0.3.14.
>>
>>I tried the following configuration options when trying to build sysllg-ng:
>>./configure --prefix=/usr/local/syslog-ng-1.6.5 
>>--with-libol=/usr/local/libol-0.3.14/lib 
>>--with-libnet=/usr/local/libol-0.3.14/bin/
>>/configure --prefix=/usr/local/syslog-ng-1.6.5 
>>--with-libol=/usr/local/libol-0.3.14/lib 
>>--with-libnet=/usr/local/libol-0.3.14
>>./configure --prefix=/usr/local/syslog-ng-1.6.5 
>>--with-libol=/usr/local/libol-0.3.14/lib 
>>--with-libnet=/usr/local/libol-0.3.14/bin/libol-config
>>
>>Each time is complains that it cannot find libol-config:
>>
>><snip>
>>checking for strptime... yes
>>checking for TCP wrapper library... -lwrap
>>checking whether to enable Sun STREAMS support... no
>>checking whether to enable Sun door support... no
>>checking whether to enable TCP wrapper support... no
>>checking whether to enable spoof_source support... no
>>checking libol version >= 0.3.14... configure: error: libol-config not 
>>found in the specified location
>>
>>Here is libol-config:
>>syslog:~/syslog-ng-1.6.5 #ls -la /usr/local/libol-0.3.14/bin/
>>total 36
>>drwxr-xr-x    2 root     root         4096 Aug 27 07:22 .
>>drwxr-xr-x    5 root     root         4096 Aug 27 07:22 ..
>>-rwxr-xr-x    1 root     root         1288 Aug 27 07:22 libol-config
>>-rwxr-xr-x    1 root     root        24264 Aug 27 07:22 make_class
>>
>>It finds the libol library correctly, otherwise it dies before it 
>>reaches this error. It just doesn't properly detect libol-config.
>>    
>>
>
>you have to specify the root directory of libol, or add the directory to
>libol-config to your current PATH. --with-libol is meant to be used when
>you don't install libol itself.
>
>--with-libnet is completely different, it is needed only if you specify
>--enable-spoof-source
>
>  
>
Ahh, okay thanks.

-rhugga