[gtkmm] Build/install error in libsigc++-2.0
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Build/install error in libsigc++-2.0
- Date: Tue, 13 Apr 2004 21:59:52 +0100
In case someone else is afflicted by this, there is a build/install problem
with libsigc++-2.0. Compiling any program fails with the following error:
In file included from /opt/gnome2/include/sigc++-2.0/sigc++/functors/slot.h:7,
from /opt/gnome2/include/sigc++-2.0/sigc++/signal_base.h:27,
from /opt/gnome2/include/sigc++-2.0/sigc++/signal.h:8,
from /opt/gnome2/include/sigc++-2.0/sigc++/sigc++.h:23,
from /opt/gnome2/include/glibmm-2.4/glibmm/dispatcher.h:24,
from /opt/gnome2/include/glibmm-2.4/glibmm.h:32,
from /opt/gnome2/include/gtkmm-2.4/gtkmm/main.h:6,
from main.cpp:17:
/opt/gnome2/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5:75:
sigc++config.h: No such file or directory
make[1]: *** [main.o] Interrupt
In this particular program, main.cpp includes gtkmm/main.h at line 17. The
problem is as reported, namely that adaptor/adaptor_trait.h includes
sigc++config.h, but sigc++-config is not installed by 'make install'.
The solution is to copy sigc++-config.h from the libsigc++ package to
$prefix/include/sigc++-2.0 (not $prefix/include/sigc++-2.0/sigc++). Then
everything works correctly.
This is with gcc-3.3.3.
On checking the regression, the same problem occurs with libsigc++-1.9.16, but
not with libsigc++-1.9.15 (which I have previously used), so libsigc++-2 does
not seem to have received a great deal of testing. (The examples compile
correctly because they look for their headers in the distribution package
itself).
I have posted a bug to bugzilla.
Chris.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]