[syslog-ng] compilation problem
Steve Bernacki
syslogng at f.copacetic.net
Wed Jan 23 21:44:41 CET 2008
On Wed, 23 Jan 2008, Siwei Zhang wrote:
[snip]
>
> I am trying to compile the syslog-ng-2.0.7 on CentOS 5 but failed with
> the following errors.
>
> configure: error: Cannot find GLib library version >= 2.2: is pkg-config
> in path?
>
[snip]
By default, eventlog installs its pkg-config .pc file in
/usr/local/lib/pkgconfig on centos, which is not in pkg-config's standard
path. You'll need to set the PKG_CONFIG_PATH environment variable to
include /usr/local/lib/pkgconfig, then re-run ./configure:
bash$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
bash$ ./configure
Steve
--
Steve Bernacki, Jr
To date, the Pan-Massachusetts Challenge has raised 171 million
dollars for cancer research. Get involved! http://www.pmc.org/
More information about the syslog-ng
mailing list