Opened 13 years ago
Closed 13 years ago
#33973 closed defect (fixed)
glibmm: #error "Only <glib.h> can be included directly."
Reported by: | diego.iacobucci@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | glibmm |
Description
I've queried the archive but found no ticket on this error:
:info:build libtool: compile: /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=\"glibmm\" -DGLIBMM_BUILD=1 -D_REENTRANT -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/gli b-2.0/include -I/opt/local/include -I/opt/local/include -Wall -pipe -O2 -arch ppc -MT varianttype.lo -MD -MP -MF .deps/varianttype.T po -c varianttype.cc -fno-common -DPIC -o .libs/varianttype.o :info:build In file included from varianttype.cc:26: :info:build /opt/local/include/glib-2.0/glib/gvarianttype.h:24:2: error: #error "Only <glib.h> can be included directly." :info:build make[2]: *** [varianttype.lo] Error 1
Is there a way to fix it by myself or do i need to wait for a new version?
Thanks in advance
Attachments (1)
Change History (5)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | devans@… removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | @2.28.2 removed |
Summary: | glibmm @2.28.2 fails to built on OS X 10.5.8 → glibmm: #error "Only <glib.h> can be included directly." |
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
2.32.0 is available; maybe we should update to that. Here's a patch that does that which works for me.
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | glibmm-2.32.0.diff added |
---|
proposed patch
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
r92104 (maintainer timeout)
Note: See
TracTickets for help on using
tickets.
Same as many other tickets filed in the past few days, this software needs to be updated to work with glib 2.32. The way I've been doing this is finding occurrences of "#include <glib/anything.h>" and replacing them with "#include <glib.h>". A newer upstream version, if one is available, might already have fixed this.