Bug#258610: marked as done (libglib2.0-dev: including unkown file from gtypes.h)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 10 Jul 2004 11:18:20 -0700


Your message dated Sat, 10 Jul 2004 14:56:56 -0300
with message-id <20040710175656.GD13557@santanna.homelinux.org>
and subject line Bug#258610: libglib2.0-dev: including unkown file from gtypes.h
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Jul 2004 17:15:38 +0000
>From marc@indexdata.dk Sat Jul 10 10:15:38 2004
Return-path: <marc@indexdata.dk>
Received: from port528.ds1-brh.adsl.cybercity.dk (cromme) [212.242.239.223] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjLRq-0000fY-00; Sat, 10 Jul 2004 10:15:38 -0700
Received: from marc by cromme with local (Exim 4.32)
	id 1BjLRI-0001NL-P0; Sat, 10 Jul 2004 19:15:04 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Marc Cromme <marc@indexdata.dk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libglib2.0-dev: including unkown file from gtypes.h
X-Mailer: reportbug 2.62
Date: Sat, 10 Jul 2004 19:15:04 +0200
Message-Id: <E1BjLRI-0001NL-P0@cromme>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: libglib2.0-dev
Version: 2.4.2-1
Severity: important

When compiling  examples from the libxml++-2.6 package I got the following 
include errors, which I think originate from the  libglib2.0-dev package
(I might be wrong though ...)


cd ~/code/experiments/libxml++/examples/dom_build/
 g++ -I /usr/include/libxml++-2.6/  -I /usr/include/glibmm-2.4/ -I /usr/include/glib-2.0/ -lxml++-2.6/  -o main main.cc
In file included from /usr/include/glib-2.0/glib/gquark.h:30,
                 from /usr/include/glib-2.0/glib/gerror.h:24,
                 from /usr/include/glib-2.0/glib/gunicode.h:25,
                 from /usr/include/glibmm-2.4/glibmm/ustring.h:25,
                 from /usr/include/libxml++-2.6/libxml++/exceptions/exception.h:26,
                 from /usr/include/libxml++-2.6/libxml++/exceptions/internal_error.h:25,
                 from /usr/include/libxml++-2.6/libxml++/libxml++.h:10,
                 from main.cc:26:
/usr/include/glib-2.0/glib/gtypes.h:30:24: glibconfig.h: No such file or directory

Truely, gtypes.h includes some file glibconfig.h, which is not found on my 
system (I tried to locate it with 'find /usr/include/ -name glibconfig.h' ).

Might it miss from the  libglib2.0-dev package?? Or might the  libglib2.0-dev
package miss a dependency to some other package holding this header ??

Apologies if I might report the wrong package for a bug .. 


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.0-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libglib2.0-dev depends on:
ii  libc6-dev [libc-dev]        2.3.2.ds1-13 GNU C Library: Development Librari
ii  libglib2.0-0                2.4.2-1      The GLib library of C routines
ii  pkg-config                  0.15.0-4     Manage compile and link flags for 

-- no debconf information

---------------------------------------
Received: (at 258610-done) by bugs.debian.org; 10 Jul 2004 18:03:57 +0000
>From hs@santanna.homelinux.org Sat Jul 10 11:03:57 2004
Return-path: <hs@santanna.homelinux.org>
Received: from smtpout2.uol.com.br (smtp.uol.com.br) [200.221.11.55] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjMCb-0005fg-00; Sat, 10 Jul 2004 11:03:57 -0700
Received: from santanna.homelinux.org (200-98-53-229.tlf.dialuol.com.br [200.98.53.229])
	by scorpion2.uol.com.br (Postfix) with ESMTP id 051CBA02A
	for <258610-done@bugs.debian.org>; Sat, 10 Jul 2004 15:03:24 -0300 (BRT)
Received: by santanna.homelinux.org (Postfix, from userid 1000)
	id A457E7156D; Sat, 10 Jul 2004 14:56:56 -0300 (BRT)
Date: Sat, 10 Jul 2004 14:56:56 -0300
From: "Gustavo R. Montesino" <grmontesino@ig.com.br>
To: 258610-done@bugs.debian.org
Subject: Re: Bug#258610: libglib2.0-dev: including unkown file from gtypes.h
Message-ID: <20040710175656.GD13557@santanna.homelinux.org>
References: <E1BjLRI-0001NL-P0@cromme>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig"
Content-Disposition: inline
In-Reply-To: <E1BjLRI-0001NL-P0@cromme>
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: 258610-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--H+4ONPRPur6+Ovig
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 10, 2004 at 07:15:04PM +0200, Marc Cromme wrote:
> Package: libglib2.0-dev
> Version: 2.4.2-1
> Severity: important
>=20
> When compiling  examples from the libxml++-2.6 package I got the followin=
g=20
> include errors, which I think originate from the  libglib2.0-dev package
> (I might be wrong though ...)
>=20
>=20
> cd ~/code/experiments/libxml++/examples/dom_build/
>  g++ -I /usr/include/libxml++-2.6/  -I /usr/include/glibmm-2.4/ -I /usr/i=
nclude/glib-2.0/ -lxml++-2.6/  -o main main.cc
> In file included from /usr/include/glib-2.0/glib/gquark.h:30,
>                  from /usr/include/glib-2.0/glib/gerror.h:24,
>                  from /usr/include/glib-2.0/glib/gunicode.h:25,
>                  from /usr/include/glibmm-2.4/glibmm/ustring.h:25,
>                  from /usr/include/libxml++-2.6/libxml++/exceptions/excep=
tion.h:26,
>                  from /usr/include/libxml++-2.6/libxml++/exceptions/inter=
nal_error.h:25,
>                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:10,
>                  from main.cc:26:
> /usr/include/glib-2.0/glib/gtypes.h:30:24: glibconfig.h: No such file or =
directory
>=20
> Truely, gtypes.h includes some file glibconfig.h, which is not found on m=
y=20
> system (I tried to locate it with 'find /usr/include/ -name glibconfig.h'=
 ).
>=20
> Might it miss from the  libglib2.0-dev package?? Or might the  libglib2.0=
-dev
> package miss a dependency to some other package holding this header ??
>=20
> Apologies if I might report the wrong package for a bug ..=20

The file is included in the libglib2.0-dev, at
/usr/lib/glib-2.0/include/glibconfig.h.

You should use pkgconfig to make sure you get the right include
dirs... It would probably look like this:

$ g++ `pkg-config --cflags --libs glibmm-2.4` -o main main.cc

I'm closing this, as it isn't a bug.

--=20
Gustavo R. Montesino
GPG Key BACAB6C2

--H+4ONPRPur6+Ovig
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8C3oD4Az8LrKtsIRAp+nAKCW9NU6X8ReIEb2NENrX5ffYSdotgCgsC40
sEBOQ70tDhxQm4OgAe7aBlw=
=WlW8
-----END PGP SIGNATURE-----

--H+4ONPRPur6+Ovig--