Subject: pkg/8795: gnome-core doesn't build on NetBSD/alpha 1.4.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <elric@imrryr.org>
List: netbsd-bugs
Date: 11/14/1999 03:12:43
>Number:         8795
>Category:       pkg
>Synopsis:       gnome-core doesn't build on NetBSD/alpha 1.4.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 14 03:12:01 1999
>Last-Modified:
>Originator:     R. C. Dowdeswell
>Organization:
	Some.
>Release:        1.4.1 release branch
>Environment:
System: NetBSD mabelode.imrryr.org 1.4.1 NetBSD 1.4.1 (MABELODE) #0: Mon Nov 1 16:39:41 PST 1999 elric@mabelode.imrryr.org:/cvs/NetBSD-release/src/sys/arch/alpha/compile/MABELODE alpha

>Description:
gnome-core's build dies in work/gnome-core-1.0.53/applets/battery
with:

In file included from battery.c:46:
read-battery.h:23: machine/apmvar.h: No such file or directory

>How-To-Repeat:
Try to build gnome on an alpha.
>Fix:

The problem here is that there is no apm on NetBSD/alpha (and I'm guessing
many other non-i386 ports.)  The solution that I took due to speed, and the
fact that I have no apm was to #ifdef all of the relevant sections out
based on non-__i386__'ness.  A better solution should be found, however. :-)
>Audit-Trail:
>Unformatted: