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

syslog-ng@lists.balabit.hu 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:
> =20
>
>>I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I =
compiled=20
>>libol into /usr/local/libol-0.3.14.
>>
>>I tried the following configuration options when trying to build =
sysllg-ng:
>>./configure --prefix=3D/usr/local/syslog-ng-1.6.5=20
>>--with-libol=3D/usr/local/libol-0.3.14/lib=20
>>--with-libnet=3D/usr/local/libol-0.3.14/bin/
>>/configure --prefix=3D/usr/local/syslog-ng-1.6.5=20
>>--with-libol=3D/usr/local/libol-0.3.14/lib=20
>>--with-libnet=3D/usr/local/libol-0.3.14
>>./configure --prefix=3D/usr/local/syslog-ng-1.6.5=20
>>--with-libol=3D/usr/local/libol-0.3.14/lib=20
>>--with-libnet=3D/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 >=3D 0.3.14... configure: error: libol-config =
not=20
>>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=20
>>reaches this error. It just doesn't properly detect libol-config.
>>   =20
>>
>
>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
>
> =20
>
Ahh, okay thanks.

-rhugga

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html