Subject: pkg/18281: chat/gabber fails to compile on NetBSD-1.5.3/i386
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/13/2002 04:34:01
>Number:         18281
>Category:       pkg
>Synopsis:       chat/gabber fails to compile on NetBSD-1.5.3/i386 due to erroneous includes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 12 20:35:00 PDT 2002
>Release:        NetBSD 1.5.3
System: NetBSD aoife.home 1.5.3 NetBSD 1.5.3 (AOIFE) #0: Wed Jul 3 03:34:13 BST 2002 root@aoife.home:/opt/netbsd/1.5/usr/src/sys/arch/i386/compile/AOIFE i386

	Building chat/gabber fails. This appears to be due to erroneous include directives in the compiler command line. 
	The errors can be seen below. I think that the problem is with the libsigc++ includes. There doesn't appear to be a libsigc++ directory anywhere accessible to the compiler.

	c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libjudo/src/expat -I../libjudo/src -I../include -I../libsigc++ -I../libsigc++/sigc++/config  -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/libglade-1.0 -I/usr/pkg/include/gnome-1.0   -O2 -c -o jabberoo-packet.o `test -f || echo './'`
	In file included from
	../include/jabberoo.hh:56: sigc++/signal_system.h: No such file or directory
	../include/jabberoo.hh:57: sigc++/object_slot.h: No such file or directory
	gmake[4]: *** [jabberoo-packet.o] Error 1
	gmake[4]: Leaving directory `/opt/packages/pkgsrc/chat/gabber/work/gabber-0.8.7/jabberoo/src'
	gmake[3]: *** [all-recursive] Error 1
	gmake[3]: Leaving directory `/opt/packages/pkgsrc/chat/gabber/work/gabber-0.8.7/jabberoo'
	gmake[2]: *** [all] Error 2

	run "make" in pkgsrc/chat/gabber
	I worked around it by putting the includes from "sigc-config --cflags" in work/gabber-0.8.7/jabberoo/src/Makefile. I wasn't able to figure out a proper fix. The includes I inserted were "-I/usr/pkg/lib/sigc++-1.0/include -I/usr/pkg/include/sigc++-1.0".
	It builds and runs fine after this change.