Package: libgts-dev
Version: 0.7.6+darcs110121-1.1
Severity: normal
Dears maintainer,
When I compile the file (main.c):
#include <gts.h>
#include <stdio.h>
int
main ()
{
return ((gts_major_version) || (gts_minor_version) || (gts_micro_version));
;
return 0;
}
the 1) fail and the 2) works.
1) gcc main.c `gts-config --cflags` `gts-config --libs`
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/gts.h:24,
from main.c:1:
/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h:
No such file or directory
compilation terminated.
2)gcc main.c `gts-config --cflags` `gts-config --libs` -I
/usr/lib/x86_64-linux-gnu/glib-2.0/include/
---------------
I think you must add /usr/lib/x86_64-linux-gnu/glib-2.0/include in
gts-config --cflags, with the good arch.
Thanks.
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]