Subject: Gnumeric fails to build
To: NetBSD pkg <tech-pkg@netbsd.org>
From: Jonathan <j.e.drews@worldnet.att.net>
List: tech-pkg
Date: 04/11/2004 19:05:47
NetBSD 1.6.2
i386
/usr/pkgsrc/math/gnumeric
using pkgsrc.tar.gz from 10 April

Hi:

 I updated my /usr/pkgsrc/ and then attempted to compile gnumeric (ver
1.0.13). I get the following make error below.
 Note that it complains about a redefinition of "Byte" in zconf.h:

In file included from plc.c:166:
XmHTMLP.h:278: redefinition of `Byte'
/usr/pkgsrc/x11/gnome-libs/work/.x11-buildlink/include/zconf.h:252:
`Byte' previously declared here

Relevant output:
_________________________________________
 gcc -DHAVE_CONFIG_H -I. -I.. -I./..
-I/usr/pkgsrc/x11/gnome-libs/work/.buildlink/include/gtk-1.2
-I/usr/pkgsrc/x1
1/gnome-libs/work/.buildlink/include/glib/glib-1.2
-I/usr/pkgsrc/x11/gnome-libs/work/.buildlink/lib/glib/include -
I/usr/pkgsrc/x11/gnome-libs/work/.x11-buildlink/include -DWITH_GTK
-DDEBUG -DGNOME_LIB -I/usr/pkgsrc/x11/gnome-lib
s/work/.buildlink/include
-I/usr/pkgsrc/x11/gnome-libs/work/.buildlink/include/freetype2 -O2 -Wall
-Wunused -c plc
.c  -fPIC -DPIC -o .libs/plc.o
In file included from plc.c:166:
XmHTMLP.h:278: redefinition of `Byte'
/usr/pkgsrc/x11/gnome-libs/work/.x11-buildlink/include/zconf.h:252:
`Byte' previously declared here
gmake[2]: *** [plc.lo] Error 1



I did a make clean in /usr/pkgsrc/ and tried did make again but to no
avail. Any idea what might be wrong?

-- 
			Kind regards,
			Jonathan