Subject: port-shark/18340: kdebase3 doesn't compile on shark netbsd 1.6
To: None <>
From: None <,,>
List: netbsd-bugs
Date: 09/19/2002 16:59:43
>Number:         18340
>Category:       port-shark
>Synopsis:       kdebase3 doesn't compile on shark netbsd 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-shark-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 19 17:00:00 PDT 2002
>Originator:     Stuart Pook
>Release:        1.6
NetBSD shark 1.6 NetBSD 1.6 (GENERIC) #0: Mon Sep  9 07:07:37 UTC 2002 shark

(BTW I'm using /netbsd.aout from the install because /netbsd doesn't work at all.)
the compile of kdebase3 fails in ksysguard/ksysguardd/FreeBSD because
sharks don't have apm support.
cc -DHAVE_CONFIG_H -I. -I. -I../../.. -DKSYSGUARDDRCFILE="\"\"" -I./../../CContLib -I./..  -DQT_THREAD_SUPPORT -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include  -I/usr/pkg/share/x11-links/include   -Wall  -c `test -f ProcessList.c || echo './'`ProcessList.c
ProcessList.c: In function `killProcess':
ProcessList.c:439: warning: implicit declaration of function `kill'
source='apm.c' object='apm.o' libtool=no \
depfile='.deps/apm.Po' tmpdepfile='.deps/apm.TPo' \
depmode=gcc /bin/sh ../../../admin/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../.. -DKSYSGUARDDRCFILE="\"\"" -I./../../CContLib -I./..  -DQT_THREAD_SUPPORT -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include  -I/usr/pkg/share/x11-links/include   -Wall  -c `test -f apm.c || echo './'`apm.c
apm.c:24: machine/apmvar.h: No such file or directory
gmake[4]: *** [apm.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.3/ksysguard/ksysguardd/FreeBSD'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.3/ksysguard/ksysguardd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.3/ksysguard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.3'
gmake: *** [all] Error 2
*** Error code 2
try to compile kdebase-3.0.3 on a shark
I've hacked the Makefile to remove ksysguard though I suppose
that configure should be modified to not include ksysguard on
the architectures where apm is not supported.