NetBSD Problem Report #44304

From  Sat Jan  1 02:26:39 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 8EC6963B89F
	for <>; Sat,  1 Jan 2011 02:26:39 +0000 (UTC)
Message-Id: <>
Date: Sat,  1 Jan 2011 02:26:39 +0000 (UTC)
Subject: x11/wxGTK24 configure fails to find GTK2+ on NetBSD/i386-5.1_STABLE
X-Send-Pr-Version: www-1.0

>Number:         44304
>Category:       pkg
>Synopsis:       x11/wxGTK24 configure fails to find GTK2+ on NetBSD/i386-5.1_STABLE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 01 02:30:00 +0000 2011
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.1_STABLE, pkgsrc-current (pre-pkgsrc-2010Q4)
NetBSD plextwo.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (PLEXOR) #30: Thu Dec 23 22:50:30 CST 2010  sysop@6gun.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/PLEXOR i386

As previously mentioned in pkg/43943, building x11/wxGTK24 fails during
the configure phase with:

checking for TIFFError in -ltiff... yes
checking for GTK+ version... 
checking for pkg-config... /d0/build/pkgsrc/x11/wxGTK24/work/.tools/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: 
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

*** Error code 1

make: stopped in /d0/nbsd/pkgsrc/x11/wxGTK24

Attempt to build x11/wxGTK24 on NetBSD/i386-5.1_STABLE.  (-current had
no problem when last tried).

A patch posted by obache@ in pkg/43943 allowed x11/wxGTK24 to build and
install.  For the current revision of affected files:

Index: mk/buildlink3/
RCS file: /cvsroot/pkgsrc/mk/buildlink3/,v
retrieving revision 1.209
diff -u -p -r1.209
--- mk/buildlink3/     3 Dec 2010 18:59:20 -0000       1.209
+++ mk/buildlink3/     1 Jan 2011 01:49:43 -0000
@@ -500,7 +500,7 @@ CFLAGS+=    ${_flag_}
 CXXFLAGS+=     ${_flag_}
 .  endif
-.for _flag_ in ${BUILDLINK_LDFLAGS}
 .  if empty(LDFLAGS:M${_flag_:S/:/\\:/g})
 LDFLAGS+=      ${_flag_}
 .  endif

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.