Subject: pkg/13897: gnome-utils does not find locale stuff on -current with XFree 4
To: None <>
From: Martin Husemann <>
List: netbsd-bugs
Date: 09/08/2001 08:16:09
>Number:         13897
>Category:       pkg
>Synopsis:       gnome-utils does not find locale stuff on -current with XFree 4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 07 23:17:01 PDT 2001
>Originator:     Martin Husemann
>Release:        -current as of September 4, XFree 4 from xsrc/xfree as of September 7
System: NetBSD 1.5X NetBSD 1.5X (PORTER) #0: Tue Sep 4 22:47:54 MEST 2001 i386
Architecture: i386
Machine: i386

Trying to build gnome-utils fails due to libintl not being found (buildlink
problem?) and locale.h not being included. Two examples:

for file in gcalc-de.omf; do \
  scrollkeeper-preinstall /usr/X11R6/share/gnome/help/gcalc/de/gcalc.sgml $file ../../../omf-install/$file; \
Shared object "" not found
gmake[4]: [omf_timestamp] Error 1 (ignored)
touch omf_timestamp
gmake[4]: Leaving directory `/usr/pkgwork/misc/gnome-utils/work.i386/gnome-utils-'


cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" 	-DLOCALEDIR=\"/usr/X11R6/share/locale\" 	-I/usr/X11R6/include 	-I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include -I/usr/X11R6/include/gtk-1.2 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include -I/usr/X11R6/include/gtk-1.2		-I/usr/X11R6/include -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include  -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include  -O2 -pipe -pipe -Wall -Wunused  -c gnome-calc.c
gnome-calc.c: In function `set_result':
gnome-calc.c:466: warning: implicit declaration of function `setlocale'
gnome-calc.c:466: `LC_NUMERIC' undeclared (first use in this function)
gnome-calc.c:466: (Each undeclared identifier is reported only once
gnome-calc.c:466: for each function it appears in.)
gnome-calc.c:466: warning: passing arg 1 of `g_strdup' makes pointer from integer


Update everything in the base system and pkgsrc to -current, use xsrc/xfree
and try to build gnome.