Nous sommes le Jeu 19 Juin, 2025 22:00
Supprimer les cookies

compilation gtkguitune

Au quotidien encore quelques soucis ?

Dim 25 Sep, 2005 13:10

Bonjour, je suis sous slackware 10.2, et comme le titre l'indique j'ai un problème de compilation pour gtkguitune 0.7:

[jul@darkstar:~/tmp/gtkguitune-0.7] $ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether ln -s works... (cached) yes
checking for main in -lX11... (cached) no
checking for main in -lXext... (cached) no
checking for main in -lXi... (cached) no
checking for main in -ldl... (cached) yes
checking for main in -lgdk... (cached) yes
checking for main in -lgdkmm... (cached) no
checking for main in -lglib... (cached) yes
checking for main in -lgmodule... (cached) yes
checking for main in -lgthread... (cached) yes
checking for main in -lgtk... (cached) yes
checking for main in -lgtkmm... (cached) no
checking for main in -libs... (cached) no
checking for main in -lm... (cached) yes
checking for main in -lpthread... (cached) yes
checking for main in -lsigc... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking whether gcc needs -traditional... (cached) no
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged


[jul@darkstar:~/tmp/gtkguitune-0.7] $ make
c++ -DHAVE_CONFIG_H -I. -I. -I. `gtkmm-config --cflags` -g -O2 -c main.cc
/bin/sh: gtkmm-config: command not found
main.cc:29:21: gtk/gtk.h: No such file or directory
main.cc:30:26: gtk--/window.h: No such file or directory
main.cc:31:27: gtk--/menubar.h: No such file or directory
main.cc:32:24: gtk--/menu.h: No such file or directory
main.cc:33:24: gtk--/main.h: No such file or directory
main.cc:34:23: gtk--/box.h: No such file or directory
In file included from main.cc:38:
aboutbox.h:2:21: gtk/gtk.h: No such file or directory
In file included from main.cc:40:
guitune.h:23:29: gtk--/container.h: No such file or directory
guitune.h:24:23: gtk--/box.h: No such file or directory
guitune.h:25:25: gtk--/label.h: No such file or directory
guitune.h:26:30: gtk--/adjustment.h: No such file or directory
guitune.h:27:31: gtk--/checkbutton.h: No such file or directory
In file included from guitune.h:29,
from main.cc:40:
osziview.h:20:31: gtk--/drawingarea.h: No such file or directory
In file included from guitune.h:29,
from main.cc:40:
osziview.h:23: error: `Gtk' is not a class or namespace
osziview.h:24: error: `DrawingArea' is not a class or namespace
osziview.h:24: error: invalid base-class specification
osziview.h:45: error: `GdkEventExpose' was not declared in this scope
osziview.h:45: error: `p0' was not declared in this scope
osziview.h:45: error: 'gint' is used as a type, but is not defined as a type.
osziview.h:58: error: 'Gdk_GC' is used as a type, but is not defined as a type.
osziview.h:59: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:60: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:61: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:62: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:63: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:64: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:65: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
In file included from guitune.h:30,
from main.cc:40:
logview.h:24:31: gtk--/drawingarea.h: No such file or directory
In file included from guitune.h:30,
from main.cc:40:
logview.h:30: error: `Gtk' is not a class or namespace
logview.h:31: error: `DrawingArea' is not a class or namespace
logview.h:31: error: invalid base-class specification
logview.h:52: error: `GdkEventExpose' was not declared in this scope
logview.h:52: error: `p0' was not declared in this scope
logview.h:52: error: 'gint' is used as a type, but is not defined as a type.
logview.h:54: error: `GdkEventButton' was not declared in this scope
logview.h:54: error: `p0' was not declared in this scope
logview.h:54: error: 'gint' is used as a type, but is not defined as a type.
logview.h:65: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:66: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:67: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:68: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:69: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:70: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:71: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:72: error: 'Gdk_GC' is used as a type, but is not defined as a type.
In file included from guitune.h:31,
from main.cc:40:
lcdview.h:25:31: gtk--/drawingarea.h: No such file or directory
lcdview.h:26:25: gtk--/style.h: No such file or directory
lcdview.h:27:25: gdk--/color.h: No such file or directory
In file included from guitune.h:31,
from main.cc:40:
lcdview.h:30: error: `Gtk' is not a class or namespace
lcdview.h:31: error: `DrawingArea' is not a class or namespace
lcdview.h:31: error: invalid base-class specification
lcdview.h:42: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
lcdview.h:43: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
lcdview.h:50: error: 'Gdk_GC' is used as a type, but is not defined as a type.
In file included from main.cc:40:
guitune.h:35: error: `Gtk' is not a class or namespace
guitune.h:36: error: `VBox' is not a class or namespace
guitune.h:36: error: invalid base-class specification
guitune.h:83: error: syntax error before `::' token
guitune.h:84: error: syntax error before `::' token
guitune.h:85: error: syntax error before `::' token
guitune.h:86: error: syntax error before `::' token
guitune.h:90: error: `GdkEventAny' was not declared in this scope
guitune.h:90: error: `event' was not declared in this scope
guitune.h:90: error: invalid data member initialization
guitune.h:90: error: (use `=' to initialize static data members)
main.cc:42: error: syntax error before `::' token
main.cc:46: error: syntax error before `::' token
main.cc: In function `void process_option(int)':
main.cc:116: error: `exit' undeclared (first use this function)
main.cc:116: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc: In function `int load_config(char***, int*, char**, int)':
main.cc:150: error: `getenv' undeclared (first use this function)
main.cc:172: error: `malloc' undeclared (first use this function)
main.cc: In function `void destroy_cb()':
main.cc:212: error: `Gtk' undeclared (first use this function)
main.cc:212: error: syntax error before `::' token
main.cc: In function `void setRecInput()':
main.cc:223: error: syntax error before `::' token
main.cc:223: error: `menu_input_rec' undeclared (first use this function)
main.cc: In function `int main(int, char**)':
main.cc:269: error: syntax error before `::' token
main.cc:273: error: `set_usize' undeclared (first use this function)
main.cc:282: error: syntax error before `::' token
main.cc:286: error: `<type error>' is not a namespace
main.cc:287: error: namespace `Menu_Helpers' undeclared
main.cc:290: error: `Menu' undeclared (first use this function)
main.cc:290: error: `menu_file' undeclared (first use this function)
main.cc:290: error: syntax error before `(' token
main.cc:291: error: `MenuList' undeclared (first use this function)
main.cc:291: error: `list_file' undeclared (first use this function)
main.cc:292: error: `slot' undeclared (first use this function)
main.cc:292: error: `MenuElem' undeclared (first use this function)
main.cc:296: error: `menu_tuning' undeclared (first use this function)
main.cc:296: error: syntax error before `(' token
main.cc:297: error: `list_tuning' undeclared (first use this function)
main.cc:298: error: `RadioMenuItem' undeclared (first use this function)
main.cc:298: error: syntax error before `::' token
main.cc:299: error: `gr3' undeclared (first use this function)
main.cc:300: error: `RadioMenuElem' undeclared (first use this function)
main.cc:305: error: `SeparatorElem' undeclared (first use this function)
main.cc:306: error: syntax error before `::' token
main.cc:307: error: `gr2' undeclared (first use this function)
main.cc:314: error: `menu_scale' undeclared (first use this function)
main.cc:314: error: syntax error before `(' token
main.cc:315: error: `list_scale' undeclared (first use this function)
main.cc:316: error: syntax error before `::' token
main.cc:317: error: `gr1' undeclared (first use this function)
main.cc:328: error: syntax error before `(' token
main.cc:329: error: `list_input_rec' undeclared (first use this function)
main.cc:330: error: syntax error before `::' token
main.cc:345: error: `gr0' undeclared (first use this function)
main.cc:356: error: `menu_options' undeclared (first use this function)
main.cc:356: error: syntax error before `(' token
main.cc:357: error: `list_opt' undeclared (first use this function)
main.cc:363: error: `menu_help' undeclared (first use this function)
main.cc:363: error: syntax error before `(' token
main.cc:364: error: `list_help' undeclared (first use this function)
main.cc:374: error: `list_bar' undeclared (first use this function)
main.cc:374: error: `menubar' undeclared (first use this function)
main.cc:383: error: syntax error before `::' token
main.cc:384: error: `vbox' undeclared (first use this function)
main.cc:391: error: syntax error before `::' token
main.cc:393: error: `win' undeclared (first use this function)
main.cc:400: error: `kit' undeclared (first use this function)
make: *** [main.o] Error 1

C'est quoi gtkmm ? gtk+ 2.2.6.7 est installer.
Si on peut m'aider.
transpi

Messages : 112

Dim 25 Sep, 2005 14:49

Il n a pas l air de trouver la bibliotheque gtk...

Saurais-tu verifier si gtk.h existe sur ton ordi ( $updatedb && locate gtk.h )
chez moi ca donne ca :
$locate gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-1.2/gtk/gtk.h

si il ne les trouve pas dans le dossier include, c'est que la bibliotheque n'a pas ete installée au bon endroit donc soit tu spécifie le chemin toi même soit tu réinstalles gtk avec toutes les options par defaut

si il ne trouve pas du tout de gtk.h, c'est qu'il est mal installé

Voila en espérant que ca peut t'aider ...
TribesTom

Messages : 12

Dim 25 Sep, 2005 15:40

je trouve les même chose que toi:

[jul@darkstar:~] $ locate gtk.h
/usr/share/gtk-doc/html/gtk/gtk.html
/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtk.h

Sinon je débute en compilation, comment je peut lui dire que gtk est la ? ./configure -prefix=/usr/include/gtk-2.0, je ne pense pas que se soit cela.
transpi

Messages : 112

Dim 25 Sep, 2005 15:42

transpi

Messages : 112

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit