Arriver au stade de la compilation de tilp2 (on se dit enfin chouette le ./configure est passé) on tombe sur une erreur incompréhensible. Je pense que plusieurs personnes ont déjà dûes avoir ce genre d'erreur:
In file included from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30:21: error: gio/gio.h: No such file or directory
In file included from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:48: error: expected specifier-qualifier-list before ‘GAppLaunchContext’
/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:55: error: expected specifier-qualifier-list before ‘GAppLaunchContextClass’
/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:70: error: expected declaration specifiers or ‘...’ before ‘GIcon’
In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:35,
from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37,
from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:222: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:226: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:234: error: expected declaration specifiers or ‘...’ before ‘GOutputStream’
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:236: error: expected declaration specifiers or ‘...’ before ‘GCancellable’
In file included from /usr/include/gtk-2.0/gtk/gtk.h:38,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkaction.h:159: error: expected declaration specifiers or ‘...’ before ‘GIcon’
/usr/include/gtk-2.0/gtk/gtkaction.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gtk/gtkbutton.h:36,
from /usr/include/gtk-2.0/gtk/gtk.h:52,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkimage.h:102: error: expected specifier-qualifier-list before ‘GIcon’
/usr/include/gtk-2.0/gtk/gtkimage.h:178: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gtk/gtkimage.h:204: error: expected declaration specifiers or ‘...’ before ‘GIcon’
/usr/include/gtk-2.0/gtk/gtkimage.h:229: error: expected declaration specifiers or ‘...’ before ‘GIcon’
In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31,
from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29,
from /usr/include/gtk-2.0/gtk/gtk.h:71,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkentry.h:251: error: expected declaration specifiers or ‘...’ before ‘GIcon’
/usr/include/gtk-2.0/gtk/gtkentry.h:260: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gtk/gtk.h:86,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:142: error: expected declaration specifiers or ‘...’ before ‘GFile’
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:145: error: expected declaration specifiers or ‘...’ before ‘GFile’
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:148: error: expected declaration specifiers or ‘...’ before ‘GFile’
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:151: error: expected declaration specifiers or ‘...’ before ‘GFile’
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:153: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gtk/gtk.h:106,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkicontheme.h:155: error: expected declaration specifiers or ‘...’ before ‘GIcon’
In file included from /usr/include/gtk-2.0/gtk/gtk.h:129,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkmountoperation.h:49: error: expected specifier-qualifier-list before ‘GMountOperation’
/usr/include/gtk-2.0/gtk/gtkmountoperation.h:56: error: expected specifier-qualifier-list before ‘GMountOperationClass’
/usr/include/gtk-2.0/gtk/gtkmountoperation.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gtk/gtk.h:170,
from dboxes.h:4,
from tilp_calcs.c:37:
/usr/include/gtk-2.0/gtk/gtkstatusicon.h:87: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gtk/gtkstatusicon.h:98: error: expected declaration specifiers or ‘...’ before ‘GIcon’
/usr/include/gtk-2.0/gtk/gtkstatusicon.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[2]: *** [tilp-tilp_calcs.o] Error 1
make[2]: Leaving directory `/home/geogeo/Desktop/NSpire/tilp2-1.13/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/geogeo/Desktop/NSpire/tilp2-1.13'
make: *** [all] Error 2
gio.h est pourtant dans /usr/include/glib-2.0/gio. Pourquoi n'arrive-t'il pas à la trouver ?


)

. Le script de Lionel devrait être mis en gras, italique, souligné et en police 36 sur la page d'accueil de TILP parce que là franchement compiler TILP II à la mano c'est suicidaire. C'est pas la première fois que je compile des trucs sur linux. Franchement, compilé un noyau linux patché avec un cross compiler et les bons drivers c'est plus facile !!!

