Your message dated Wed, 18 Nov 2009 11:41:02 +0100
with message-id <1258540862.22184.1.ca...@shizuru>
and subject line Re: Bug#556898: libgtk2.0-dev: Improper directory order in
/usr/include
has caused the Debian Bug report #556898,
regarding libgtk2.0-dev: Improper directory order in /usr/include
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
556898: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556898
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgtk2.0-dev
Version: 2.18.3-1
Severity: normal
The package in question puts all headers into subdirectories of
/usr/include/gtk-2.0. When I now #include <gtk-2.0/gtk/gtk.h> gtk.h
tries to include alle its sub-headers with <gtk/...>, which as a matter
of course fails. In order to get the compiler to run properly I'll have
to circumvent its conundrum by moving gtk.h and gdk.h to /usr/include/gtk-2.0
and create symlinks on /usr/include directing any request to the aforementioned
subdirectories - which goes astray from the debian policy and will have to be
repeated
with every package upgrade, unless the package maintainers find a solution.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-dev depends on:
ii libatk1.0-dev 1.28.0-1 Development files for the ATK acce
ii libc6 2.9-19 GNU C Library: Shared libraries
ii libcairo2-dev 1.8.8-2 Development files for the Cairo 2D
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libglib2.0-dev 2.22.2-2 Development files for the GLib lib
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libgtk2.0-common 2.18.3-1 Common files for the GTK+ graphica
ii libpango1.0-dev 1.24.3-1 Development files for the Pango
ii libx11-dev 2:1.2.2-1 X11 client-side library (developme
ii libxcomposite-dev 1:0.4.0-4 X11 Composite extension library (d
ii libxcursor-dev 1:1.1.9-1 X cursor management library (devel
ii libxdamage-dev 1:1.1.1-4 X11 damaged region extension libra
ii libxext-dev 2:1.0.4-1 X11 miscellaneous extensions libra
ii libxfixes-dev 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi-dev 2:1.2.1-2 X11 Input extension library (devel
ii libxinerama-dev 2:1.0.3-2 X11 Xinerama extension library (de
ii libxml2-utils 2.7.6.dfsg-1 XML utilities
ii libxrandr-dev 2:1.3.0-2 X11 RandR extension library (devel
ii pkg-config 0.22-1 manage compile and link flags for
Versions of packages libgtk2.0-dev recommends:
ii debhelper 7.4.3 helper programs for debian/rules
ii python 2.5.4-2 An interactive high-level object-o
Versions of packages libgtk2.0-dev suggests:
ii libgtk2.0-doc 2.18.3-1 Documentation for the GTK+ graphic
-- no debconf information
--- End Message ---
--- Begin Message ---
Le mercredi 18 novembre 2009 à 06:09 +0100, Martin H. Thomas a écrit :
> The package in question puts all headers into subdirectories of
> /usr/include/gtk-2.0. When I now #include <gtk-2.0/gtk/gtk.h> gtk.h
> tries to include alle its sub-headers with <gtk/...>, which as a matter
> of course fails. In order to get the compiler to run properly I'll have
> to circumvent its conundrum by moving gtk.h and gdk.h to /usr/include/gtk-2.0
> and create symlinks on /usr/include directing any request to the
> aforementioned
> subdirectories - which goes astray from the debian policy and will have to be
> repeated
> with every package upgrade, unless the package maintainers find a solution.
Wow. Amazing.
How about reading the documentation and use the appropriate pkg-config
commands to obtain your CFLAGS instead of doing whatever crap in
your /usr/include?
$ pkg-config --cflags gtk+-2.0
-D_REENTRANT -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Cheers,
--
.''`. Josselin Mouette
: :' :
`. `' “I recommend you to learn English in hope that you in
`- future understand things” -- Jörg Schilling
signature.asc
Description: Ceci est une partie de message numériquement signée
--- End Message ---