On 27/08/11 17:06, Anders Johansson wrote:
On Friday 26 August 2011 23:57:27 Anders Johansson wrote:
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it? /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably. Aren't all gtk/gdk packages configured with pkgconfig? Changes like that should be picked up automatically Actually the place of the headers did not change. I have no idea what you are trying to say by this. Your initial email stated
On Saturday 27 August 2011 19:43:05 Ilya Chernykh wrote: that they have been removed, now you say it did not change. Was it because of a typo? What are you trying to tell us?
My contribution to this thread was simply that pkg-config should be used instead of hard coded -I paths, so these issues never arise, no matter what a packager decides to do
Anders Anders, this is typically what happens for some of the header files. They are part of another header file which fails to find them. /usr/include/glib-2.0/glib/gtypes.h has the following #include <glibconfig.h> #include <glib/gmacros.h> #include <time.h>
slipstream:/home/lancelot/ftp/aug11/GHP/ghpsdr3-alex/trunk/src/receiver # make gcc -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -g -O3 -msse -msse3 -ffast-math -Wall -c -o agc.o agc.c In file included from /usr/include/glib-2.0/glib/galloca.h:34:0, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:25, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from agc.c:30: /usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory compilation terminated. make: *** [agc.o] Error 1 These are the includes in the Makefile:- OPTIONS=-g -O3 -msse -msse3 -ffast-math -Wall INCLUDES=-I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include\ -I/usr/include/atk-1.0 -I/usr/include/cairo\ -I/usr/include/pango-1.0 -I/usr/include/glib-2.0\ -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1\ -I/usr/include/freetype2 -I/usr/include/libpng12 \ -I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \ -I/usr/include glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found. In this case the Makefile was obviously done for Ubuntu. It's just a divergence between a Makefile prepared for Ubuntu rather than for openSUSE though it's only reared its head in the last day or so. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org