syslog-ng33 fails to build

CyberLeo Kitsana cyberleo at
Sun Sep 15 23:47:56 UTC 2013

On 09/13/2013 01:53 AM, C. L. Martinez wrote:
> Hi all,
>  I am trying to build syslog-ng33 (release 3.3.9) using a poudriere
> server, but build process fails:
> configure: error: in
> `/wrkdirs/usr/ports/sysutils/syslog-ng33/work/syslog-ng-3.3.9':
> configure: error: The pkg-config script could not be found or is too
> old.  Make sure it
> is in your PATH or set the PKG_CONFIG environment variable to the full
> path to pkg-config.
> Alternatively, you may set the environment variables EVTLOG_CFLAGS
> and EVTLOG_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> It is strange, because previous build (on August 27) works without problems ...
> Any idea??

Probably because syslog-ng relies upon pkgconfig, but assumes it will be
installed by one of the dependent ports so doesn't explicitly declare
the dependency. Poudriere has a habit of only installing the immediate
dependencies of the package it is currently compiling, so exposes such
issues when a port is updated, but none of its dependencies are. Bug
ports/181098 is another I found like this.

Add this to the port's Makefile after the include of

USES+= pkgconfig

If that corrects the issue you're seeing, submit a pr.

Fuzzy love,
Technical Administrator
CyberLeo.Net Webhosting
<CyberLeo at CyberLeo.Net>

Furry Peace! -

More information about the freebsd-questions mailing list