[syslog-ng]Re: syslog-ng and libol path

Balazs Scheidler bazsi@balabit.hu
Fri, 11 Oct 2002 17:34:47 +0200


On Fri, Oct 11, 2002 at 11:49:12AM +0200, Steve Alberty wrote:
> Hi,
> 
> i'm using your excellent syslog-ng application and have to try update
> from verson 1.5.17 to 1.5.21.
> 
> The Problem is, in the current version (1.5.21) the configure script can
> not recognize an alternative path to libol.
> 
> eg.
> 
> ./configure --prefix=/usr/local/syslog-ng/1.5.21
> --with-libol=/usr/local/libol/0.3.3/bin
> 
> break-up with:
> 'libol-config not found in the specified location'
> 
> I think something is wrong in configure.in, because it test if
> libol-config is in the given directory is found, but if I specify the
> directory to /usr/local/libol/0.3.3/bin, then building breaks with:
> 
> gcc -DHAVE_CONFIG_H -I. -I/usr/src/syslog-ng-1.5.21/src -I.     -g -O2
> -Wall -I/usr/src/libol-0.3.3/src -D_GNU_SOURCE -c main.c
> In file included from main.c:26:
> syslog-ng.h:31: objects.h: file not found


--with-libol option is needed if you didn't install libol itself. If you
did, simply set your path prior to running configure:

PATH=/usr/local/libol/0.3.3/bin:$PATH ./configure --prefix=...

Otherwise do not install libol, and use the configure switch:

./configure --with-libol=../libol-0.3.3 --prefix=...

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1