Subject: pkg/18281: chat/gabber fails to compile on NetBSD-1.5.3/i386
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 09/13/2002 04:34:01
>Synopsis: chat/gabber fails to compile on NetBSD-1.5.3/i386 due to erroneous includes
>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 email@example.com:/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 jabberoo-packet.cc || echo './'`jabberoo-packet.cc
In file included from jabberoo-packet.cc:30:
../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: *** [jabberoo-packet.o] Error 1
gmake: Leaving directory `/opt/packages/pkgsrc/chat/gabber/work/gabber-0.8.7/jabberoo/src'
gmake: *** [all-recursive] Error 1
gmake: Leaving directory `/opt/packages/pkgsrc/chat/gabber/work/gabber-0.8.7/jabberoo'
gmake: *** [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.