Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2013 18:40:37 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        "C. L. Martinez" <carlopmart@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: syslog-ng33 fails to build
Message-ID:  <52364575.3030500@cyberleo.net>
In-Reply-To: <CAEjQA5%2B6ae1_z5L6d2g3NY6ggq8vEVf-cm5690hGFY6TEAEbTw@mail.gmail.com>
References:  <CAEjQA5%2B6ae1_z5L6d2g3NY6ggq8vEVf-cm5690hGFY6TEAEbTw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> 
<snip>
> 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 bsd.port.options.mk:

USES+= pkgconfig

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

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52364575.3030500>