Re: syslog-ng33 fails to build

2013-09-17 Thread C. L. Martinez
On Sun, Sep 15, 2013 at 11:40 PM, CyberLeo Kitsana
cyber...@cyberleo.net wrote:
 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
 cyber...@cyberleo.net



Many thanks CyberLeo ... It works. I have opened pr last week about
this (but instead against syslog-ng33, it is about syslog-ng 3.4.3,
but the problem is the same)

http://www.freebsd.org/cgi/query-pr.cgi?pr=182061
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: syslog-ng33 fails to build

2013-09-15 Thread CyberLeo Kitsana
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
cyber...@cyberleo.net

Furry Peace! - http://www.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: syslog-ng33 fails to build

2013-09-15 Thread Outback Dingo
On Sun, Sep 15, 2013 at 7:40 PM, CyberLeo Kitsana cyber...@cyberleo.netwrote:

 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.


Im actually wondering if its deeper then this as, today i built two ports
that had

USE_GNOME=  pkgconfig


which both failed to build, i was wondering is somethings changed, this
occurs on both stable/9 and alpha/10


 --
 Fuzzy love,
 -CyberLeo
 Technical Administrator
 CyberLeo.Net Webhosting
 http://www.CyberLeo.Net
 cyber...@cyberleo.net

 Furry Peace! - http://www.fur.com/peace/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


syslog-ng33 fails to build

2013-09-13 Thread C. L. Martinez
Hi all,

 I am trying to build syslog-ng33 (release 3.3.9) using a poudriere
server, but build process fails:

 checking for struct sockaddr_in6... yes
checking for PR_SET_KEEPCAPS... no
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for nanosleep in -lrt... yes
checking for gethostbyname in -lnsl... no
checking for regexec in -lregex... no
checking for res_init in -lresolv... no
checking for cap_set_proc in -lcap... no
checking for strdup... (cached) yes
checking for strtol... (cached) yes
checking for strtoll... (cached) yes
checking for strtoimax... yes
checking for inet_aton... (cached) yes
checking for inet_ntoa... (cached) yes
checking for getopt_long... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking for getutent... no
checking for getutxent... no
checking for pread... (cached) yes
checking for pwrite... (cached) yes
checking for strcasestr... yes
checking for memrchr... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for clock_gettime... (cached) yes
checking for EVTLOG... no
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??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org