Opened 11 years ago

Closed 10 years ago

#620 closed Bug Report (fixed)

Compilation fails with glibmm-2.25.5

Reported by: anonymous Owned by: David Robillard
Priority: major Component: Ingen
Keywords: Cc:

Description

compiling fails with latest libglibmm-2.4-dev on ubuntu maverick

just replacing the 2.25 /include files with 2.24 lets it compile through

In file included from /usr/include/giomm-2.4/giomm/dbusconnection.h:34:0,

from /usr/include/giomm-2.4/giomm.h:32, from /usr/include/gtkmm-2.4/gtkmm.h:88, from /usr/include/libgnomecanvasmm-2.6/libgnomecanvasmm.h:29, from ../patchage/src/Patchage.hpp:24, from ../patchage/src/DBus.cpp:22:

/usr/include/giomm-2.4/giomm/dbusmessage.h:51:3: error: expected identifier before numeric constant /usr/include/giomm-2.4/giomm/dbusmessage.h:51:3: error: expected ‘}’ before numeric constant /usr/include/giomm-2.4/giomm/dbusmessage.h:51:3: error: expected unqualified-id before numeric constant /usr/include/giomm-2.4/giomm/dbusmessage.h:186:11: error: ‘DBusMessage_Class’ does not name a type In file included from /usr/include/giomm-2.4/giomm/dbusconnection.h:34:0,

from /usr/include/giomm-2.4/giomm.h:32, from /usr/include/gtkmm-2.4/gtkmm.h:88, from /usr/include/libgnomecanvasmm-2.6/libgnomecanvasmm.h:29, from ../patchage/src/Patchage.hpp:24, from ../patchage/src/DBus.cpp:22:

/usr/include/giomm-2.4/giomm/dbusmessage.h:352:3: error: ‘DBusMessageType’ does not name a type /usr/include/giomm-2.4/giomm/dbusmessage.h:359:25: error: ‘DBusMessageType’ has not been declared /usr/include/giomm-2.4/giomm/dbusmessage.h:706:1: error: expected declaration before ‘}’ token Waf: Leaving directory `/media/vault/Build/drobilla-lad/build' Build failed: -> task failed (err #1):

{task: cxx DBus.cpp -> DBus_1.o}

Change History (9)

comment:1 Changed 11 years ago by a@…

I have the error with current trunk also (up to date Kubuntu 10.10). Are there know workaround to resolve the issue and force ingen to be bult successfully?

comment:2 Changed 11 years ago by a@…

Ok, have found a workaround: have temporary commented out all dbusXXX includes in /usr/include/giomm-2.4/giomm.h.

comment:3 Changed 10 years ago by David Robillard

Summary: compiling fails with libglibmm-2.4-dev ver 2.25.5Compilation fails with glibmm-2.25.5

comment:4 Changed 10 years ago by David Robillard

I have 2.28.0, and it works fine, closing as a Glib / Glibmm bug (and a remarkably stupid one, at that...).

Please reopen with more information if any recent distro actually still has this problem.

comment:5 Changed 10 years ago by David Robillard

Resolution: invalid
Status: newclosed

comment:6 Changed 10 years ago by nettings

opensuse 11.4 (64bit), same problem.

comment:7 Changed 10 years ago by seven.steps@…

Please note that Ubuntu (and Kubuntu, Xubuntu, ...) 10.10/Maverick, still supported through April 2012, still ships glibmm 2.25.5.

comment:8 Changed 10 years ago by David Robillard

Resolution: invalid
Status: closedreopened

I do not know of a workaround for this problem.

comment:9 Changed 10 years ago by David Robillard

Resolution: fixed
Status: reopenedclosed

Seems fixed in latest SVN.

Note: See TracTickets for help on using tickets.