[MacPorts] #16730: graphics/gegl-0.0.18: new port
MacPorts
noreply at macports.org
Mon Oct 6 09:26:46 PDT 2008
#16730: graphics/gegl-0.0.18: new port
---------------------------------+------------------------------------------
Reporter: db.evans at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Submissions
Component: ports | Version: 1.6.0
Resolution: | Keywords: gegl image processing
Port: gegl |
---------------------------------+------------------------------------------
Comment(by db.evans at gmail.com):
Replying to [comment:8 simon@…]:
> I just tried building it on Mac OS X 10.4.11 Intel and got the following
error. I have no idea why this is happening:
>
> {{{
> (cd .libs && rm -f subtract.la && ln -s ../subtract.la subtract.la)
> /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -D_REENTRANT -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/babl-0.0 -I/opt/local/include
-DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
-I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
-I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -O2
-Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
-msse -c -o svg-multiply.la.lo svg-multiply.c
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/babl-0.0 -I/opt/local/include
-DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
-I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
-I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -O2
-Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
-msse -c svg-multiply.c -fno-common -DPIC -o .libs/svg-multiply.la.o
> /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -avoid-
version -export-dynamic -module -L/opt/local/lib -O2 -Wall -Wdeclaration-
after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self
-Wpointer-arith -Wold-style-definition -mmmx -msse -L/opt/local/lib
-lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
-liconv -o svg-multiply.la -rpath /opt/local/lib/gegl-0.0 svg-
multiply.la.lo
> /usr/bin/gcc-4.0 ${wl}-undefined ${wl}dynamic_lookup -o .libs/svg-
multiply.so -bundle .libs/svg-multiply.la.o -L/opt/local/lib
/opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
/opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib
/opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
/opt/local/lib/libiconv.dylib -mmmx -msse
> dsymutil .libs/svg-multiply.so || :
> ERROR: No debug map or DWARF data was found to link.creating svg-
multiply.la
> (cd .libs && rm -f svg-multiply.la && ln -s ../svg-multiply.la svg-
multiply.la)
> /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -D_REENTRANT -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/babl-0.0 -I/opt/local/include
-DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
-I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
-I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -O2
-Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
-msse -c -o xor.la.lo xor.c
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/babl-0.0 -I/opt/local/include
-DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
-I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
-I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -O2
-Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
-msse -c xor.c -fno-common -DPIC -o .libs/xor.la.o
> /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -avoid-
version -export-dynamic -module -L/opt/local/lib -O2 -Wall -Wdeclaration-
after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self
-Wpointer-arith -Wold-style-definition -mmmx -msse -L/opt/local/lib
-lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
-liconv -o xor.la -rpath /opt/local/lib/gegl-0.0 xor.la.lo
> /usr/bin/gcc-4.0 ${wl}-undefined ${wl}dynamic_lookup -o .libs/xor.so
-bundle .libs/xor.la.o -L/opt/local/lib /opt/local/lib/libgio-2.0.dylib
/opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib
/opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -mmmx -msse
> dsymutil .libs/xor.so || :
> ERROR: No debug map or DWARF data was found to link.creating xor.la
> (cd .libs && rm -f xor.la && ln -s ../xor.la xor.la)
> make[3]: Nothing to be done for `all-am'.
> Making all in bin
> if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gegl
-I../gegl/buffer -I../gegl/property-types -I../gegl/buffer
-I../gegl/operation -I../gegl/module -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -DXTHREADS -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/pango-1.0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/libpng12
-I/usr/X11R6/include -I/opt/local/include/babl-0.0
-I/opt/local/include/libpng12 -I/opt/local/include
-DG_DISABLE_SINGLE_INCLUDES -O2 -Wall -Wdeclaration-after-statement
-Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
-Wold-style-definition -mmmx -msse -MT gegl.o -MD -MP -MF ".deps/gegl.Tpo"
-c -o gegl.o gegl.c; \
> then mv -f ".deps/gegl.Tpo" ".deps/gegl.Po"; else rm -f
".deps/gegl.Tpo"; exit 1; fi
> In file included from /opt/local/include/gtk-2.0/gdk/gdkspawn.h:26,
> from /opt/local/include/gtk-2.0/gdk/gdk.h:52,
> from /opt/local/include/gtk-2.0/gtk/gtk.h:31,
> from gegl.c:43:
> /opt/local/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only
<glib.h> can be included directly."
> make[2]: *** [gegl.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> }}}
>
> Thanks,
>
> Simon
Simon,
Would you please verify that you have the latest version gtk2 and glib2
installed? In my version (gdk_spawn.h) no longer includes
glib/gspawn.h. Looks like they have reorganized things to make sure that
no single file under glib is included, only
glib/glib.h and have turned on GLIB_DISABLE_SINGLE_INCLUDES to enforce it
with this error. I can't reproduce this error
on 10.4.11 ppc. (my versions are gtk2 @2.14.3_2+x11 and glib2 @2.18.1_0).
Here's where it was removed:
[http://svn.gnome.org/viewvc/gtk%2B/trunk/gdk/gdkspawn.h?r1=9198&r2=19877]
Dave
--
Ticket URL: <http://trac.macports.org/ticket/16730#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list