Subject: pkg/37541: devel/atk build failure
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <nakaji@jp.freebsd.org>
List: pkgsrc-bugs
Date: 12/14/2007 11:30:00
>Number:         37541
>Category:       pkg
>Synopsis:       devel/atk build failure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 14 11:30:00 +0000 2007
>Originator:     NAKAJI Hiroyuki
>Release:        NetBSD 3.1
>Organization:
>Environment:
NetBSD aidayua 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006  builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
I freshly installed NetBSD/i386 3.1 and I tried to install pkgsrc/meta-pkgs/gnome at first. And then, I faced an error message.

===> Configuring for atk-1.20.0
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
configure: WARNING: If you wanted to set the --build type, don't use --host.
[snip]
checking for GLIB - version >= 2.5.7... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/atk

>How-To-Repeat:
o Setup a newly installed NetBSD box
o Get the latest pkgsrc tree
o run

# cd /usr/pkgsrc/meta-pkgs/gnome
# make update

>Fix: