Subject: pkg/12599: devel/GConf fails in configure looking for popt.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathan.ahlstrom@medtronic.com>
List: netbsd-bugs
Date: 04/10/2001 15:44:20
>Number:         12599
>Category:       pkg
>Synopsis:       devel/GConf fails in configure looking for popt.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 10 13:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Ahlstrom
>Release:        NetBSD_1.5.1-ALPHA
>Organization:
me
>Environment:
System: NetBSD bsd 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (GENERIC) #1: Sun Apr 1 16:43:54 PDT 2001 toddpw@kei.toddpw.net:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:

		popt not found when pkgsrc is building GConf.

===> Returning to build of GConf-1.0.0
===> Required installed package gettext-lib>=0.10.35nb1: gettext-lib-0.10.35nb1 found
===> Required installed package libtool-base>=1.4.20010219nb5: libtool-base-1.4.20010219nb5 found
===> Required installed package gettext-0.10.35nb1: gettext-0.10.35nb1 found
===> Patching for GConf-1.0.0
===> Applying NetBSD patches for GConf-1.0.0
===> Configuring for GConf-1.0.0
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking whether the C compiler (cc -O2  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -O2  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C++ compiler (c++ -O2  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for POSIXized ISC... no
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking host system type... i386--netbsd
checking build system type... i386--netbsd
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache
FYI:  Using default config source xml::${sysconfdir}/gconf/gconf.xml.defaults for schema installation
FYI:  Will build without debugging code
checking for glib-config... /usr/pkg/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for oaf-config... /usr/X11R6/bin/oaf-config
checking for OAF - version >= 0.2.0... yes
checking for gtk-config... /usr/X11R6/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for xml-config... /usr/pkg/bin/xml-config
checking for db_env_create in -ldb-3... no
configure: warning: No db3 library found. Not building bdb backend.
checking for poptGetArg in -lpopt... no
checking for popt.h... no
configure: error: 
*** Couldn't find popt. Please download and install from
*** ftp://ftp.redhat.com/pub/redhat/code/popt and try again.
*** Error code 1

Stop.
*** Error code 1

>How-To-Repeat:
	I was building the /usr/pkgsrc/x11/gnome pkg from a 
	up-to-the-minute pkgsrc.
>Fix:
	Attached is a small diff to add a dependency on devel/popt to 
	devel/GConf.  I am uncertain about which version of popt to 
	require?

Index: Makefile
===================================================================
RCS file: /usr/NetBSD-cvs/pkgsrc/devel/GConf/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2001/04/06 22:00:06	1.13
+++ Makefile	2001/04/10 20:34:09
@@ -11,6 +11,7 @@
 
 DEPENDS+=	oaf>=0.6.5:../../devel/oaf
 DEPENDS+=	guile>=1.3.4:../../lang/guile
+DEPENDS+=	popt>=1.2:../../devel/popt
 
 BUILD_USES_MSGFMT=	yes
 GNU_CONFIGURE=	YES
>Release-Note:
>Audit-Trail:
>Unformatted: