Opened 12 years ago
Closed 12 years ago
#34879 closed defect (duplicate)
dia: #error "Only <glib.h> can be included directly."
Reported by: | joseche@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: | dia |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
dia port fails during build due to error in code
:info:build libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/libxml2 -I/opt/local/include/libart-2.0 -D_REENTRANT -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -DDIA_SHAPEDIR=\"/opt/local/share/dia/shapes\" -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/freetype2 -I/opt/local/include -pipe -O2 -arch i386 -Wall --std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -Wpointer-arith -Winit-self -Wformat-nonliteral -MT custom.lo -MD -MP -MF .deps/custom.Tpo -c custom.c -fno-common -DPIC -o .libs/custom.o :info:build In file included from shape_typeinfo.c:30: :info:build /opt/local/include/glib-2.0/glib/gstrfuncs.h:28:2: error: #error "Only <glib.h> can be included directly." :info:build make[3]: *** [shape_typeinfo.lo] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build mv -f .deps/custom.Tpo .deps/custom.Plo :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_dia/dia/work/dia-0.97.2/objects/custom'
Attachments (1)
Change History (4)
Changed 12 years ago by joseche@…
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | joseche@… removed |
---|---|
Description: | modified (diff) |
Keywords: | dia removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | dia: Build process fails → dia: #error "Only <glib.h> can be included directly." |
As yes, the glib 2.32 incompatibility we've already fixed in many other ports.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Actually I already fixed this in dia 2 months ago. Please:
sudo port clean dia sudo port selfupdate sudo port install dia
Note: See
TracTickets for help on using
tickets.
Log build