Bug#288247: gtk2.0-examples: example files need config.h which is not provided

gerhard oettl gerhard oettl <gerhard.oettl@oesoft.at>, 288247@bugs.debian.org
Sun, 02 Jan 2005 18:38:07 +0100


Package: gtk2.0-examples
Version: 2.4.13-1
Severity: normal


the example sourcefiles all have following line:
#include <config.h>

which results in error-messages like
arrow.c:2:20: config.h: No such file or directory

there was no hint where (or how) to get this config.h
and where to put it.
creating a _empty_ /usr/include/config.h resolves
the problem for me, so i think the file is not
realy necessary and the include-statement should
be removed or masked by a
#ifdef INCLUDE_CONFIG_H
  #include <config.h>
#endif


at good last let me say it is a great help for
beginners to have example sourcefiles for such a
large area as gtk is - so thank you for providing
this package

gerhard

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.18
Locale: LANG=de_AT@euro, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)

Versions of packages gtk2.0-examples depends on:
ii  libatk1.0-0               1.8.0-4        The ATK accessibility toolkit
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libfontconfig1            2.2.3-4        generic font configuration library
ii  libfreetype6              2.1.7-2.3      FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.4.8-1        The GLib library of C routines
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libpango1.0-0             1.6.0-3        Layout and rendering of internatio
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxi6                    4.3.0.dfsg.1-8 X Window System Input extension li
ii  libxrandr2                4.3.0.dfsg.1-8 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-3      compression library - runtime

-- no debconf information